feat: migrate static pages to native tabbar

This commit is contained in:
2026-04-23 21:25:24 +08:00
parent f3cd0c3a98
commit cd30f57f2c
116 changed files with 7143 additions and 311 deletions

View File

@@ -1,6 +1,9 @@
{
"pages": [
"pages/home/index",
"pages/library/index",
"pages/ai/index",
"pages/profile/index",
"pages/login/index"
],
"subPackages": [
@@ -9,6 +12,35 @@
"pages": [
"pages/workbench/index"
]
},
{
"root": "packages/tcm",
"pages": [
"pages/ai-history/index",
"pages/assets/index",
"pages/bianzheng/index",
"pages/book-detail/index",
"pages/search-books/index",
"pages/section/index",
"pages/placeholder/index"
]
},
{
"root": "packages/mingli",
"pages": [
"pages/hall/index",
"pages/bazi/index",
"pages/book-detail/index",
"pages/search-books/index",
"pages/section/index",
"pages/interpret/index"
]
},
{
"root": "packages/learning",
"pages": [
"pages/center/index"
]
}
],
"preloadRule": {
@@ -25,6 +57,38 @@
"navigationBarBackgroundColor": "#f5f7fa",
"backgroundColor": "#f5f7fa"
},
"tabBar": {
"color": "#9f7c56",
"selectedColor": "#8f5c1f",
"backgroundColor": "#fff8ee",
"borderStyle": "white",
"list": [
{
"pagePath": "pages/home/index",
"text": "首页",
"iconPath": "pages/home/tab-home.png",
"selectedIconPath": "pages/home/tab-home-active.png"
},
{
"pagePath": "pages/library/index",
"text": "典籍",
"iconPath": "pages/library/tab-library.png",
"selectedIconPath": "pages/library/tab-library-active.png"
},
{
"pagePath": "pages/ai/index",
"text": "AI",
"iconPath": "pages/ai/tab-ai.png",
"selectedIconPath": "pages/ai/tab-ai-active.png"
},
{
"pagePath": "pages/profile/index",
"text": "我的",
"iconPath": "pages/profile/tab-profile.png",
"selectedIconPath": "pages/profile/tab-profile-active.png"
}
]
},
"networkTimeout": {
"request": 10000
},