dsd
This commit is contained in:
parent
ec32bf4c60
commit
808e1f5be9
BIN
assets/images/home/top-bg.png
Normal file
BIN
assets/images/home/top-bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 185 KiB |
@ -1,5 +1,5 @@
|
||||
{
|
||||
"navigationStyle": "default",
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "首页",
|
||||
"usingComponents": {
|
||||
"t-tabs": "tdesign-miniprogram/tabs/tabs",
|
||||
|
||||
@ -4,12 +4,21 @@
|
||||
|
||||
.home-container {
|
||||
height: calc(100vh - @tab-bar-height);
|
||||
|
||||
padding-top: 160rpx;
|
||||
position: relative;
|
||||
image{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
.home-content {
|
||||
// height: calc(100% - @nav-bar-height);
|
||||
padding: 30rpx;
|
||||
padding-bottom: 160rpx;
|
||||
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
.item-content {
|
||||
background-color: #fff;
|
||||
border-radius: 12rpx;
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
<!-- <nav nav-type="search" /> -->
|
||||
<view class="home-container">
|
||||
<image class="home-top-bg" mode="widthFix" src="../../assets/images/home/top-bg.png" />
|
||||
<view class="home-content">
|
||||
<view class="item-title">宝宝成长曲线</view>
|
||||
<view class="item-content">
|
||||
<view class="item-title">宝宝成长曲线</view>
|
||||
<view class="echarts-legend">
|
||||
<view class="{{ activeIndex == 0 ? 'active' : '' }}" data-index="0" bindtap="changeChart">
|
||||
身高曲线
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/* pages/clockIn/index.wxss */
|
||||
.clockin{
|
||||
padding: 28rpx;
|
||||
padding-bottom: 200rpx;
|
||||
padding-bottom: 160rpx;
|
||||
padding-top: 200rpx;
|
||||
position: relative;
|
||||
.clockin-img{
|
||||
@ -68,7 +68,7 @@
|
||||
}
|
||||
.footer-example{
|
||||
position: fixed;
|
||||
bottom: 202rpx;
|
||||
bottom: 40rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
|
||||
@ -2,6 +2,13 @@
|
||||
"condition": {
|
||||
"miniprogram": {
|
||||
"list": [
|
||||
{
|
||||
"name": "pages/home/index",
|
||||
"pathName": "pages/home/index",
|
||||
"query": "",
|
||||
"launchMode": "default",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "pages/articleList/index",
|
||||
"pathName": "pages/articleList/index",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user