From c48aa6b279c2781e060299f5eb89a7e0dfcc9e78 Mon Sep 17 00:00:00 2001 From: syt <854400391@qq.com> Date: Mon, 26 Aug 2024 19:16:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 8 +++++++- pages/user/index.vue | 22 ++++++++++++---------- 2 files changed, 19 insertions(+), 11 deletions(-) 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天 +