优惠券弹窗不关闭
This commit is contained in:
parent
def8f0cf1b
commit
282502a8d6
@ -285,7 +285,8 @@
|
|||||||
nomore: '实在没有了'
|
nomore: '实在没有了'
|
||||||
},
|
},
|
||||||
showCoupon: false,
|
showCoupon: false,
|
||||||
newMemberCoupon: {},
|
newMemberCoupon: {},
|
||||||
|
exchangestate:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@ -294,15 +295,19 @@
|
|||||||
indexad,
|
indexad,
|
||||||
darenItem
|
darenItem
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
// 页面返回,页面登陆的情况下检查是否显示领取优惠卷优惠券弹窗
|
||||||
|
if(this.exchangestate==true){
|
||||||
|
this.isNewmembervoucher()
|
||||||
|
}
|
||||||
this.articleList = [];
|
this.articleList = [];
|
||||||
this.page = 0;
|
this.page = 0;
|
||||||
this.getArticlelist();
|
this.getArticlelist();
|
||||||
this.getSwiper();
|
this.getSwiper();
|
||||||
},
|
},
|
||||||
onLoad(){
|
onLoad(){
|
||||||
if(this.$store.state.hasLogin){
|
if(this.$store.state.hasLogin){
|
||||||
this.isNewmembervoucher();
|
this.exchangestate = true
|
||||||
const user = uni.getStorageSync('user_info');
|
const user = uni.getStorageSync('user_info');
|
||||||
console.log(user)
|
console.log(user)
|
||||||
this.imService.login(user.member.member_id,user.member.member_nickname,user.member.member_avatar)
|
this.imService.login(user.member.member_id,user.member.member_nickname,user.member.member_avatar)
|
||||||
|
Loading…
Reference in New Issue
Block a user