feat: 增加首页部分

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

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: '布兰德宠物喂养助手',
},
})
+6 -3
View File
@@ -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,13 +96,13 @@
}
],
"globalStyle": {
"backgroundColor": "@bgColor",
"backgroundColor": "#fff",
"backgroundColorBottom": "@bgColorBottom",
"backgroundColorTop": "@bgColorTop",
"backgroundTextStyle": "@bgTxtStyle",
"navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "Vitesse-Uni"
"navigationBarTitleText": "布兰德宠物喂养助手"
},
"__esModule": true,
"subPackages": []
+4 -12
View File
@@ -40,18 +40,10 @@ function startFiling() {
</view>
</view>
<view class="flex justify-center flex-col w-full items-center h-full mt-[200px] text-[#FFF]">
<view
class="content_botton flex w-[176px] h-[47px] justify-center
items-center bg-[#4545E5] rounded-[69px]"
>
<button
class=" text-[18px] font-normal
tracking-[.36px] leading-[37px] shrink-0" hover-class="bg-[#4545E5]"
@tap="startFiling"
>
开始建档
</button>
</view>
<button class="w-[176px] h-[47px] flex items-center justify-center bg-[#4545E5] border-none text-[white] rounded-3xl mt-[58px]" @tap="startFiling">
开始建档
</button>
<view class="content_details tracking-[1.8px] mt-[40px] text-[12px] font-normal ">
下拉了解详情
</view>