ranking.wxml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!--pages/contest/ranking/ranking.wxml-->
  2. <view>
  3. <image src="../../../imgs/contest/ranking/bg.png" class="bg"></image>
  4. <view class="page-title">排行榜</view>
  5. <view class="content">
  6. <view class="navList">
  7. <view class="{{page==1&&'active'}}" bindtap="togglePage" data-index="1">个人排名</view>
  8. <view class="{{page==2&&'active'}}" bindtap="togglePage" data-index="2">区排名</view>
  9. <view class="{{page==3&&'active'}}" bindtap="togglePage" data-index="3">学校排名</view>
  10. </view>
  11. <view class="ranking-top">
  12. <view class="second">
  13. <image mode="widthFix" src="../../../imgs/contest/ranking/avatr.png"></image>
  14. <view class="num">2</view>
  15. <view class="nickname">豆丁</view>
  16. <view class="fraction">99分</view>
  17. </view>
  18. <view class="first">
  19. <image mode="widthFix" src="../../../imgs/contest/ranking/avatr.png"></image>
  20. <view class="num">1</view>
  21. <view class="nickname">豆丁</view>
  22. <view class="fraction">99分</view>
  23. </view>
  24. <view class="third">
  25. <image mode="widthFix" src="../../../imgs/contest/ranking/avatr.png"></image>
  26. <view class="num">3</view>
  27. <view class="nickname">豆丁</view>
  28. <view class="fraction">99分</view>
  29. </view>
  30. </view>
  31. <view class="ranking-list">
  32. <view class="ranking-item">
  33. <view class="order-num">4</view>
  34. <image mode="widthFix" src="../../../imgs/contest/ranking/avatr.png"></image>
  35. <view class="nickname">乔巴</view>
  36. <view class="fraction">99分</view>
  37. </view>
  38. <view class="ranking-item">
  39. <view class="order-num">4</view>
  40. <image mode="widthFix" src="../../../imgs/contest/ranking/avatr.png"></image>
  41. <view class="nickname">乔巴</view>
  42. <view class="fraction">99分</view>
  43. </view>
  44. <view class="ranking-item">
  45. <view class="order-num">4</view>
  46. <image mode="widthFix" src="../../../imgs/contest/ranking/avatr.png"></image>
  47. <view class="nickname">乔巴</view>
  48. <view class="fraction">99分</view>
  49. </view>
  50. <view class="ranking-item">
  51. <view class="order-num">4</view>
  52. <image mode="widthFix" src="../../../imgs/contest/ranking/avatr.png"></image>
  53. <view class="nickname">乔巴</view>
  54. <view class="fraction">99分</view>
  55. </view>
  56. </view>
  57. </view>
  58. </view>