|
|
@ -17,11 +17,11 @@ |
|
|
|
{{item.name}} |
|
|
|
</button> |
|
|
|
</view> |
|
|
|
<view class="ph-list"> |
|
|
|
<view class="ph-list" wx:if="{{pointsRankingUser}}"> |
|
|
|
<view class="left"> |
|
|
|
<!-- 左边图片 --> |
|
|
|
<view class="left-img"> |
|
|
|
<view class="list-number_">{{pointsRankingUser.rank}}</view> |
|
|
|
<view class="list-list-number_frist">{{pointsRankingUser.rank}}</view> |
|
|
|
</view> |
|
|
|
<!-- 名字 --> |
|
|
|
<view class="list-name">{{pointsRankingUser.realName}}</view> |
|
|
@ -34,12 +34,13 @@ |
|
|
|
<view class="left"> |
|
|
|
<!-- 左边图片 --> |
|
|
|
<view class="left-img"> |
|
|
|
<image class="img-bg" wx:if="{{index == 0}}" src="../../images/first.png"></image> |
|
|
|
<!-- <image class="img-bg" wx:if="{{index == 0}}" src="../../images/first.png"></image> |
|
|
|
<image class="img-bg" wx:elif="{{index == 1}}" src="../../images/second.png"></image> |
|
|
|
<image class="img-bg" wx:elif="{{index == 2}}" src="../../images/third.png"></image> |
|
|
|
<image class="img-bg" wx:elif="{{index == 2}}" src="../../images/third.png"></image> --> |
|
|
|
<!-- <image class="img-bg" wx:else src="../../images/fourth.png"></image> --> |
|
|
|
<view wx:if="{{index < 3}}" class="list-number">{{item.rank}}</view> |
|
|
|
<view wx:else class="list-number_">{{item.rank}}</view> |
|
|
|
<!-- <view wx:if="{{index < 3}}" class="list-number">{{item.rank}}</view> --> |
|
|
|
|
|
|
|
<view class="{{index < 3 ? 'list-list-number_frist' : 'list-number_'}} {{index===0 ? 'color1_' : index===1 ? 'color2_' : index===2 ? 'color2_' : ''}}">{{item.rank}}</view> |
|
|
|
</view> |
|
|
|
<!-- 名字 --> |
|
|
|
<view class="list-name">{{item.realName}}</view> |
|
|
|