6
0
Fork 0

修改bug

hui.zhou
h30830569 2022-06-27 10:16:15 +08:00
parent 57d27469be
commit 199094ca09
8 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
ENV = 'development' ENV = 'development'
VUE_APP_BASE_API = 'https://jiqu.zichunsheng.cn/api' VUE_APP_BASE_API = 'https://jiqu-library.peidikeji.cn/api'

View File

@ -309,7 +309,7 @@
async uploads() { async uploads() {
const resData = await this.$api.post('/v1/oss-sts'); const resData = await this.$api.post('/v1/oss-sts');
// const host = `https://${resData.bucket}.${resData.region_id}.aliyuncs.com/` // const host = `https://${resData.bucket}.${resData.region_id}.aliyuncs.com/`
const host = `https://${resData.domain}/`; const host = `https://${resData.bucket}.${resData.host}/`;
const arr = [] const arr = []
try { try {
for (let i = 0; i < this.tempFilePaths.length; i++) { for (let i = 0; i < this.tempFilePaths.length; i++) {

View File

@ -129,7 +129,7 @@
onShareAppMessage(){ onShareAppMessage(){
let code = this.user.code ? this.user.code : ''; let code = this.user.code ? this.user.code : '';
let shareObj={ let shareObj={
title:'我正在使用积趣小程序,赶紧跟我一起来体验吧!', title:'我正在使用积趣自然图书馆,赶紧跟我一起来体验吧!',
path:`/pages/index/index?invite_code=${code}`, path:`/pages/index/index?invite_code=${code}`,
imageUrl:'' imageUrl:''
} }
@ -144,7 +144,7 @@
scene: scene, scene: scene,
type: 0, type: 0,
href: `https://wap.zichunsheng.cn/register?code=${this.user.code}`, href: `https://wap.zichunsheng.cn/register?code=${this.user.code}`,
title: '我正在使用子春生APP,赶紧跟我一起来体验吧!', title: '我正在使用积趣自然图书馆,赶紧跟我一起来体验吧!',
// summary: "使APP", // summary: "使APP",
imageUrl: '/static/images/share/logs.png', imageUrl: '/static/images/share/logs.png',
success: res => {} success: res => {}

View File

@ -138,7 +138,7 @@ export default {
try { try {
const resData = await this.$api.post('/v1/oss-sts'); const resData = await this.$api.post('/v1/oss-sts');
// const host = `https://${resData.bucket}.${resData.region_id}.aliyuncs.com/`; // const host = `https://${resData.bucket}.${resData.region_id}.aliyuncs.com/`;
const host = `https://${resData.domain}/`; const host = `https://${resData.bucket}.${resData.host}/`;
var upFile = new Promise((r) => { var upFile = new Promise((r) => {
uploadImage( uploadImage(
this.user.avatar, this.user.avatar,

View File

@ -275,7 +275,7 @@ import loadingView from '../../components/loading-view/loading-view.vue';
async uploads() { async uploads() {
const resData = await this.$api.post('/v1/oss-sts'); const resData = await this.$api.post('/v1/oss-sts');
// const host = `https://${resData.bucket}.${resData.region_id}.aliyuncs.com/` // const host = `https://${resData.bucket}.${resData.region_id}.aliyuncs.com/`
const host = `https://${resData.domain}/`; const host = `https://${resData.bucket}.${resData.host}/`;
const arr = [] const arr = []
try { try {
for (let i = 0; i < this.tempFilePaths.length; i++) { for (let i = 0; i < this.tempFilePaths.length; i++) {

View File

@ -350,7 +350,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
let code = this.user.code ? this.user.code : ''; let code = this.user.code ? this.user.code : '';
let shareObj = { let shareObj = {
title: '我正在使用子春生小程序,赶紧跟我一起来体验吧!', title: '我正在使用积趣自然图书馆,赶紧跟我一起来体验吧!',
path: `/pages/index/index?invite_code=${code}`, path: `/pages/index/index?invite_code=${code}`,
}; };
return shareObj; return shareObj;

View File

@ -197,7 +197,7 @@ export default {
}, // }, //
{ {
type: 'text', type: 'text',
text: `${t.goods.market_price}`, text: `${t.goods.sell_price}`,
size: '20', size: '20',
color: '#fa3534', color: '#fa3534',
fontWeight: 'bold', fontWeight: 'bold',

View File

@ -540,7 +540,7 @@ export default {
type: 0, type: 0,
href: `https://wap.zichunsheng.cn/register?code=${code}`, href: `https://wap.zichunsheng.cn/register?code=${code}`,
title: this.detail.name, title: this.detail.name,
summary: '我正在使用子春生APP,赶紧跟我一起来体验吧!', summary: '我正在使用积趣自然图书馆,赶紧跟我一起来体验吧!',
imageUrl: `${this.detail.cover}?x-oss-process=image/resize,w_80/quality,q_90`, imageUrl: `${this.detail.cover}?x-oss-process=image/resize,w_80/quality,q_90`,
success: (res) => {}, success: (res) => {},
}); });