This commit is contained in:
2023-09-15 17:14:36 +08:00
parent 0dcf23bfde
commit a626d36591
22 changed files with 383 additions and 206 deletions

View File

@@ -37,15 +37,33 @@
</view>
<view class="listItem" wx:if="{{childrenArr.length > 0}}">
<view class="listItem-item" wx:for="{{childrenArr}}" wx:key="childrenArr">
<image class="listItem-head" src="/static/imgs/userHead.png" mode="widthFix"></image>
<image class="listItem-head" src="{{item.avatar ? item.avatar : '/static/imgs/userHead.png'}}" mode="widthFix"></image>
<view class="listItem-cont">
<view class="listItem-name nowrap">{{item.nickname || '-'}}<text>{{item.hidden_username || '-'}}</text></view>
<view class="listItem-time nowrap">{{item.created_at}}</view>
<view class="listItem-name nowrap">{{item.nickname || '-'}} <image src="{{item.identity.cover}}" mode="widthFix"></image></view>
<view class="listItem-tel nowrap"><view class="listItem-tel-user">{{item.hidden_username || '-'}}</view><view class="listItem-time nowrap">{{item.created_at}}</view></view>
</view>
<view class="listItem-flex">
<view class="listItem-label">
<view class="listItem-label-name">
个人业绩(元)
</view>
<view class="listItem-label-number">
{{item.self_perf}}
</view>
</view>
<view class="listItem-label">
<view class="listItem-label-name">
总业绩(元)
</view>
<view class="listItem-label-number">
{{item.group_perf}}
</view>
</view>
</view>
</view>
<view class="pagesLoding" wx:if="{{lodingStats}}">
<block wx:if="{{page.has_more}}">
<image class="pagesLoding-icon" src="/static/icon/refresh_loding.gif" mode="widthFix"></image>加载中...
<image class="pagesLoding-icon" src="/static/icons/refresh_loding.gif" mode="widthFix"></image>加载中...
</block>
<block wx:else>
没有更多了~

View File

@@ -81,8 +81,8 @@ page {
padding: 25rpx 30rpx;
box-sizing: border-box;
margin-bottom: 30rpx;
display: flex;
align-items: center;
position: relative;
}
.listItem-head {
@@ -90,14 +90,33 @@ page {
}
.listItem-cont {
width: 100% - 88rpx;
padding-left: 30rpx;
width: 100%;
position: absolute;
left: 0;
top: 0;
padding: 30rpx 30rpx 30rpx 140rpx;
box-sizing: border-box;
}
.listItem-name {
font-weight: 600;
line-height: 40rpx;
margin-bottom: 10rpx;
display: flex;
}
.listItem-name image {
width: 100rpx;
margin: 4rpx 0 0 15rpx;
}
.listItem-tel {
font-size: 28rpx;
display: flex;
}
.listItem-tel-user {
flex: 1;
}
.listItem-name text {
@@ -111,6 +130,30 @@ page {
line-height: 40rpx;
}
.listItem-flex {
display: flex;
margin-top: 20rpx;
padding-top: 20rpx;
background-color: #f6f6f6;
padding: 20rpx;
box-sizing: border-box;
border-radius: 10rpx;
}
.listItem-label {
flex: 3;
text-align: center;
}
.listItem-label-name {
font-size: 26rpx;
margin-bottom: 15rpx;
}
.listItem-label-number {
font-size: 30rpx;
font-weight: 600;
}
/* 暂无数据 */
.pages-no {