fix: 首页修复

This commit is contained in:
anonymous
2024-12-27 14:42:33 +08:00
parent 06679d50e2
commit b642a7d5e7
4 changed files with 13 additions and 13 deletions
+9 -9
View File
@@ -50,14 +50,6 @@
] ]
}, },
"pages": [ "pages": [
{
"path": "pages/invest/index",
"type": "home",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "投资"
}
},
{ {
"path": "pages/index/index", "path": "pages/index/index",
"type": "home", "type": "home",
@@ -68,12 +60,20 @@
}, },
{ {
"path": "pages/house/index", "path": "pages/house/index",
"type": "home", "type": "page",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTitleText": "房屋" "navigationBarTitleText": "房屋"
} }
}, },
{
"path": "pages/invest/index",
"type": "page",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "投资"
}
},
{ {
"path": "pages/login/index", "path": "pages/login/index",
"type": "page", "type": "page",
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- 使用 type="home" 属性设置首页其他页面不需要设置默认为page推荐使用json5更强大且允许注释 --> <!-- 使用 type="home" 属性设置首页其他页面不需要设置默认为page推荐使用json5更强大且允许注释 -->
<route lang="json5" type="home"> <route lang="json5">
{ {
style: { style: {
navigationStyle: 'custom', navigationStyle: 'custom',
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- 使用 type="home" 属性设置首页其他页面不需要设置默认为page推荐使用json5更强大且允许注释 --> <!-- 使用 type="home" 属性设置首页其他页面不需要设置默认为page推荐使用json5更强大且允许注释 -->
<route lang="json5" type="home"> <route lang="json5">
{ {
style: { style: {
navigationStyle: 'custom', navigationStyle: 'custom',
+2 -2
View File
@@ -4,9 +4,9 @@
// Generated by vite-plugin-uni-pages // Generated by vite-plugin-uni-pages
interface NavigateToOptions { interface NavigateToOptions {
url: "/pages/invest/index" | url: "/pages/index/index" |
"/pages/index/index" |
"/pages/house/index" | "/pages/house/index" |
"/pages/invest/index" |
"/pages/login/index" | "/pages/login/index" |
"/pages/my/index" | "/pages/my/index" |
"/pages-sub/demo/index"; "/pages-sub/demo/index";