feat(tab): 小程序仅保留 3 个 tab:预约/测评/入驻

- app.config tabBar.list 减为 booking(预约)/test(测评)/park-apply(入驻),首页/资讯/我的移出 tab(保留为可导航页)
- custom-tab-bar LIST 同步 3 项、去居中首页 blob;selected 默认 0(预约)
- park-apply 加 useTabIndex(2) 成为 tab;首页「申请入驻」entry 改 switchTab
- 引导页改 booking(预约) 为启动 tab

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Pine
2026-08-27 16:11:39 +08:00
parent 22169108c0
commit cd2f79e264
4 changed files with 13 additions and 15 deletions
+6 -8
View File
@@ -1,7 +1,7 @@
export default {
pages: [
'pages/index/index',
'pages/booking/index',
'pages/index/index',
'pages/test/index',
'pages/policy/index',
'pages/plan/index',
@@ -26,15 +26,13 @@ export default {
tabBar: {
custom: true,
color: '#8a8a93',
selectedColor: '#ffd28a',
backgroundColor: '#000000',
borderStyle: 'black',
selectedColor: '#6284ff',
backgroundColor: '#ffffff',
borderStyle: 'white',
list: [
{ pagePath: 'pages/booking/index', text: '活动' },
{ pagePath: 'pages/booking/index', text: '预约' },
{ pagePath: 'pages/test/index', text: '测评' },
{ pagePath: 'pages/index/index', text: '首页' },
{ pagePath: 'pages/content/index', text: '资讯' },
{ pagePath: 'pages/mine/index', text: '我的' }
{ pagePath: 'pages/park-apply/index', text: '入驻' }
]
}
};