From ab5aeef01805f3accb771109165ddd0637d77eca Mon Sep 17 00:00:00 2001 From: IlhamTahir Date: Wed, 25 Dec 2024 11:27:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.config.ts | 13 ++++++++++--- src/pages.json | 11 +++++++---- src/pages/home/index.vue | 16 ++++------------ 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/pages.config.ts b/pages.config.ts index 0c6cd77..f6267d7 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -8,7 +8,15 @@ export default defineUniPages({ '^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue', }, }, + entryPagePath: 'pages/home/index', pages: [ + { + path: 'pages/home/index', + type: 'page', + style: { + navigationBarTitleText: '首页', + }, + }, { path: 'pages/feed-calculator/index', type: 'page', @@ -23,7 +31,6 @@ export default defineUniPages({ navigationBarTitleText: '喂养计划', }, }, - { path: 'pages/me/index', type: 'page', @@ -83,12 +90,12 @@ export default defineUniPages({ }, ], globalStyle: { - backgroundColor: '@bgColor', + backgroundColor: '#fff', backgroundColorBottom: '@bgColorBottom', backgroundColorTop: '@bgColorTop', backgroundTextStyle: '@bgTxtStyle', navigationBarBackgroundColor: '#fff', navigationBarTextStyle: 'black', - navigationBarTitleText: 'Vitesse-Uni', + navigationBarTitleText: '布兰德宠物喂养助手', }, }) diff --git a/src/pages.json b/src/pages.json index 70d83dc..9086138 100644 --- a/src/pages.json +++ b/src/pages.json @@ -5,6 +5,7 @@ "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" } }, + "entryPagePath": "pages/home/index", "pages": [ { "path": "pages/feed-calculator/index", @@ -23,7 +24,9 @@ { "path": "pages/home/index", "type": "page", - "style": {} + "style": { + "navigationBarTitleText": "首页" + } }, { "path": "pages/me/index", @@ -93,14 +96,14 @@ } ], "globalStyle": { - "backgroundColor": "@bgColor", + "backgroundColor": "#fff", "backgroundColorBottom": "@bgColorBottom", "backgroundColorTop": "@bgColorTop", "backgroundTextStyle": "@bgTxtStyle", "navigationBarBackgroundColor": "#fff", "navigationBarTextStyle": "black", - "navigationBarTitleText": "Vitesse-Uni" + "navigationBarTitleText": "布兰德宠物喂养助手" }, "__esModule": true, "subPackages": [] -} +} \ No newline at end of file diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index a6b4c56..4f7061c 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -40,18 +40,10 @@ function startFiling() { - - - + + 下拉了解详情