123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!--pages/ranking_list/ranking_list.wxml-->
- <import src="../../templates/nodata/nodata.wxml" />
- <view class='container'>
- <view class='wrapper'>
- <!-- 校区排行榜 -->
- <view class='li' wx:for='{{list}}' wx:key='index' wx:if='{{isType==1||isType==3}}'>
- <view class="li-items">
- <view class="li-items-block">
- <image src="../../assets/{{index==0?'ranking_one':index==1?'ranking_two':'ranking_three'}}.png" class="li-items-ord" wx:if='{{index<3}}'></image>
- <text wx:if='{{index>2}}'>{{index+1}}</text>
- </view>
- <image src="{{item.imgUrl?baseImgUrl+item.imgUrl:'../../assets/default_headicon2.png'}}" class="li-items-header"></image>
- <view class="li-items-info">
- <view class="li-top">
- <view class="li-items-info-name">{{item.name}}</view>
- <view>{{item.className}}</view>
- </view>
- </view>
- </view>
- <view style="margin:auto 0;">{{item.rankNum}}分</view>
- </view>
- <!-- 消费记录 -->
- <view class='ul' wx:for='{{list}}' wx:key='index' wx:if='{{isType==2||isType==5}}'>
- <view class="li-items">
- <view class="li-items-info">
- <view class="li-items-info-name">
- <text wx:if='{{isType!=5}}'>{{item.consumer}}</text>
- <text wx:if='{{item.consumer&&isType!=5}}'>-</text>
- <text wx:if='{{item.priceType}}'>{{item.priceType=='C023'?'平台服务':'校区服务'}}</text>
- <text wx:if='{{item.consumer}}'>x</text>
- <text wx:if='{{!item.consumer}}'>{{item.type==1?'充值':item.type==2?'消费的':item.type==3?'服务扣除的':item.type==4?'上级分配':item.type==5?'下级分配':''}}</text>
- <text wx:if='{{item.consumer}}'>{{item.nums}}</text>
- </view>
- <view>{{item.createTime}}</view>
- </view>
- </view>
- <view class="li-add">{{item.type==1||item.type==4?'+':'-'}}{{item.nums}}{{item.priceType=='C023'?'平台服务塾币':'校区服务塾币'}}</view>
- </view>
- <!-- 作业上传记录 -->
- <view class='ol' wx:for='{{list}}' wx:key='index' wx:if='{{isType==4}}'>
- <view class="li-items">
- <view class="li-items-info">
- <view class="li-items-info-name">上传人数:<text class="li-blue">{{item.uploadHomeworkSum}}/{{item.studentSum}}</text></view>
- <view>{{item.uploadTime}} {{item.weekDay}}</view>
- </view>
- </view>
- <view class="li-up">已批改人数:<text class="li-blue">{{item.correctSum}}/{{item.studentSum}}</text></view>
- </view>
- <template is='nodata' wx:if='{{list.length==0}}' data='{{...nodata[0]}}'></template>
- </view>
- </view>
|