feat: 路由管理

This commit is contained in:
anonymous
2024-12-27 14:37:17 +08:00
parent 8d6a9f3eec
commit 06679d50e2
15 changed files with 208 additions and 43 deletions
+10 -10
View File
@@ -1,7 +1,7 @@
{
"globalStyle": {
"navigationStyle": "default",
"navigationBarTitleText": "unibest",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#f8f8f8",
"navigationBarTextStyle": "black",
"backgroundColor": "#FFFFFF"
@@ -50,14 +50,6 @@
]
},
"pages": [
{
"path": "pages/login/index",
"type": "home",
"style": {
"navigationBarTitleText": "登录",
"navigationStyle": "custom"
}
},
{
"path": "pages/invest/index",
"type": "home",
@@ -82,6 +74,15 @@
"navigationBarTitleText": "房屋"
}
},
{
"path": "pages/login/index",
"type": "page",
"style": {
"navigationBarTitleText": "登录",
"navigationStyle": "custom"
},
"notNeedLogin": false
},
{
"path": "pages/my/index",
"type": "page",
@@ -98,7 +99,6 @@
{
"path": "demo/index",
"type": "page",
"needLogin": true,
"style": {
"navigationBarTitleText": "分包页面 标题"
}