From 7e6cee9d4afaef53f0ea94b85f285feb7b709aa9 Mon Sep 17 00:00:00 2001 From: IlhamTahir Date: Wed, 25 Dec 2024 10:18:00 +0800 Subject: [PATCH] fix: remove dark mode and add page nav bar --- .gitignore | 1 - src/manifest.json | 6 +++--- src/pages.json | 44 +++++++++++++++++++++++++++++++------------- 3 files changed, 34 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 4a9d9ce..cb0461d 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,5 @@ dist *.sw? .env -src/pages.json src/components.d.ts src/auto-imports.d.ts diff --git a/src/manifest.json b/src/manifest.json index 0ce72e9..385aa7f 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -47,7 +47,7 @@ "urlCheck": false }, "usingComponents": true, - "darkmode": true, + "darkmode": false, "themeLocation": "theme.json" }, "mp-alipay": { @@ -64,7 +64,7 @@ }, "vueVersion": "3", "h5": { - "darkmode": true, + "darkmode": false, "themeLocation": "theme.json" } -} \ No newline at end of file +} diff --git a/src/pages.json b/src/pages.json index 0061ae9..3cb94ed 100644 --- a/src/pages.json +++ b/src/pages.json @@ -6,25 +6,41 @@ } }, "pages": [ + { + "path": "pages/home/index", + "type": "page", + "style": { + "navigationBarTitleText": "首页" + } + }, { "path": "pages/feed-calculator/index", - "type": "page" + "type": "page", + "style": { + "navigationBarTitleText": "喂养计算器" + } }, { "path": "pages/feed-plan/index", - "type": "page" - }, - { - "path": "pages/home/index", - "type": "page" + "type": "page", + "style": { + "navigationBarTitleText": "喂养计划" + } }, + { "path": "pages/me/index", - "type": "page" + "type": "page", + "style": { + "navigationBarTitleText": "我的" + } }, { "path": "pages/pet-manual/index", - "type": "page" + "type": "page", + "style": { + "navigationBarTitleText": "宠物手册" + } }, { "path": "pages/setting/index", @@ -32,7 +48,10 @@ }, { "path": "pages/start-filing/index", - "type": "page" + "type": "page", + "style": { + "navigationBarTitleText": "开始建档" + } }, { "path": "pages/userInfo/index", @@ -72,10 +91,9 @@ "backgroundColorBottom": "@bgColorBottom", "backgroundColorTop": "@bgColorTop", "backgroundTextStyle": "@bgTxtStyle", - "navigationBarBackgroundColor": "#000000", - "navigationBarTextStyle": "@navTxtStyle", - "navigationBarTitleText": "Vitesse-Uni", - "navigationStyle": "custom" + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black", + "navigationBarTitleText": "Vitesse-Uni" }, "__esModule": true, "subPackages": []