This commit is contained in:
@zuopngfei 2025-06-16 18:33:18 +08:00
parent ec32bf4c60
commit 808e1f5be9
6 changed files with 24 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

View File

@ -1,5 +1,5 @@
{
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarTitleText": "首页",
"usingComponents": {
"t-tabs": "tdesign-miniprogram/tabs/tabs",

View File

@ -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;

View File

@ -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">
身高曲线

View File

@ -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%;

View File

@ -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",