You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
2.6 KiB
142 lines
2.6 KiB
<template>
|
|
<view class="tuiguang">
|
|
<view class="top">
|
|
<image src="../../static/images/img/tuiguang.png" mode="widthFix" class="topImg"></image>
|
|
<view class="topInfo">
|
|
<view class="topItem">
|
|
<view class="num">
|
|
2000.00
|
|
</view>
|
|
<view class="text">
|
|
累计收益(元)
|
|
</view>
|
|
</view>
|
|
<view class="topItem">
|
|
<view class="num">
|
|
28
|
|
</view>
|
|
<view class="text">
|
|
累计红包(个)
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="list">
|
|
<view class="titleText">
|
|
<view class="flag"></view>
|
|
<text class="text">明细</text>
|
|
</view>
|
|
<view class="listConten">
|
|
<view class="listItem" v-for="(item,index) in 6" :key="index">
|
|
<view class="left">
|
|
<image src="../../static/images/img/u1.png" class="avatar" mode=""></image>
|
|
<text>张三三</text>
|
|
</view>
|
|
<view class="right">
|
|
收益+10个红包
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.tuiguang{
|
|
height:calc(100vh);
|
|
background-color: #F2F3F4;
|
|
.top{
|
|
padding:24rpx;
|
|
position: relative;
|
|
.topImg{
|
|
width:100%;
|
|
height:auto;
|
|
}
|
|
.topInfo{
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
align-items: center;
|
|
.topItem{
|
|
text-align: center;
|
|
.num{
|
|
font-family: Source Han Sans SC;
|
|
font-weight: 400;
|
|
font-size: 44rpx;
|
|
color: #FFFFFF;
|
|
}
|
|
.text{
|
|
margin-top:10rpx;
|
|
font-family: Source Han Sans SC;
|
|
font-weight: 400;
|
|
font-size: 24rpx;
|
|
color: #FFFFFF;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.list{
|
|
|
|
.titleText{
|
|
display: flex;
|
|
align-items: center;
|
|
.flag{
|
|
width: 12rpx;
|
|
height: 28rpx;
|
|
background: #EB6100;
|
|
border-radius: 6rpx;
|
|
}
|
|
.text{
|
|
font-family: Source Han Sans SC;
|
|
font-weight: 400;
|
|
font-size: 32rpx;
|
|
color: #333333;
|
|
margin-left:16rpx;
|
|
}
|
|
}
|
|
.listConten{
|
|
.listItem{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding:20rpx;
|
|
background-color: #FFFFFF;
|
|
// margin-top:20rpx;
|
|
margin: 20rpx 24rpx;
|
|
border-radius: 20rpx;
|
|
overflow: hidden;
|
|
.left{
|
|
display: flex;
|
|
align-items: center;
|
|
.avatar{
|
|
border-radius: 50%;
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
}
|
|
text{
|
|
margin-left:18rpx;
|
|
font-family: Source Han Sans SC;
|
|
font-weight: 400;
|
|
font-size: 24rpx;
|
|
color: #333333;
|
|
}
|
|
}
|
|
.right{
|
|
font-family: Source Han Sans SC;
|
|
font-weight: 400;
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style> |