From b642a7d5e79f173719a0ce7af962d41c81e3488c Mon Sep 17 00:00:00 2001 From: anonymous Date: Fri, 27 Dec 2024 14:42:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A6=96=E9=A1=B5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 18 +++++++++--------- src/pages/house/index.vue | 2 +- src/pages/invest/index.vue | 2 +- src/types/uni-pages.d.ts | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) 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";