From b881b79384aa10a5ebc4b482f918649ec748345b Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Sun, 8 Mar 2026 23:42:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=87=8D=E6=9E=84=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E9=A1=B5=E9=9D=A2=E5=B9=B6=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/custom-navbar/index.vue | 22 +- src/pages.json | 19 + src/pages/mine/index.vue | 1244 +++++++++++++++--------- src/pages/mine/profile/index.vue | 107 +- src/static/images/official-bg.png | Bin 0 -> 119000 bytes src/static/images/official-bg.svg | 63 ++ src/styles/index.scss | 19 +- 7 files changed, 960 insertions(+), 514 deletions(-) create mode 100644 src/static/images/official-bg.png create mode 100644 src/static/images/official-bg.svg diff --git a/src/components/custom-navbar/index.vue b/src/components/custom-navbar/index.vue index 02e17e5..0c78380 100644 --- a/src/components/custom-navbar/index.vue +++ b/src/components/custom-navbar/index.vue @@ -30,6 +30,7 @@ + @@ -91,6 +92,18 @@ const menuButtonWidth = computed(() => navbar.menuButtonWidth.value); const menuButtonRightGap = computed(() => navbar.menuButtonRightGap.value); const menuButtonLeft = computed(() => navbar.menuButtonLeft.value); +const capsuleSpaceWidth = computed(() => { + let width = 0; + // #ifdef MP-WEIXIN + if (menuButtonWidth.value > 0) { + width = menuButtonWidth.value + menuButtonRightGap.value; + } + // #endif + return width; +}); + +const rightContentWidth = computed(() => 96); + const leftWidth = computed(() => { let width = 80; // #ifdef MP-WEIXIN @@ -102,9 +115,7 @@ const leftWidth = computed(() => { const rightWidth = computed(() => { let width = 80; // #ifdef MP-WEIXIN - if (menuButtonWidth.value > 0) { - width = menuButtonWidth.value + menuButtonRightGap.value * 2; - } + width = capsuleSpaceWidth.value + rightContentWidth.value; // #endif return width; }); @@ -209,4 +220,9 @@ export default { align-items: center; justify-content: flex-end; } + +.custom-navbar__capsule-space { + flex: 0 0 auto; + height: 1px; +} diff --git a/src/pages.json b/src/pages.json index e056a25..427acf4 100644 --- a/src/pages.json +++ b/src/pages.json @@ -44,6 +44,17 @@ "path": "pages/mine/account/index", "type": "page" }, + { + "path": "pages/mine/feedback/index", + "type": "page", + "name": "feedback", + "style": { + "navigationBarTitleText": "意见反馈" + }, + "meta": { + "requireAuth": true + } + }, { "path": "pages/mine/official/index", "type": "page", @@ -60,6 +71,14 @@ "path": "pages/mine/profile/index", "type": "page" }, + { + "path": "pages/mine/settings/index", + "type": "page", + "name": "settings", + "style": { + "navigationBarTitleText": "设置" + } + }, { "path": "pages/work/config/index", "type": "page", diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue index 3c1d663..3637b4e 100644 --- a/src/pages/mine/index.vue +++ b/src/pages/mine/index.vue @@ -1,169 +1,167 @@ @@ -187,7 +184,8 @@ diff --git a/src/pages/mine/profile/index.vue b/src/pages/mine/profile/index.vue index 1c7b92b..f85059c 100644 --- a/src/pages/mine/profile/index.vue +++ b/src/pages/mine/profile/index.vue @@ -1,43 +1,54 @@