123456789101112131415161718192021 |
- <!--pages/ranking/ranking.wxml-->
- <view class='container' style="padding-top:100rpx">
- <image src='../../image/block.png' class='block' style="padding-top:{{statusBar+10}}px" bindtap='blockCtl'></image>
- <view class='wrapper' style="padding-top:{{statusBar-10}}px">
- <view class='list' wx:for='{{list}}' wx:key='index' wx:if='{{list.length>0}}'>
- <view class='list-info'>
- <image src='../../image/one.png' class='list-num' wx:if='{{index==0}}'></image>
- <image src='../../image/two.png' class='list-num' wx:if='{{index==1}}'></image>
- <image src='../../image/three.png' class='list-num' wx:if='{{index==2}}'></image>
- <text wx:if='{{index>2}}' class='list-text'>{{index+1}}</text>
- <image src="{{item.photo?(baseImgUrl+item.photo):'../../image/default_headicon4.png'}}" class='list-head'></image>
- <view class='list-info-name'>{{item.name}}</view>
- <!-- <image src='{{item.sex==1?"../../image/man.png":"../../image/women.png"}}' class='{{item.sex==1?"list-info-sex":"women-img"}}'></image> -->
- </view>
- <view class='list-core {{index<3?"list-core-active":""}}'>{{item.score}}分</view>
- </view>
- <view class="li-nodata" wx:if='{{list.length==0}}'>
- <image src="../../image/no_data.png" class="li-nodata-img"></image>
- </view>
- </view>
- </view>
|