|
|
<template>
|
|
|
<view>
|
|
|
<view v-for="(item,index) in list" class="award-wrp">
|
|
|
<view>
|
|
|
<image class="avatar-wrp" :src="item.avatar"></image>
|
|
|
<view class="tit-wrp">
|
|
|
<view>{{item.nickname}}</view>
|
|
|
<view>{{item.createtime}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view>¥{{item.commission_sum}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import request from "../../../App.vue"
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
list:''
|
|
|
};
|
|
|
},
|
|
|
onLoad:function(){
|
|
|
request.post('/api/user/lowerList').then(r=>{
|
|
|
if(r.code == 1){
|
|
|
this.list = r.data.data
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.tit-wrp{
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
margin-left: 24rpx;
|
|
|
}
|
|
|
.avatar-wrp{
|
|
|
width: 80rpx;
|
|
|
height: 80rpx;
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
.award-wrp{
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
width: 686rpx;
|
|
|
margin: 0 auto;
|
|
|
padding-bottom: 28rpx;
|
|
|
border-bottom: 1rpx solid #EBEDF0;
|
|
|
padding-top: 23rpx;
|
|
|
>view:first-child{
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
>view:first-child{
|
|
|
color: #323233;
|
|
|
font-size: 28rpx;
|
|
|
padding-bottom: 16rpx;
|
|
|
}
|
|
|
>view:last-child{
|
|
|
color: #969799;
|
|
|
font-size: 24rpx;
|
|
|
font-weight: 400;
|
|
|
}
|
|
|
}
|
|
|
>view:last-child{
|
|
|
color: #FC8C06;
|
|
|
font-size: 32rpx;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
</style> |
...
|
...
|
|