feat: update tabBar to 3 items, add qrcode page skeleton, rename app

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
jacobxu666
2026-06-24 19:20:32 +08:00
co-authored by Claude
parent 93253f5a13
commit d1cdc53f6a
5 changed files with 120 additions and 96 deletions
+14 -2
View File
@@ -9,7 +9,13 @@
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "文旅专区"
"navigationBarTitleText": "爱上萍乡"
}
},
{
"path": "pages/qrcode/index",
"style": {
"navigationBarTitleText": "入园码"
}
},
{
@@ -70,7 +76,7 @@
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "湖南12301",
"navigationBarTitleText": "爱上萍乡",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#F5F5F5"
},
@@ -86,6 +92,12 @@
"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": "我的",
+1 -1
View File
@@ -6,7 +6,7 @@
</view>
<view class="user-info">
<text class="nickname">{{ userStore.userInfo?.nickname || '未登录' }}</text>
<text class="user-desc" v-if="userStore.isLogin">欢迎使用湖南12301文旅专区</text>
<text class="user-desc" v-if="userStore.isLogin">欢迎使用爱上萍乡</text>
<text class="user-desc" v-else @click="goLogin">点击登录</text>
</view>
</view>
+12
View File
@@ -0,0 +1,12 @@
<template>
<view class="page">
<text>入园码页面(开发中)</text>
</view>
</template>
<script setup lang="ts">
</script>
<style scoped>
.page { min-height: 100vh; background: #f5f5f5; display: flex; align-items: center; justify-content: center; }
</style>
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 B