|
@@ -6,62 +6,41 @@
|
|
|
<image src="/static/ranking-i.png" class="logo" />
|
|
|
排行榜
|
|
|
</view>
|
|
|
- <view class="toAll" bindtap="activityEvent" data-info="{{rankList[0]}}">查看更多
|
|
|
- <image src="/static/black.png" class="backIcon" />
|
|
|
- </view>
|
|
|
</view>
|
|
|
- <!-- #if MP -->
|
|
|
- <scroll-view class="scrollView" scroll-x="true" enhanced show-scrollbar="{{false}}">
|
|
|
- <!-- #endif -->
|
|
|
- <view class="scrollView">
|
|
|
- <block wx:for="{{rankList}}" wx:key="id">
|
|
|
- <view class="ranking-class-2 {{item.type=='2'?'yxb':item.type=='3'?'rbb':'pkb'}}">
|
|
|
- <view class="header">
|
|
|
- <view class="left">
|
|
|
- <image
|
|
|
- src="{{item.type=='2'?'/static/yxb.png':item.type=='3'?'/static/rbb.png':'/static/pkb.png'}}"
|
|
|
- class="icon" />
|
|
|
- <view class="title">{{item.title}}</view>
|
|
|
- </view>
|
|
|
- <view class="toAll" bindtap="activityEvent" data-info="{{item}}">查看全部
|
|
|
- <image src="/static/rbtn.png" class="backIcon" />
|
|
|
- </view>
|
|
|
+ <view class="scrollView" >
|
|
|
+ <block wx:for="{{rankList}}" wx:key="id">
|
|
|
+ <view class="ranking-class-2 {{item.type=='2'?'yxb':item.type=='3'?'rbb':'pkb'}}">
|
|
|
+ <view class="header">
|
|
|
+ <view class="left">
|
|
|
+ <image
|
|
|
+ src="{{item.type=='2'?'/static/yxb.png':item.type=='3'?'/static/rbb.png':'/static/pkb.png'}}"
|
|
|
+ class="icon" />
|
|
|
+ <view class="title">{{item.title}}</view>
|
|
|
</view>
|
|
|
- <view class="body">
|
|
|
- <view class="row" wx:for="{{3}}" wx:key="index" wx:for-item='items' bindtap="jumpUserInfo"
|
|
|
- data-uid='{{item.userList[index].uid}}'>
|
|
|
- <view class="left">
|
|
|
- <image src="/static/{{index+1}}-1.png" class="stand" />
|
|
|
- <image src="{{item.userList[index].avatar||'/static/nullAvatar.png'}}"
|
|
|
- class="avatar" />
|
|
|
- <view class="nickName textOver">
|
|
|
- {{item.userList[index].nickName||item.userList[index].eid||'等你来占位'}}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="right">
|
|
|
- <image
|
|
|
- src="{{item.type=='2'?'/static/yx.png':item.type=='3'?'/static/play.png':'/static/win.png'}}"
|
|
|
- class="playIcon" />
|
|
|
- <view class="num">{{item.userList[index].count}}</view>
|
|
|
+ <view class="toAll" bindtap="activityEvent" data-info="{{item}}">查看全部
|
|
|
+ <image src="/static/rbtn.png" class="backIcon" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="body">
|
|
|
+ <view class="row" wx:for="{{3}}" wx:key="index" wx:for-item='items' bindtap="jumpUserInfo"
|
|
|
+ data-uid='{{item.userList[index].uid}}'>
|
|
|
+ <view class="left">
|
|
|
+ <image src="/static/{{index+1}}-1.png" class="stand" />
|
|
|
+ <image src="{{item.userList[index].avatar||'/static/nullAvatar.png'}}" class="avatar" />
|
|
|
+ <view class="nickName textOver">
|
|
|
+ {{item.userList[index].nickName||item.userList[index].eid||'等你来占位'}}
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="right">
|
|
|
+ <image
|
|
|
+ src="{{item.type=='2'?'/static/yx.png':item.type=='3'?'/static/play.png':'/static/win.png'}}"
|
|
|
+ class="playIcon" />
|
|
|
+ <view class="num">{{item.userList[index].count}}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- <!-- #if MP -->
|
|
|
- </view>
|
|
|
- <!-- #endif -->
|
|
|
-</view>
|
|
|
-<!-- #if MP -->
|
|
|
-<view class="activeyList">
|
|
|
- <view class="headline">
|
|
|
- <view class="left">
|
|
|
- <image src="/static/huodong-3.png" class="logo" />
|
|
|
- 官方活动
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <activityList classify='3' dataList="{{activityList}}" />
|
|
|
-</view>
|
|
|
-<!-- #endif -->
|
|
|
</view>
|