diff --git a/src/pages.json b/src/pages.json index 8dff773..d20e14b 100644 --- a/src/pages.json +++ b/src/pages.json @@ -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", diff --git a/src/pages/house/index.vue b/src/pages/house/index.vue index 93dd916..3171c81 100644 --- a/src/pages/house/index.vue +++ b/src/pages/house/index.vue @@ -1,5 +1,5 @@ - + { style: { navigationStyle: 'custom', diff --git a/src/pages/invest/index.vue b/src/pages/invest/index.vue index 1ce946c..17979e4 100644 --- a/src/pages/invest/index.vue +++ b/src/pages/invest/index.vue @@ -1,5 +1,5 @@ - + { style: { navigationStyle: 'custom', diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts index 400f100..e7f26ba 100644 --- a/src/types/uni-pages.d.ts +++ b/src/types/uni-pages.d.ts @@ -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";