From 41f0eeebc826ed77ce5f678f2306317503c8dd50 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Mon, 9 Jun 2025 12:24:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=94=A8=E6=88=B7=E4=B8=AD=E5=BF=83):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9C=AA=E7=99=BB=E5=BD=95=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=92=8C=E7=99=BB=E5=BD=95=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在用户中心页面添加未登录状态显示,包括登录提示和按钮 - 实现登录状态检查逻辑,根据token判断是否登录 - 调整页面内容显示逻辑,未登录时隐藏敏感信息 - 移除getGoodsList接口的auth配置 - 更新manifest.json中的appid --- api/api.js | 1 - manifest.json | 2 +- pages/index/center.vue | 288 +++++++++++++++++++++++++++++++++---------------- 3 files changed, 195 insertions(+), 96 deletions(-) diff --git a/api/api.js b/api/api.js index e83360f..b0f3bf3 100644 --- a/api/api.js +++ b/api/api.js @@ -362,7 +362,6 @@ const config = { getGoodsList : { url: '/token/getGoodsList', method: 'GET', - auth : true, }, // 查询我的店铺 diff --git a/manifest.json b/manifest.json index 28a1bb1..60bb4fe 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "瑶都万能强", - "appid" : "__UNI__6A04410", + "appid" : "__UNI__197A38F", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", diff --git a/pages/index/center.vue b/pages/index/center.vue index 3af618d..4b6af53 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -2,113 +2,129 @@ - - - + + + + + + + + + + + + {{ headInfo[vipList[userInfo.isPay - 1]].keyName }} + + + + + - + + + --> + + + 设置 - - - - 设置 - - - -