From 37be873c3acfe5aed6a8edac2aa3a73b50a15eb6 Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Sun, 14 Jun 2026 17:26:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=87=8D=E5=86=99=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=88=86=E5=8C=85?= =?UTF-8?q?=E5=92=8C=20TabBar=20+=20=E5=85=B1=E4=BA=AB=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- src/packages/user/pages/card/activate.vue | 3 + src/packages/user/pages/card/bind.vue | 3 + src/packages/user/pages/card/buy.vue | 3 + src/packages/user/pages/card/detail.vue | 3 + src/packages/user/pages/card/list.vue | 3 + src/packages/user/pages/card/qrcode.vue | 3 + src/packages/user/pages/index/index.vue | 3 + src/packages/user/pages/profile/index.vue | 3 + src/pages.json | 155 ++++++++++++++-------- src/static/tabbar/home-active.png | Bin 0 -> 67 bytes src/static/tabbar/home.png | Bin 0 -> 67 bytes src/static/tabbar/profile-active.png | Bin 0 -> 67 bytes src/static/tabbar/profile.png | Bin 0 -> 67 bytes 13 files changed, 125 insertions(+), 54 deletions(-) create mode 100644 src/packages/user/pages/card/activate.vue create mode 100644 src/packages/user/pages/card/bind.vue create mode 100644 src/packages/user/pages/card/buy.vue create mode 100644 src/packages/user/pages/card/detail.vue create mode 100644 src/packages/user/pages/card/list.vue create mode 100644 src/packages/user/pages/card/qrcode.vue create mode 100644 src/packages/user/pages/index/index.vue create mode 100644 src/packages/user/pages/profile/index.vue create mode 100644 src/static/tabbar/home-active.png create mode 100644 src/static/tabbar/home.png create mode 100644 src/static/tabbar/profile-active.png create mode 100644 src/static/tabbar/profile.png diff --git a/src/packages/user/pages/card/activate.vue b/src/packages/user/pages/card/activate.vue new file mode 100644 index 0000000..ea4a150 --- /dev/null +++ b/src/packages/user/pages/card/activate.vue @@ -0,0 +1,3 @@ + diff --git a/src/packages/user/pages/card/bind.vue b/src/packages/user/pages/card/bind.vue new file mode 100644 index 0000000..ea4a150 --- /dev/null +++ b/src/packages/user/pages/card/bind.vue @@ -0,0 +1,3 @@ + diff --git a/src/packages/user/pages/card/buy.vue b/src/packages/user/pages/card/buy.vue new file mode 100644 index 0000000..ea4a150 --- /dev/null +++ b/src/packages/user/pages/card/buy.vue @@ -0,0 +1,3 @@ + diff --git a/src/packages/user/pages/card/detail.vue b/src/packages/user/pages/card/detail.vue new file mode 100644 index 0000000..ea4a150 --- /dev/null +++ b/src/packages/user/pages/card/detail.vue @@ -0,0 +1,3 @@ + diff --git a/src/packages/user/pages/card/list.vue b/src/packages/user/pages/card/list.vue new file mode 100644 index 0000000..ea4a150 --- /dev/null +++ b/src/packages/user/pages/card/list.vue @@ -0,0 +1,3 @@ + diff --git a/src/packages/user/pages/card/qrcode.vue b/src/packages/user/pages/card/qrcode.vue new file mode 100644 index 0000000..ea4a150 --- /dev/null +++ b/src/packages/user/pages/card/qrcode.vue @@ -0,0 +1,3 @@ + diff --git a/src/packages/user/pages/index/index.vue b/src/packages/user/pages/index/index.vue new file mode 100644 index 0000000..ea4a150 --- /dev/null +++ b/src/packages/user/pages/index/index.vue @@ -0,0 +1,3 @@ + diff --git a/src/packages/user/pages/profile/index.vue b/src/packages/user/pages/profile/index.vue new file mode 100644 index 0000000..ea4a150 --- /dev/null +++ b/src/packages/user/pages/profile/index.vue @@ -0,0 +1,3 @@ + diff --git a/src/pages.json b/src/pages.json index b124c2e..33a0667 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,56 +1,103 @@ { - "easycom": { - "autoscan": true, - "custom": { - "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" - } - }, - "pages": [ - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "首页" - } - }, - { - "path": "pages/login/login", - "style": { - "navigationBarTitleText": "登录" - } - }, - { - "path": "pages/profile/profile", - "style": { - "navigationBarTitleText": "个人中心" - } - }, - { - "path": "pages/logs/logs", - "style": { - "navigationBarTitleText": "日志" - } - } - ], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "zhy-test", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, - "tabBar": { - "color": "#7A7E83", - "selectedColor": "#007AFF", - "borderStyle": "black", - "backgroundColor": "#ffffff", - "list": [ - { - "pagePath": "pages/index/index", - "text": "首页" - }, - { - "pagePath": "pages/profile/profile", - "text": "我的" - } - ] - } + "easycom": { + "autoscan": true, + "custom": { + "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" + } + }, + "pages": [ + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "湖南12301" + } + }, + { + "path": "pages/login/login", + "style": { + "navigationBarTitleText": "登录" + } + } + ], + "subPackages": [ + { + "root": "packages/user", + "pages": [ + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "文旅专区" + } + }, + { + "path": "pages/card/list", + "style": { + "navigationBarTitleText": "年卡列表" + } + }, + { + "path": "pages/card/detail", + "style": { + "navigationBarTitleText": "年卡详情" + } + }, + { + "path": "pages/card/buy", + "style": { + "navigationBarTitleText": "确认购买" + } + }, + { + "path": "pages/card/activate", + "style": { + "navigationBarTitleText": "激活年卡" + } + }, + { + "path": "pages/card/qrcode", + "style": { + "navigationBarTitleText": "入园码" + } + }, + { + "path": "pages/card/bind", + "style": { + "navigationBarTitleText": "绑定年卡" + } + }, + { + "path": "pages/profile/index", + "style": { + "navigationBarTitleText": "个人中心" + } + } + ] + } + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "湖南12301", + "navigationBarBackgroundColor": "#FFFFFF", + "backgroundColor": "#F5F5F5" + }, + "tabBar": { + "color": "#7A7E83", + "selectedColor": "#4A90D9", + "borderStyle": "white", + "backgroundColor": "#ffffff", + "list": [ + { + "pagePath": "packages/user/pages/index/index", + "text": "首页", + "iconPath": "static/tabbar/home.png", + "selectedIconPath": "static/tabbar/home-active.png" + }, + { + "pagePath": "packages/user/pages/profile/index", + "text": "我的", + "iconPath": "static/tabbar/profile.png", + "selectedIconPath": "static/tabbar/profile-active.png" + } + ] + } } diff --git a/src/static/tabbar/home-active.png b/src/static/tabbar/home-active.png new file mode 100644 index 0000000000000000000000000000000000000000..7b64fd2cabc770b3f923ffcd2161ad3526d39751 GIT binary patch literal 67 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx1SBVv2j2ryJf1F&Ar*6yfA9k(7#Ub4ZukL3 O89ZJ6T-G@yGywp6LJb7~ literal 0 HcmV?d00001 diff --git a/src/static/tabbar/home.png b/src/static/tabbar/home.png new file mode 100644 index 0000000000000000000000000000000000000000..7b64fd2cabc770b3f923ffcd2161ad3526d39751 GIT binary patch literal 67 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx1SBVv2j2ryJf1F&Ar*6yfA9k(7#Ub4ZukL3 O89ZJ6T-G@yGywp6LJb7~ literal 0 HcmV?d00001 diff --git a/src/static/tabbar/profile-active.png b/src/static/tabbar/profile-active.png new file mode 100644 index 0000000000000000000000000000000000000000..7b64fd2cabc770b3f923ffcd2161ad3526d39751 GIT binary patch literal 67 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx1SBVv2j2ryJf1F&Ar*6yfA9k(7#Ub4ZukL3 O89ZJ6T-G@yGywp6LJb7~ literal 0 HcmV?d00001 diff --git a/src/static/tabbar/profile.png b/src/static/tabbar/profile.png new file mode 100644 index 0000000000000000000000000000000000000000..7b64fd2cabc770b3f923ffcd2161ad3526d39751 GIT binary patch literal 67 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx1SBVv2j2ryJf1F&Ar*6yfA9k(7#Ub4ZukL3 O89ZJ6T-G@yGywp6LJb7~ literal 0 HcmV?d00001