This commit is contained in:
kbing1981 2024-07-12 15:30:44 +08:00
parent 3249e757f1
commit fa9d512575
2 changed files with 48 additions and 19 deletions

View File

@ -2,10 +2,13 @@
<view class="content">
<view class="header">
<view class="header-top">
<view class="header-top-left" style="margin-top: -10px;">
<image src="../../static/index/dangqian1.png" mode=""></image>
<span class="header-text">当前周期</span>
<span class="header-text">{{startTime}}~{{endTime}}</span>
<view class="header-top-left">
<view>
<span class="header-text"></image>当前周期</span>
</view>
<view>
<span class="header-text1">{{startTime}}</span><span style="color: #fff; margin-right: 5rpx;">~</span><span class="header-text1">{{endTime}}</span>
</view>
</view>
<view class="header-top-btn" @click="wangqi" style="font-size: 14px; margin-top: -8px;">往期收益</view>
</view>
@ -330,21 +333,35 @@
}
.header-text{
font-weight: 400;
font-size: 30rpx;
font-size: 26rpx;
color: #FFFFFF;
margin-right: 8rpx;
}
.header-top-left image{
width: 24.31rpx;
height:22.92rpx;
.header-text1{
font-weight: 400;
font-size: 24rpx;
color: #019c88;
margin-right: 8rpx;
border-radius: 30rpx;
background: #fff;
padding: 1rpx 10rpx;
}
.header-top-left1 image{
width: 35rpx;
height:35rpx;
margin-right: 2px;
margin-top: 3px;
margin-top:3px;
}
.header-top-left1{
display: flex;
margin-bottom:12rpx;
justify-content: space-between;
}
.header-top-left{
display: flex;
flex-direction: row;
align-items: center;
align-items: flex-end;
justify-content: space-between;
margin-top: -10rpx;
}
.header-top{
width: 100%;
@ -356,7 +373,7 @@
width: 100%;
height: 300rpx;
padding: 15px;
background:#ffffff url('../../static/index/fun_banner4.png');
background:#f7f7f7 url('../../static/index/fun_banner4.png');
background-repeat: no-repeat;
background-size: 100% 100%;
display: flex;

View File

@ -3,13 +3,16 @@
<view class="header">
<view class="header-top">
<view class="header-top-left">
<image src="../../static/index/dangqian1.png" mode=""></image>
<span class="header-text" style="margin-right: 5px;">当前周期</span>
<span class="header-text">{{startTime}}~{{endTime}}</span>
<view>
<span class="header-text"></image>当前周期</span>
</view>
<view>
<span class="header-text1">{{startTime}}</span><span style="color: #fff; margin-right: 5rpx;">~</span><span class="header-text1">{{endTime}}</span>
</view>
</view>
<view class="header-top-btn" @click="wangqi">往期收益</view>
</view>
<view class="header-bottom">
<view class="header-bottom" style="margin-bottom: 40rpx;">
<view class="header-bottom-money">{{shouyiMoeny}}</view>
<view class="header-text">当前收益</view>
</view>
@ -305,9 +308,18 @@
}
.header-text{
font-weight: 400;
font-size: 28rpx;
font-size: 26rpx;
color: #FFFFFF;
margin-top: 2px;
margin-right: 8rpx;
}
.header-text1{
font-weight: 400;
font-size: 24rpx;
color: #019c88;
margin-right: 8rpx;
border-radius: 30rpx;
background: #fff;
padding: 1rpx 10rpx;
}
.header-top-left image{
width: 24.31rpx;
@ -318,7 +330,7 @@
.header-top-left{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.header-top{
width: 100%;