fix: pages and manifest

This commit is contained in:
ilhamtahir committed 2024-12-25 10:23:12 +08:00
1 parent 7e6cee9d4a
commit 300412c7be
3 files changed
+116 -44

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ export default defineManifestConfig({
urlCheck: false, urlCheck: false,
}, },
usingComponents: true, usingComponents: true,
darkmode: true, darkmode: false,
themeLocation: 'theme.json', themeLocation: 'theme.json',
}, },
'mp-alipay': { 'mp-alipay': {
@@ -70,7 +70,7 @@ export default defineManifestConfig({
usingComponents: true, usingComponents: true,
}, },
'h5': { 'h5': {
darkmode: true, darkmode: false,
themeLocation: 'theme.json', themeLocation: 'theme.json',
}, },
'uniStatistics': { 'uniStatistics': {
+76 -10
View File
@@ -8,21 +8,87 @@ export default defineUniPages({
'^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue', '^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: { globalStyle: {
backgroundColor: '@bgColor', backgroundColor: '@bgColor',
backgroundColorBottom: '@bgColorBottom', backgroundColorBottom: '@bgColorBottom',
backgroundColorTop: '@bgColorTop', backgroundColorTop: '@bgColorTop',
backgroundTextStyle: '@bgTxtStyle', backgroundTextStyle: '@bgTxtStyle',
navigationBarBackgroundColor: '#000000', navigationBarBackgroundColor: '#fff',
navigationBarTextStyle: '@navTxtStyle', navigationBarTextStyle: 'black',
navigationBarTitleText: 'Vitesse-Uni', navigationBarTitleText: 'Vitesse-Uni',
navigationStyle: 'custom',
}, },
// tabBar: {
// backgroundColor: "@tabBgColor",
// borderStyle: "@tabBorderStyle",
// color: "@tabFontColor",
// selectedColor: "@tabSelectedColor",
// },
}) })
+38 -32
View File
@@ -6,84 +6,90 @@
} }
}, },
"pages": [ "pages": [
{
"path": "pages/home/index",
"type": "page",
"style": {
"navigationBarTitleText": "首页"
}
},
{ {
"path": "pages/feed-calculator/index", "path": "pages/feed-calculator/index",
"type": "page", "type": "page",
"style": { "style": {
"navigationBarTitleText": "喂养计算器" "navigationBarTitleText": "喂养计算器"
} }
}, },
{ {
"path": "pages/feed-plan/index", "path": "pages/feed-plan/index",
"type": "page", "type": "page",
"style": { "style": {
"navigationBarTitleText": "喂养计划" "navigationBarTitleText": "喂养计划"
} }
},
{
"path": "pages/home/index",
"type": "page",
"style": {}
}, },
{ {
"path": "pages/me/index", "path": "pages/me/index",
"type": "page", "type": "page",
"style": { "style": {
"navigationBarTitleText": "我的" "navigationBarTitleText": "我的"
} }
}, },
{ {
"path": "pages/pet-manual/index", "path": "pages/pet-manual/index",
"type": "page", "type": "page",
"style": { "style": {
"navigationBarTitleText": "宠物手册" "navigationBarTitleText": "宠物手册"
} }
}, },
{ {
"path": "pages/setting/index", "path": "pages/setting/index",
"type": "page" "type": "page",
"style": {}
}, },
{ {
"path": "pages/start-filing/index", "path": "pages/start-filing/index",
"type": "page", "type": "page",
"style": { "style": {
"navigationBarTitleText": "开始建档" "navigationBarTitleText": "开始建档"
} }
}, },
{ {
"path": "pages/userInfo/index", "path": "pages/userInfo/index",
"type": "page" "type": "page",
"style": {}
}, },
{ {
"path": "pages/feed-calculator/components/FeedFlogan", "path": "pages/feed-calculator/components/FeedFlogan",
"type": "page" "type": "page",
"style": {}
}, },
{ {
"path": "pages/feed-calculator/components/FeedForm", "path": "pages/feed-calculator/components/FeedForm",
"type": "page" "type": "page",
"style": {}
}, },
{ {
"path": "pages/feed-calculator/components/FeedQuestionnaire", "path": "pages/feed-calculator/components/FeedQuestionnaire",
"type": "page" "type": "page",
"style": {}
}, },
{ {
"path": "pages/feed-calculator/components/FeedStart", "path": "pages/feed-calculator/components/FeedStart",
"type": "page" "type": "page",
"style": {}
}, },
{ {
"path": "pages/feed-calculator/components/FeedStep", "path": "pages/feed-calculator/components/FeedStep",
"type": "page" "type": "page",
"style": {}
}, },
{ {
"path": "pages/feed-calculator/components/ProgressBar", "path": "pages/feed-calculator/components/ProgressBar",
"type": "page" "type": "page",
"style": {}
}, },
{ {
"path": "pages/pet-manual/components/CardList", "path": "pages/pet-manual/components/CardList",
"type": "page" "type": "page",
"style": {}
} }
], ],
"globalStyle": { "globalStyle": {