index.wxml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <navigationBar bind:reload='requestAgain'></navigationBar>
  2. <view class="activityBox">
  3. <view class="rankList ">
  4. <view class="headline">
  5. <view class="left">
  6. <image src="/static/ranking-i.png" class="logo" />
  7. 排行榜
  8. </view>
  9. </view>
  10. <view class="scrollView" >
  11. <block wx:for="{{rankList}}" wx:key="id">
  12. <view class="ranking-class-2 {{item.type=='2'?'yxb':item.type=='3'?'rbb':'pkb'}}">
  13. <view class="header">
  14. <view class="left">
  15. <image
  16. src="{{item.type=='2'?'/static/yxb.png':item.type=='3'?'/static/rbb.png':'/static/pkb.png'}}"
  17. class="icon" />
  18. <view class="title">{{item.title}}</view>
  19. </view>
  20. <view class="toAll" bindtap="activityEvent" data-info="{{item}}">查看全部
  21. <image src="/static/rbtn.png" class="backIcon" />
  22. </view>
  23. </view>
  24. <view class="body">
  25. <view class="row" wx:for="{{3}}" wx:key="index" wx:for-item='items' bindtap="jumpUserInfo"
  26. data-uid='{{item.userList[index].uid}}'>
  27. <view class="left">
  28. <image src="/static/{{index+1}}-1.png" class="stand" />
  29. <image src="{{item.userList[index].avatar||'/static/nullAvatar.png'}}" class="avatar" />
  30. <view class="nickName textOver">
  31. {{item.userList[index].nickName||item.userList[index].eid||'等你来占位'}}
  32. </view>
  33. </view>
  34. <view class="right">
  35. <image
  36. src="{{item.type=='2'?'/static/yx.png':item.type=='3'?'/static/play.png':'/static/win.png'}}"
  37. class="playIcon" />
  38. <view class="num">{{item.userList[index].count}}</view>
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. </block>
  44. </view>
  45. </view>
  46. </view>