fix: 首页修复
This commit is contained in:
+9
-9
@@ -50,14 +50,6 @@
|
||||
]
|
||||
},
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages/invest/index",
|
||||
"type": "home",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "投资"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"type": "home",
|
||||
@@ -68,12 +60,20 @@
|
||||
},
|
||||
{
|
||||
"path": "pages/house/index",
|
||||
"type": "home",
|
||||
"type": "page",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "房屋"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/invest/index",
|
||||
"type": "page",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "投资"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/index",
|
||||
"type": "page",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- 使用 type="home" 属性设置首页,其他页面不需要设置,默认为page;推荐使用json5,更强大,且允许注释 -->
|
||||
<route lang="json5" type="home">
|
||||
<route lang="json5">
|
||||
{
|
||||
style: {
|
||||
navigationStyle: 'custom',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- 使用 type="home" 属性设置首页,其他页面不需要设置,默认为page;推荐使用json5,更强大,且允许注释 -->
|
||||
<route lang="json5" type="home">
|
||||
<route lang="json5">
|
||||
{
|
||||
style: {
|
||||
navigationStyle: 'custom',
|
||||
|
||||
Vendored
+2
-2
@@ -4,9 +4,9 @@
|
||||
// Generated by vite-plugin-uni-pages
|
||||
|
||||
interface NavigateToOptions {
|
||||
url: "/pages/invest/index" |
|
||||
"/pages/index/index" |
|
||||
url: "/pages/index/index" |
|
||||
"/pages/house/index" |
|
||||
"/pages/invest/index" |
|
||||
"/pages/login/index" |
|
||||
"/pages/my/index" |
|
||||
"/pages-sub/demo/index";
|
||||
|
||||
Reference in New Issue
Block a user