index.wxml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 class="toAll" bindtap="activityEvent" data-info="{{rankList[0]}}">查看更多
  10. <image src="/static/black.png" class="backIcon" />
  11. </view>
  12. </view>
  13. <scroll-view class="scrollView" scroll-x="true" enhanced show-scrollbar="{{false}}">
  14. <block wx:for="{{rankList}}" wx:key="id">
  15. <view class="ranking-class-2 {{item.type=='2'?'yxb':item.type=='3'?'rbb':'pkb'}}">
  16. <view class="header">
  17. <view class="left">
  18. <image
  19. src="{{item.type=='2'?'/static/yxb.png':item.type=='3'?'/static/rbb.png':'/static/pkb.png'}}"
  20. class="icon" />
  21. <view class="title">{{item.title}}</view>
  22. </view>
  23. <view class="toAll" bindtap="activityEvent" data-info="{{item}}">查看全部
  24. <image src="/static/rbtn.png" class="backIcon" />
  25. </view>
  26. </view>
  27. <view class="body">
  28. <view class="row" wx:for="{{3}}" wx:key="index" wx:for-item='items' bindtap="jumpUserInfo"
  29. data-uid='{{item.userList[index].uid}}'>
  30. <view class="left">
  31. <image src="/static/{{index+1}}-1.png" class="stand" />
  32. <image src="{{item.userList[index].avatar||'/static/nullAvatar.png'}}" class="avatar" />
  33. <view class="nickName textOver">
  34. {{item.userList[index].nickName||item.userList[index].eid||'等你来占位'}}
  35. </view>
  36. </view>
  37. <view class="right">
  38. <image
  39. src="{{item.type=='2'?'/static/yx.png':item.type=='3'?'/static/play.png':'/static/win.png'}}"
  40. class="playIcon" />
  41. <view class="num">{{item.userList[index].count}}</view>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. </block>
  47. </scroll-view>
  48. </view>
  49. <view class="activeyList">
  50. <view class="headline">
  51. <view class="left">
  52. <image src="/static/huodong-3.png" class="logo" />
  53. 官方活动
  54. </view>
  55. </view>
  56. <activityList classify='3' dataList="{{activityList}}" />
  57. </view>
  58. </view>