From c611e448586badaeb6799a3e99d8553187fc8b4c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 29 May 2024 01:29:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=99=BB=E5=BD=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 47 +------ pages/index/login.vue | 15 +- peach/api/member/auth.js | 90 ++++++------ peach/config/index.js | 27 ++-- peach/request/index.js | 2 +- peach/router/index.js | 293 ++++++++++++++++++++------------------- peach/store/user.js | 32 ++--- 7 files changed, 246 insertions(+), 260 deletions(-) diff --git a/pages.json b/pages.json index 26b4e5a..f2eec73 100644 --- a/pages.json +++ b/pages.json @@ -14,7 +14,7 @@ "navigationBarTitleText": "订单" }, "meta": { - "auth": false + "auth": true } }, { @@ -29,10 +29,10 @@ { "path": "pages/index/index", "style": { - "navigationBarTitleText": "uni-app" + "navigationBarTitleText": "首页" }, "meta": { - "auth": false + "auth": true } }, { @@ -66,50 +66,13 @@ "subPackages": [ { "root": "pages/public", - "pages": [{ - "path": "setting", - "style": { - "navigationBarTitleText": "系统设置" - }, - "meta": { - "sync": true, - "title": "系统设置", - "group": "通用" - } - }, - { - "path": "richtext", - "style": { - "navigationBarTitleText": "富文本" - }, - "meta": { - "sync": true, - "title": "富文本", - "group": "通用" - } - }, - { - "path": "faq", - "style": { - "navigationBarTitleText": "常见问题" - }, - "meta": { - "sync": true, - "title": "常见问题", - "group": "通用" - } - }, + "pages": [ + { "path": "error", "style": { "navigationBarTitleText": "错误页面" } - }, - { - "path": "webview", - "style": { - "navigationBarTitleText": "" - } } ] } diff --git a/pages/index/login.vue b/pages/index/login.vue index 3b11695..a497e30 100644 --- a/pages/index/login.vue +++ b/pages/index/login.vue @@ -39,6 +39,7 @@