修复小程序模式下的一些异常,以及页面跳转错误
parent
d371d016f7
commit
000b73c476
|
@ -340,7 +340,7 @@
|
|||
qrcodeSize: 600, // 二维码的大小
|
||||
promotionCode: '', // 二维码图片
|
||||
imgTop: '', // 商品图片的 base64 码
|
||||
errT: '', // 获得小程序码失败的提示文本
|
||||
errT: '获取海报失败', // 获得小程序码失败的提示文本
|
||||
posters: false, // 分享弹窗的开关
|
||||
weixinStatus: false, // 微信分享是否打开
|
||||
canvasStatus: false, // 是否显示海报
|
||||
|
@ -854,7 +854,7 @@
|
|||
let data = {
|
||||
pid: this.uid,
|
||||
id: this.id,
|
||||
path: 'pages/activity/goods_seckill_details/index'
|
||||
path: 'pages/activity/goods_combination_details/index'
|
||||
}
|
||||
getQrcode(data).then(res=>{
|
||||
base64src(res.data.code, res => {
|
||||
|
|
|
@ -869,11 +869,11 @@
|
|||
});
|
||||
} else if (activity.type === 2) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/activity/goods_bargain_details/index?id=${this.id}&startBargainUid=${this.uid}`
|
||||
url: `/pages/activity/goods_bargain_details/index?id=${activity.id}&startBargainUid=${this.uid}`
|
||||
});
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: `/pages/activity/goods_combination_details/index?id=${this.id}`
|
||||
url: `/pages/activity/goods_combination_details/index?id=${activity.id}`
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
<block v-for="(item,index) in menus" :key="index">
|
||||
<navigator class="item" :url="item.url" hover-class="none"
|
||||
v-if="!(item.url ==='/pages/service/index'
|
||||
|| (item.url === '/pages/users/user_spread_user/index' && brokerageUser && brokerageUser.enabled))">
|
||||
|| (item.url === '/pages/users/user_spread_user/index' && brokerageUser && !brokerageUser.brokerageEnabled))">
|
||||
<image :src="item.picUrl"></image>
|
||||
<text>{{ item.name }}</text>
|
||||
</navigator>
|
||||
|
|
|
@ -399,8 +399,8 @@
|
|||
getCouponList: function() {
|
||||
CouponApi.getMatchCouponList({
|
||||
price: this.orderInfoVo.price.payPrice,
|
||||
spuIds: this.orderInfoVo.items.map(item => item.spuId),
|
||||
skuIds: this.orderInfoVo.items.map(item => item.skuId),
|
||||
spuIds: this.orderInfoVo.items.map(item => item.spuId).join(","),
|
||||
skuIds: this.orderInfoVo.items.map(item => item.skuId).join(","),
|
||||
categoryIds: this.orderInfoVo.items.map(item => item.categoryId)
|
||||
}).then(res => {
|
||||
this.$set(this.coupon, 'list', res.data);
|
||||
|
|
|
@ -193,6 +193,10 @@
|
|||
this.$store.commit("LOGIN", {
|
||||
'token': data.accessToken
|
||||
});
|
||||
// 保存opendId用于支付
|
||||
this.$store.commit("OPENID", data.openId);
|
||||
// 设置当前userId
|
||||
this.$store.commit("SETUID", data.userId);
|
||||
this.getUserInfo();
|
||||
this.bindBrokerUser();
|
||||
}).catch(e => {
|
||||
|
|
Loading…
Reference in New Issue