index.wxml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
  2. <view slot="info" class="main" style="height:{{infoHeight}}px;">
  3. <view class="one">
  4. <image src="{{background}}" class="images"></image>
  5. </view>
  6. <view class="two">
  7. <text class="themes" bindtap='jump'>创建比赛</text>
  8. <image class="imags" src="{{match}}"></image>
  9. </view>
  10. <view class="thr">
  11. <view class="left">
  12. <text class="th" bindtap='tuan'>团队排名</text>
  13. <image class="imagx" src="{{ranking}}"></image>
  14. <image class="imagh" src="{{black}}"></image>
  15. </view>
  16. <view class="right">
  17. <text class="th" bindtap='shen'>团队审批</text>
  18. <image class="imagx" src="{{approval}}"></image>
  19. <image class="imagh" src="{{black}}"></image>
  20. </view>
  21. </view>
  22. <view class="four">
  23. <van-tabs v-model:active="activeName" sticky>
  24. <van-tab title="进行中">
  25. <view class="list" wx:key="item" wx:for="{{conduct}}">
  26. <view class="name" data-name="{{item._id}}" bindtap="tiao">{{item.name}}</view>
  27. <view class="listbut"> <button class="color{{item.status}}" size="mini">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</button>
  28. </view>
  29. <view class="left1">
  30. <view class="otherInfos">
  31. <text class="text1">{{item.single_time}}</text>
  32. </view>
  33. <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
  34. </view>
  35. <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items" wx:key="key">
  36. <view class="right1_1" bindtap="xun">
  37. <text class="text4">{{items.match}}</text>
  38. <text class="text4">{{items.group}}</text>
  39. </view>
  40. <view class="right1_2">
  41. <view class="right1_2o">
  42. <image src="{{items.head1}}"></image>
  43. </view>
  44. <view class="right1_2t"><text>{{items.groupname1}}</text></view>
  45. <view class="right1_2i">
  46. <text class="text6">{{items.fraction1}}</text>
  47. <text class="text8">:</text>
  48. <text class="text7">{{items.fraction2}}</text>
  49. </view>
  50. <view class="right1_2t"><text>{{items.groupname2}}</text></view>
  51. <view class="right1_2o">
  52. <image src="{{items.head2}}"></image>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. </van-tab>
  58. <van-tab title="未开始">
  59. <view class="list" wx:key="item" wx:for="{{nostart}}">
  60. <view class="name" data-name="{{item._id}}" bindtap="tiao">{{item.name}}</view>
  61. <view class="listbut"> <button class="color{{item.status}}" size="mini">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</button>
  62. </view>
  63. <view class="left1">
  64. <view class="otherInfos">
  65. <text class="text1">{{item.single_time}}</text>
  66. </view>
  67. <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
  68. </view>
  69. <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items" wx:key="key">
  70. <view class="right1_1" bindtap="xun">
  71. <text class="text4">{{items.match}}</text>
  72. <text class="text4">{{items.group}}</text>
  73. </view>
  74. <view class="right1_2">
  75. <view class="right1_2o">
  76. <image src="{{items.head1}}"></image>
  77. </view>
  78. <view class="right1_2t"><text>{{items.groupname1}}</text></view>
  79. <view class="right1_2i">
  80. <text class="text6">{{items.fraction1}}</text>
  81. <text class="text8">:</text>
  82. <text class="text7">{{items.fraction2}}</text>
  83. </view>
  84. <view class="right1_2t"><text>{{items.groupname2}}</text></view>
  85. <view class="right1_2o">
  86. <image src="{{items.head2}}"></image>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. </van-tab>
  92. <van-tab title="已结束">
  93. <view class="list" wx:key="item" wx:for="{{complete}}">
  94. <view class="name" data-name="{{item._id}}" bindtap="tiao">{{item.name}}</view>
  95. <button class="color{{item.status}}" size="mini">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</button>
  96. <view class="left1">
  97. <view class="otherInfos">
  98. <text class="text1">{{item.single_time}}</text>
  99. </view>
  100. <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
  101. </view>
  102. <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items" wx:key="key">
  103. <view class="right1_1">
  104. <text class="text4">{{items.match}}</text>
  105. <text class="text4">{{items.group}}</text>
  106. </view>
  107. <view class="right1_2">
  108. <view class="right1_2o">
  109. <image src="{{items.head1}}"></image>
  110. </view>
  111. <view class="right1_2t"><text>{{items.groupname1}}</text></view>
  112. <view class="right1_2i">
  113. <text class="text6">{{items.fraction1}}</text>
  114. <text class="text8">:</text>
  115. <text class="text7">{{items.fraction2}}</text>
  116. </view>
  117. <view class="right1_2t"><text>{{items.groupname2}}</text></view>
  118. <view class="right1_2o">
  119. <image src="{{items.head2}}"></image>
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. </van-tab>
  125. </van-tabs>
  126. </view>
  127. </view>
  128. </mobile-main>