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() { - - - + + 下拉了解详情