fix: pages and manifest

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

No files matched your search

+2 -2
View File
@@ -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': {
+76 -10
View File
@@ -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",
// },
})
+1 -1
View File
@@ -67,4 +67,4 @@
"darkmode": false,
"themeLocation": "theme.json"
}
}
}
+38 -32
View File
@@ -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": {