From c3a32a8e589d9041c8a0c3ebb997e399aa69f106 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Tue, 9 Dec 2025 16:27:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=E9=80=82=E9=85=8D=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 34 ++++-- src/pages/{wechat => wechat-tabbar}/index.vue | 0 .../components/scroll-list/scroll-list.vue | 106 ++++++++---------- 3 files changed, 72 insertions(+), 68 deletions(-) rename src/pages/{wechat => wechat-tabbar}/index.vue (100%) diff --git a/src/pages.json b/src/pages.json index dd9cbea8..d9904c5b 100644 --- a/src/pages.json +++ b/src/pages.json @@ -89,6 +89,13 @@ // "group": "商城" // } // }, + { + "path": "pages/wechat-tabbar/index", + "style": { + "navigationBarTitleText": "邀请福利", + "navigationStyle": "custom" + } + }, { "path": "pages/home/home", "style": { @@ -313,13 +320,6 @@ { "root": "pages/wechat", "pages": [ - { - "path": "index", - "style": { - "navigationBarTitleText": "邀请福利", - "navigationStyle": "custom" - } - }, { "path": "pages/gift/index", "style": { @@ -960,6 +960,23 @@ "selectedColor": "#D29E52", "backgroundColor": "#222222", "borderStyle": "black", + /* #ifdef MP-WEIXIN */ + "list": [ + { + "pagePath": "pages/wechat-tabbar/index", + "text": "邀请福利", + "iconPath": "static/tabbar/moments.png", + "selectedIconPath": "static/tabbar/moments-active.png" + }, + { + "pagePath": "pages/profile/profile", + "text": "我的", + "iconPath": "static/tabbar/profile.png", + "selectedIconPath": "static/tabbar/profile-active.png" + } + ], + /* #endif MP-WEIXIN */ + /* #ifndef MP-WEIXIN */ "list": [ { "pagePath": "pages/home/home", @@ -986,5 +1003,6 @@ "selectedIconPath": "static/tabbar/profile-active.png" } ] + /* #endif MP-WEIXIN */ } -} +} \ No newline at end of file diff --git a/src/pages/wechat/index.vue b/src/pages/wechat-tabbar/index.vue similarity index 100% rename from src/pages/wechat/index.vue rename to src/pages/wechat-tabbar/index.vue diff --git a/src/sheep/components/scroll-list/scroll-list.vue b/src/sheep/components/scroll-list/scroll-list.vue index b3c295b3..06df7c7c 100644 --- a/src/sheep/components/scroll-list/scroll-list.vue +++ b/src/sheep/components/scroll-list/scroll-list.vue @@ -1,75 +1,61 @@ From aa9c36a00ebe38c4ea92e3f02f2d1a250eaf5e33 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Tue, 9 Dec 2025 16:34:59 +0800 Subject: [PATCH 2/2] 11 --- src/pages.json | 9 ++++++++- src/pages/wechat-tabbar/me.vue | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/pages/wechat-tabbar/me.vue diff --git a/src/pages.json b/src/pages.json index d9904c5b..2a4f2e08 100644 --- a/src/pages.json +++ b/src/pages.json @@ -96,6 +96,13 @@ "navigationStyle": "custom" } }, + { + "path": "pages/wechat-tabbar/me", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom" + } + }, { "path": "pages/home/home", "style": { @@ -969,7 +976,7 @@ "selectedIconPath": "static/tabbar/moments-active.png" }, { - "pagePath": "pages/profile/profile", + "pagePath": "pages/wechat-tabbar/me", "text": "我的", "iconPath": "static/tabbar/profile.png", "selectedIconPath": "static/tabbar/profile-active.png" diff --git a/src/pages/wechat-tabbar/me.vue b/src/pages/wechat-tabbar/me.vue new file mode 100644 index 00000000..677c0e0a --- /dev/null +++ b/src/pages/wechat-tabbar/me.vue @@ -0,0 +1,8 @@ + + + \ No newline at end of file