This commit is contained in:
kbing1981 2024-07-26 17:30:46 +08:00
parent 253a3bd7b8
commit 3e61d39ff8
3 changed files with 77 additions and 77 deletions

View File

@ -2,6 +2,13 @@
<view class="content clock-padding"> <view class="content clock-padding">
<view class="header"> <view class="header">
<view class="header-top"> <view class="header-top">
<view class="flex">
<image style="width:100rpx; height:100rpx; margin-right: 10rpx;" src="../../static/purse3.png"></image>
<view class="header-bottom">
<view class="header-text">{{titleData}}</view>
<view class="header-bottom-money">{{earnings}}</view>
</view>
</view>
<view class="header-top-left"> <view class="header-top-left">
<view> <view>
<span class="header-text"></image>当前周期</span> <span class="header-text"></image>当前周期</span>
@ -10,13 +17,9 @@
<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 class="header-top-btn" @click="wangqi">往期{{orderType=='2'?'加钟率':'充值率'}}</view>
</view> </view>
<view class="header-bottom" style="margin-bottom: 40rpx;"> <view class="flex justify-end">
<view class="header-bottom-money"> <view class="header-top-btn" @click="wangqi">往期{{orderType=='2'?'加钟率':'充值率'}}</view>
{{earnings}}
</view>
<view class="header-text">{{titleData}}</view>
</view> </view>
</view> </view>
<view class="tapNav-list"> <view class="tapNav-list">
@ -298,8 +301,8 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
.tapNav-list{ .tapNav-list{
width: 94%; background: #fff;
margin: 8rpx auto; width:100%;
display: flex; display: flex;
flex-direction:row; flex-direction:row;
align-items: center; align-items: center;
@ -486,70 +489,65 @@
flex-direction: column; flex-direction: column;
} }
.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;
}
.header-bottom{
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: #019c88; color: #00b198;
margin-right: 8rpx; margin-right: 8rpx;
border-radius: 30rpx; border-radius: 30rpx;
background: #fff;
padding: 1rpx 10rpx;
}
.header-top-left image{
width: 24.31rpx;
height:22.92rpx;
margin-right: 2px;
margin-top: 3px;
} }
.header-top-left{ .header-top-left{
display: flex; margin-top:10rpx;
flex-direction: row; text-align: right;
justify-content: space-between;
} }
.header-top{ .header-top{
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
margin-bottom: 10px;
} }
.header{ .header{
width: 100%; width: 100%;
height: 300rpx; height: 280rpx;
padding: 15px; padding: 15px;
background:#f5f5f5 url('../../static/index/fun_banner4.png'); background:#f7f7f7 url('../../static/index/technician15.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-around; justify-content: space-around;
} /*border-radius: 24rpx;*/
}
.content{ .content{
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
height: 100vh; /*height: 100vh;*/
background-color: #f7f7f7; background-color: #f7f7f7;
overflow: scroll; overflow: scroll;
} }

View File

@ -5,8 +5,8 @@
<view class="header-bottom" > <view class="header-bottom" >
<image style="width:100rpx; height:100rpx; margin-right: 10rpx;" src="../../static/purse3.png"></image> <image style="width:100rpx; height:100rpx; margin-right: 10rpx;" src="../../static/purse3.png"></image>
<view> <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>
<view class="header-top-left"> <view class="header-top-left">

View File

@ -2,6 +2,15 @@
<view class="content"> <view class="content">
<view class="header"> <view class="header">
<view class="header-top"> <view class="header-top">
<view class="flex">
<image style="width:100rpx; height:100rpx; margin-right: 10rpx;" src="../../static/purse3.png"></image>
<view class="header-bottom">
<view class="header-text">{{titleData}}</view>
<view class="header-bottom-money">
{{earnings}}
</view>
</view>
</view>
<view class="header-top-left"> <view class="header-top-left">
<view> <view>
<span class="header-text"></image>当前周期</span> <span class="header-text"></image>当前周期</span>
@ -10,16 +19,13 @@
<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 class="flex justify-end">
<view class="header-top-btn" @click="wangqi">往期{{orderType=='2'?'加钟率':'充值率'}}</view> <view class="header-top-btn" @click="wangqi">往期{{orderType=='2'?'加钟率':'充值率'}}</view>
</view> </view>
<view class="header-bottom" style="margin-bottom: 40rpx;">
<view class="header-bottom-money">
{{earnings}}
</view>
<view class="header-text">{{titleData}}</view>
</view>
</view> </view>
<!-- 往期时间选择 --> <!-- 往期时间选择 -->
<u-action-sheet :list="wqlistData" v-model="wqsyshow" @click="wqlistCallback"></u-action-sheet> <u-action-sheet :list="wqlistData" v-model="wqsyshow" @click="wqlistCallback"></u-action-sheet>
@ -494,70 +500,66 @@
flex-direction: column; flex-direction: column;
} }
.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;
}
.header-bottom{
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: #019c88; color: #00b198;
margin-right: 8rpx; margin-right: 8rpx;
border-radius: 30rpx; border-radius: 30rpx;
background: #fff;
padding: 1rpx 10rpx;
}
.header-top-left image{
width: 24.31rpx;
height:22.92rpx;
margin-right: 2px;
margin-top: 3px;
} }
.header-top-left{ .header-top-left{
display: flex; margin-top:10rpx;
flex-direction: row; text-align: right;
align-items: center;
} }
.header-top{ .header-top{
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
margin-bottom: 10px;
} }
.header{ .header{
width: 100%; width: 100%;
height: 300rpx; height: 280rpx;
padding: 15px; padding: 15px;
background:#f5f5f5 url('../../static/index/fun_banner4.png'); background:#f7f7f7 url('../../static/index/technician15.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-around; justify-content: space-around;
} /*border-radius: 24rpx;*/
}
.content{ .content{
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
height: 100vh; /*height: 100vh;*/
background-color: #f7f7f7; background-color: #f7f7f7;
overflow: scroll; overflow: scroll;
} }