diff --git a/pages/index/index.vue b/pages/index/index.vue index c166dec..fc8bf14 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -63,7 +63,7 @@ - + 验券 @@ -141,6 +141,12 @@ }) }, numberCheck(){ + if(!uni.getStorageSync("token")) { + uni.navigateTo({ + url: "/pages/login/login" + }) + return ; + } this.$api.numberCheck({number:this.scanCode, storeId: this.tuijianlist[0].id}).then(res=>{ if(res.code==200){ uni.showToast({ diff --git a/pages/user/index.vue b/pages/user/index.vue index 4c3e9ca..d0d7381 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -42,18 +42,20 @@ - - - - - 会员套餐 - - - 9.9元套餐 - 7天 +