This commit is contained in:
kbing1981 2024-07-26 16:53:41 +08:00
parent 9635d86796
commit 253a3bd7b8
2 changed files with 22 additions and 13 deletions

View File

@ -2,9 +2,12 @@
<view class="content"> <view class="content">
<view class="header"> <view class="header">
<view class="header-top"> <view class="header-top">
<view class="header-bottom" style="margin-bottom: 40rpx;"> <view class="header-bottom" >
<image style="width:100rpx; height:100rpx; margin-right: 10rpx;" src="../../static/purse3.png"></image>
<view>
<view class="header-text" style=" margin-top: -5px;">当前收益</view> <view class="header-text" style=" margin-top: -5px;">当前收益</view>
<view class="header-bottom-money">{{shouyiMoeny}}</view> <view class="header-bottom-money">{{shouyiMoeny}}</view>
</view>
</view> </view>
<view class="header-top-left"> <view class="header-top-left">
<view style="margin-bottom: 10rpx;"> <view style="margin-bottom: 10rpx;">
@ -14,9 +17,10 @@
<span class="header-text1">{{startTime}}</span><span style="color: #fff; margin-right: 5rpx;">~</span><span class="header-text1">{{endTime}}</span> <span class="header-text1">{{startTime}}</span><span style="color: #fff; margin-right: 5rpx;">~</span><span class="header-text1">{{endTime}}</span>
</view> </view>
</view> </view>
</view> </view>
<view class="header-top-btn" @click="wangqi" style="font-size: 14px; margin-top: -8px;">往期收益</view> <view class="flex justify-end">
<view class="header-top-btn" @click="wangqi" style="font-size: 14px; margin-top: -8px;">往期收益</view>
</view>
<!--<view class="header-bottom" style="margin-bottom: 40rpx;"> <!--<view class="header-bottom" style="margin-bottom: 40rpx;">
<view class="header-text" style=" margin-top: -5px;">当前收益</view> <view class="header-text" style=" margin-top: -5px;">当前收益</view>
<view class="header-bottom-money">{{shouyiMoeny}}</view> <view class="header-bottom-money">{{shouyiMoeny}}</view>
@ -318,37 +322,42 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
.header-bottom-money{ .header-bottom-money{
font-weight: bold; font-weight: bold;
font-size: 49rpx; font-size: 49rpx;
color: #FFFFFF; color: #00b198;
margin-bottom: 3px; margin-bottom: 3px;
} }
.header-bottom{
display: flex;
align-items: end;
}
.header-top-btn{ .header-top-btn{
width: 174rpx; width: 174rpx;
height: 49rpx; height: 49rpx;
line-height: 49rpx; line-height: 46rpx;
text-align: center; text-align: center;
font-size: 26rpx; font-size: 26rpx;
color: #333333; background: linear-gradient(90deg, #019C88, #0FA78B, #35C495);
background: #FFFFFF;
border-radius: 24rpx; border-radius: 24rpx;
color: #fff;
} }
.header-text{ .header-text{
font-weight: 400; font-weight: 400;
font-size: 26rpx; font-size: 26rpx;
color: #FFFFFF; color: #00b198;
margin-right: 8rpx; margin-right: 8rpx;
} }
.header-text1{ .header-text1{
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 24rpx;
color: #fff; color: #00b198;
margin-right: 8rpx; margin-right: 8rpx;
border-radius: 30rpx; border-radius: 30rpx;
} }
.header-top-left{ .header-top-left{
margin-top: -10rpx; margin-top:20rpx;
text-align: right; text-align: right;
} }
.header-top{ .header-top{
@ -358,16 +367,16 @@
justify-content: space-between; justify-content: space-between;
} }
.header{ .header{
width: 100%;
height: 280rpx; height: 280rpx;
padding: 15px; padding: 15px;
background:#f7f7f7 url('../../static/index/technician15.png'); background:#f7f7f7 url('../../static/index/technician15.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% ; background-size: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-around; justify-content: space-around;
margin:0 26rpx; /*border-radius: 24rpx;*/
border-radius: 24rpx;
} }
.content{ .content{
width: 100%; width: 100%;

BIN
static/purse3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB