diff --git a/manifest.config.ts b/manifest.config.ts index 10f0495..f636547 100644 --- a/manifest.config.ts +++ b/manifest.config.ts @@ -57,7 +57,7 @@ export default defineManifestConfig({ urlCheck: false, }, usingComponents: true, - darkmode: true, + darkmode: false, themeLocation: 'theme.json', }, 'mp-alipay': { @@ -70,7 +70,7 @@ export default defineManifestConfig({ usingComponents: true, }, 'h5': { - darkmode: true, + darkmode: false, themeLocation: 'theme.json', }, 'uniStatistics': { diff --git a/pages.config.ts b/pages.config.ts index 7f0c82c..0c6cd77 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -8,21 +8,87 @@ export default defineUniPages({ '^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue', }, }, - pages: [], + pages: [ + { + path: 'pages/feed-calculator/index', + type: 'page', + style: { + navigationBarTitleText: '喂养计算器', + }, + }, + { + path: 'pages/feed-plan/index', + type: 'page', + style: { + navigationBarTitleText: '喂养计划', + }, + }, + + { + path: 'pages/me/index', + type: 'page', + style: { + navigationBarTitleText: '我的', + }, + }, + { + path: 'pages/pet-manual/index', + type: 'page', + style: { + navigationBarTitleText: '宠物手册', + }, + }, + { + path: 'pages/setting/index', + type: 'page', + }, + { + path: 'pages/start-filing/index', + type: 'page', + style: { + navigationBarTitleText: '开始建档', + }, + }, + { + path: 'pages/userInfo/index', + type: 'page', + }, + { + path: 'pages/feed-calculator/components/FeedFlogan', + type: 'page', + }, + { + path: 'pages/feed-calculator/components/FeedForm', + type: 'page', + }, + { + path: 'pages/feed-calculator/components/FeedQuestionnaire', + type: 'page', + }, + { + path: 'pages/feed-calculator/components/FeedStart', + type: 'page', + }, + { + path: 'pages/feed-calculator/components/FeedStep', + type: 'page', + }, + { + path: 'pages/feed-calculator/components/ProgressBar', + type: 'page', + }, + { + path: 'pages/pet-manual/components/CardList', + type: 'page', + }, + ], globalStyle: { backgroundColor: '@bgColor', backgroundColorBottom: '@bgColorBottom', backgroundColorTop: '@bgColorTop', backgroundTextStyle: '@bgTxtStyle', - navigationBarBackgroundColor: '#000000', - navigationBarTextStyle: '@navTxtStyle', + navigationBarBackgroundColor: '#fff', + navigationBarTextStyle: 'black', navigationBarTitleText: 'Vitesse-Uni', - navigationStyle: 'custom', }, - // tabBar: { - // backgroundColor: "@tabBgColor", - // borderStyle: "@tabBorderStyle", - // color: "@tabFontColor", - // selectedColor: "@tabSelectedColor", - // }, }) diff --git a/src/manifest.json b/src/manifest.json index 385aa7f..f98cf5b 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -67,4 +67,4 @@ "darkmode": false, "themeLocation": "theme.json" } -} +} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index 3cb94ed..70d83dc 100644 --- a/src/pages.json +++ b/src/pages.json @@ -6,84 +6,90 @@ } }, "pages": [ - { - "path": "pages/home/index", - "type": "page", - "style": { - "navigationBarTitleText": "首页" - } - }, { "path": "pages/feed-calculator/index", "type": "page", - "style": { - "navigationBarTitleText": "喂养计算器" - } + "style": { + "navigationBarTitleText": "喂养计算器" + } }, { "path": "pages/feed-plan/index", "type": "page", - "style": { - "navigationBarTitleText": "喂养计划" - } + "style": { + "navigationBarTitleText": "喂养计划" + } + }, + { + "path": "pages/home/index", + "type": "page", + "style": {} }, - { "path": "pages/me/index", "type": "page", - "style": { - "navigationBarTitleText": "我的" - } + "style": { + "navigationBarTitleText": "我的" + } }, { "path": "pages/pet-manual/index", "type": "page", - "style": { - "navigationBarTitleText": "宠物手册" - } + "style": { + "navigationBarTitleText": "宠物手册" + } }, { "path": "pages/setting/index", - "type": "page" + "type": "page", + "style": {} }, { "path": "pages/start-filing/index", "type": "page", - "style": { - "navigationBarTitleText": "开始建档" - } + "style": { + "navigationBarTitleText": "开始建档" + } }, { "path": "pages/userInfo/index", - "type": "page" + "type": "page", + "style": {} }, { "path": "pages/feed-calculator/components/FeedFlogan", - "type": "page" + "type": "page", + "style": {} }, { "path": "pages/feed-calculator/components/FeedForm", - "type": "page" + "type": "page", + "style": {} }, { "path": "pages/feed-calculator/components/FeedQuestionnaire", - "type": "page" + "type": "page", + "style": {} }, { "path": "pages/feed-calculator/components/FeedStart", - "type": "page" + "type": "page", + "style": {} }, { "path": "pages/feed-calculator/components/FeedStep", - "type": "page" + "type": "page", + "style": {} }, { "path": "pages/feed-calculator/components/ProgressBar", - "type": "page" + "type": "page", + "style": {} }, { "path": "pages/pet-manual/components/CardList", - "type": "page" + "type": "page", + "style": {} } ], "globalStyle": {