- 移除动态主题切换功能,改为全局统一深色主题 - 实现自定义TabBar组件替换原生tabBar,解决iOS闪白问题 - 创建main容器页面统一管理三个tab页面的生命周期和状态 - 将所有页面的onShow/onHide等生命周期方法迁移到子组件内部 - 更新页面路径从index改为main,并调整路由跳转逻辑 - 移除theme-mixin和相关主题工具函数 - 统一页面背景色设置,优化用户体验一致性
128 lines
2.6 KiB
JSON
128 lines
2.6 KiB
JSON
{
|
|
"pages": [
|
|
{
|
|
"path": "pages/main/main",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "",
|
|
"backgroundColor": "#0B0B14",
|
|
"backgroundColorTop": "#0B0B14",
|
|
"backgroundColorBottom": "#0B0B14"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/onboarding/onboarding",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/login/login",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/record/record",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/card/card",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/share-profile/share-profile",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/circle-detail/circle-detail",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/circle-publish/circle-publish",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/friends/friends",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/event-create/event-create",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/event-detail/event-detail",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/games/games",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/chat-list/chat-list",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "",
|
|
"backgroundColor": "#0B0B14",
|
|
"backgroundColorTop": "#0B0B14",
|
|
"backgroundColorBottom": "#0B0B14"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/chat/chat",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "",
|
|
"backgroundColor": "#0B0B14",
|
|
"backgroundColorTop": "#0B0B14",
|
|
"backgroundColorBottom": "#0B0B14"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/agreement/agreement",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "white",
|
|
"navigationBarTitleText": "碰盏日记",
|
|
"navigationBarBackgroundColor": "#0B0B14",
|
|
"backgroundColor": "#0B0B14",
|
|
"backgroundColorTop": "#0B0B14",
|
|
"backgroundColorBottom": "#0B0B14"
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|