feat: 切换至自定义 tabbar 模式并且编写页面使用 tabbar

This commit is contained in:
熊熊熊子路
2026-01-14 15:46:22 +08:00
parent 331b0383e3
commit 0bb60ea59a
17 changed files with 253 additions and 1 deletions
+33 -1
View File
@@ -1,11 +1,43 @@
{
"pages": ["pages/date/date", "pages/login/login", "pages/index/index"],
"pages": [
"pages/date/date",
"pages/login/login",
"pages/index/index",
"pages/one/index",
"pages/two/index",
"pages/three/index",
"pages/four/index"
],
"window": {
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTitleText": "My Weapp Template"
},
"tabBar": {
"custom": true,
"color": "#000000",
"selectedColor": "#000000",
"backgroundColor": "#000000",
"list": [
{
"pagePath": "pages/one/index",
"text": "页面一"
},
{
"pagePath": "pages/two/index",
"text": "页面二"
},
{
"pagePath": "pages/three/index",
"text": "页面三"
},
{
"pagePath": "pages/four/index",
"text": "页面四"
}
]
},
"style": "v2",
"renderer": "webview",
"componentFramework": "glass-easel",