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 0000000..7b64fd2 Binary files /dev/null and b/src/static/tabbar/home-active.png differ diff --git a/src/static/tabbar/home.png b/src/static/tabbar/home.png new file mode 100644 index 0000000..7b64fd2 Binary files /dev/null and b/src/static/tabbar/home.png differ diff --git a/src/static/tabbar/profile-active.png b/src/static/tabbar/profile-active.png new file mode 100644 index 0000000..7b64fd2 Binary files /dev/null and b/src/static/tabbar/profile-active.png differ diff --git a/src/static/tabbar/profile.png b/src/static/tabbar/profile.png new file mode 100644 index 0000000..7b64fd2 Binary files /dev/null and b/src/static/tabbar/profile.png differ