扫小程序码进入会员卡购买页
parent
ec2a4cc4c9
commit
4d933dee3b
|
|
@ -106,7 +106,7 @@ export default {
|
|||
return this.$u.timeFormat(this.user.vip_expired, 'yyyy-mm-dd');
|
||||
},
|
||||
},
|
||||
onLoad() {
|
||||
onShow() {
|
||||
this.getDate();
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
|
|
@ -50,6 +50,12 @@
|
|||
url: `/pageB/select_product/search?mid=${mid}&cid=${id}`
|
||||
});
|
||||
}
|
||||
// 会员购买
|
||||
else if (scene.vip) {
|
||||
uni.reLaunch({
|
||||
url: `/pageB/svip/index`
|
||||
});
|
||||
}
|
||||
// 默认跳转首页
|
||||
else {
|
||||
uni.switchTab({
|
||||
|
|
|
|||
Loading…
Reference in New Issue