feat: 增加首页部分

This commit is contained in:
ilhamtahir committed 2024-12-25 11:27:13 +08:00
1 parent 300412c7be
commit ab5aeef018
3 files changed
+21 -19

No files matched your search

+10 -3
View File
@@ -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: '布兰德宠物喂养助手',
},
})