diff --git a/src/pages.json b/src/pages.json index f5f3155..132a3ae 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,97 +1,109 @@ { - "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/index", - "style": { - "navigationBarTitleText": "个人中心" - } - } - ], - "subPackages": [ - { - "root": "packages/user", - "pages": [ - { - "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": "绑定年卡" - } - } - ] - } - ], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "湖南12301", - "navigationBarBackgroundColor": "#FFFFFF", - "backgroundColor": "#F5F5F5" - }, - "tabBar": { - "color": "#7A7E83", - "selectedColor": "#4A90D9", - "borderStyle": "white", - "backgroundColor": "#ffffff", - "list": [ - { - "pagePath": "pages/index/index", - "text": "首页", - "iconPath": "static/tabbar/home.png", - "selectedIconPath": "static/tabbar/home-active.png" - }, - { - "pagePath": "pages/profile/index", - "text": "我的", - "iconPath": "static/tabbar/profile.png", - "selectedIconPath": "static/tabbar/profile-active.png" - } - ] - } + "easycom": { + "autoscan": true, + "custom": { + "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" + } + }, + "pages": [ + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "爱上萍乡" + } + }, + { + "path": "pages/qrcode/index", + "style": { + "navigationBarTitleText": "入园码" + } + }, + { + "path": "pages/login/login", + "style": { + "navigationBarTitleText": "登录" + } + }, + { + "path": "pages/profile/index", + "style": { + "navigationBarTitleText": "个人中心" + } + } + ], + "subPackages": [ + { + "root": "packages/user", + "pages": [ + { + "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": "绑定年卡" + } + } + ] + } + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "爱上萍乡", + "navigationBarBackgroundColor": "#FFFFFF", + "backgroundColor": "#F5F5F5" + }, + "tabBar": { + "color": "#7A7E83", + "selectedColor": "#4A90D9", + "borderStyle": "white", + "backgroundColor": "#ffffff", + "list": [ + { + "pagePath": "pages/index/index", + "text": "首页", + "iconPath": "static/tabbar/home.png", + "selectedIconPath": "static/tabbar/home-active.png" + }, + { + "pagePath": "pages/qrcode/index", + "text": "入园码", + "iconPath": "static/tabbar/qrcode.png", + "selectedIconPath": "static/tabbar/qrcode-active.png" + }, + { + "pagePath": "pages/profile/index", + "text": "我的", + "iconPath": "static/tabbar/profile.png", + "selectedIconPath": "static/tabbar/profile-active.png" + } + ] + } } diff --git a/src/pages/profile/index.vue b/src/pages/profile/index.vue index 2bd19ec..a269c27 100644 --- a/src/pages/profile/index.vue +++ b/src/pages/profile/index.vue @@ -6,7 +6,7 @@ {{ userStore.userInfo?.nickname || '未登录' }} - 欢迎使用湖南12301文旅专区 + 欢迎使用爱上萍乡 点击登录 diff --git a/src/pages/qrcode/index.vue b/src/pages/qrcode/index.vue new file mode 100644 index 0000000..79d6524 --- /dev/null +++ b/src/pages/qrcode/index.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/src/static/tabbar/qrcode-active.png b/src/static/tabbar/qrcode-active.png new file mode 100644 index 0000000..7b64fd2 Binary files /dev/null and b/src/static/tabbar/qrcode-active.png differ diff --git a/src/static/tabbar/qrcode.png b/src/static/tabbar/qrcode.png new file mode 100644 index 0000000..7b64fd2 Binary files /dev/null and b/src/static/tabbar/qrcode.png differ