feat: 增加首页部分
This commit is contained in:
1 parent
300412c7be
commit
ab5aeef018
3 files changed
+18
-16
No files matched your search
+10
-3
@@ -8,7 +8,15 @@ export default defineUniPages({
|
|||||||
'^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue',
|
'^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
entryPagePath: 'pages/home/index',
|
||||||
pages: [
|
pages: [
|
||||||
|
{
|
||||||
|
path: 'pages/home/index',
|
||||||
|
type: 'page',
|
||||||
|
style: {
|
||||||
|
navigationBarTitleText: '首页',
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'pages/feed-calculator/index',
|
path: 'pages/feed-calculator/index',
|
||||||
type: 'page',
|
type: 'page',
|
||||||
@@ -23,7 +31,6 @@ export default defineUniPages({
|
|||||||
navigationBarTitleText: '喂养计划',
|
navigationBarTitleText: '喂养计划',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
path: 'pages/me/index',
|
path: 'pages/me/index',
|
||||||
type: 'page',
|
type: 'page',
|
||||||
@@ -83,12 +90,12 @@ export default defineUniPages({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
globalStyle: {
|
globalStyle: {
|
||||||
backgroundColor: '@bgColor',
|
backgroundColor: '#fff',
|
||||||
backgroundColorBottom: '@bgColorBottom',
|
backgroundColorBottom: '@bgColorBottom',
|
||||||
backgroundColorTop: '@bgColorTop',
|
backgroundColorTop: '@bgColorTop',
|
||||||
backgroundTextStyle: '@bgTxtStyle',
|
backgroundTextStyle: '@bgTxtStyle',
|
||||||
navigationBarBackgroundColor: '#fff',
|
navigationBarBackgroundColor: '#fff',
|
||||||
navigationBarTextStyle: 'black',
|
navigationBarTextStyle: 'black',
|
||||||
navigationBarTitleText: 'Vitesse-Uni',
|
navigationBarTitleText: '布兰德宠物喂养助手',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
+6
-3
@@ -5,6 +5,7 @@
|
|||||||
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
|
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"entryPagePath": "pages/home/index",
|
||||||
"pages": [
|
"pages": [
|
||||||
{
|
{
|
||||||
"path": "pages/feed-calculator/index",
|
"path": "pages/feed-calculator/index",
|
||||||
@@ -23,7 +24,9 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/home/index",
|
"path": "pages/home/index",
|
||||||
"type": "page",
|
"type": "page",
|
||||||
"style": {}
|
"style": {
|
||||||
|
"navigationBarTitleText": "首页"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/me/index",
|
"path": "pages/me/index",
|
||||||
@@ -93,13 +96,13 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"backgroundColor": "@bgColor",
|
"backgroundColor": "#fff",
|
||||||
"backgroundColorBottom": "@bgColorBottom",
|
"backgroundColorBottom": "@bgColorBottom",
|
||||||
"backgroundColorTop": "@bgColorTop",
|
"backgroundColorTop": "@bgColorTop",
|
||||||
"backgroundTextStyle": "@bgTxtStyle",
|
"backgroundTextStyle": "@bgTxtStyle",
|
||||||
"navigationBarBackgroundColor": "#fff",
|
"navigationBarBackgroundColor": "#fff",
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "Vitesse-Uni"
|
"navigationBarTitleText": "布兰德宠物喂养助手"
|
||||||
},
|
},
|
||||||
"__esModule": true,
|
"__esModule": true,
|
||||||
"subPackages": []
|
"subPackages": []
|
||||||
|
|||||||
@@ -40,18 +40,10 @@ function startFiling() {
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex justify-center flex-col w-full items-center h-full mt-[200px] text-[#FFF]">
|
<view class="flex justify-center flex-col w-full items-center h-full mt-[200px] text-[#FFF]">
|
||||||
<view
|
<button class="w-[176px] h-[47px] flex items-center justify-center bg-[#4545E5] border-none text-[white] rounded-3xl mt-[58px]" @tap="startFiling">
|
||||||
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>
|
</button>
|
||||||
</view>
|
|
||||||
<view class="content_details tracking-[1.8px] mt-[40px] text-[12px] font-normal ">
|
<view class="content_details tracking-[1.8px] mt-[40px] text-[12px] font-normal ">
|
||||||
下拉了解详情
|
下拉了解详情
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Reference in new issue
Block a user