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

View File

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