修改bug
parent
57d27469be
commit
199094ca09
|
|
@ -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'
|
||||||
|
|
|
||||||
|
|
@ -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++) {
|
||||||
|
|
|
||||||
|
|
@ -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 => {}
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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++) {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
|
|
@ -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) => {},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue