From 2d49fbe45dac37d42ded47ee171eb97a956c61aa Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Sat, 20 Jul 2024 13:24:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=85=85=E5=80=BC=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/indexs.vue | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/pages/index/indexs.vue b/pages/index/indexs.vue index 6e80505..f913821 100644 --- a/pages/index/indexs.vue +++ b/pages/index/indexs.vue @@ -8,7 +8,7 @@ 点餐 在线点不排队 - + @@ -74,9 +74,16 @@ }, memberindex(i) { if (i == 0) { - uni.pro.navigateTo('member/memberdetails', { - shopId_id: uni.cache.get('shopUser'), - }) + if (this.usershopUserinfo.isVip == 0) { + // 跳转到开通页面 + uni.navigateTo({ + url: '/pages/member/activatedmemberone?shopId=' + uni.cache.get('shopUser') + }) + } else { + uni.pro.navigateTo('member/memberdetails', { + shopId_id: uni.cache.get('shopUser'), + }) + } } else { let data = { shopName: this.usershopUserinfo.shopName, @@ -181,7 +188,7 @@ .contentboxitemright { width: 50%; - padding:0 34rpx; + padding: 0 34rpx; .contentboxitemright_item:nth-child(2) { margin-top: 30rpx; @@ -195,6 +202,7 @@ .contentboxitemright_itembox { width: 170rpx; + text:nth-child(1) { font-family: Source Han Sans CN, Source Han Sans CN; font-weight: 400;