info.wxml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  2. <view slot="info" class="main" style="height:{{infoHeight}}px;">
  3. <view class="one">
  4. <image class="image" src="{{bg_img}}"></image>
  5. <view class="one_1">
  6. <view class="name textOver"><text>{{matchInfo.name}}</text></view>
  7. <view class="other">
  8. <view class="otherInfo"><text>比赛状态:</text><text class="color{{matchInfo.status}}">{{matchInfo.status_name}}</text></view>
  9. <view class="otherInfo"><text>比赛时间:</text><text>{{matchInfo.match_time}}</text></view>
  10. <view class="otherInfo"><text>比赛地点:</text><text>{{matchInfo.address}}</text></view>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="two">
  15. <e-tabs tabs="{{tabs}}" bind:tabsChange="tabsChange"></e-tabs>
  16. <view class="two_1">
  17. <view wx:if="{{tabs.active=='a'}}" class="a">
  18. 赛制信息
  19. </view>
  20. <view wx:if="{{tabs.active=='b'}}" class="b">
  21. <view class="list" wx:for="{{matchteamList}}" wx:key="item">
  22. <image src="{{item.logo[0].url}}"></image>
  23. <view class="name textOver">{{item.team_name}}</view>
  24. <view class="num">共{{item.members.length}}人</view>
  25. </view>
  26. </view>
  27. <view wx:if="{{tabs.active=='c'}}" class="c">
  28. <view class="list" wx:for="{{scheduleList}}" wx:key="item" bindtap="toSchedule" data-id="{{item._id}}">
  29. <view class="list_1" style="background-image: url({{bg_img1}})">
  30. <text>{{item.status=='0'?'未开始':item.status=='1'?'开始':'已结束'}}</text>
  31. <text>{{item.match_time}}</text>
  32. </view>
  33. <view class="list_2">
  34. <view class="list_2one">
  35. <image src="{{item.red_logo[0].url}}"></image>
  36. <text class="textOver">{{item.red_name}}</text>
  37. </view>
  38. <view class="list_2two">
  39. <text>{{item.red_branch||0}}</text>
  40. <text>:</text>
  41. <text>{{item.blue_branch||0}}</text>
  42. </view>
  43. <view class="list_2one">
  44. <text class="textOver">{{item.blue_name||'暂无'}}</text>
  45. <image src="{{item.blue_logo[0].url}}"></image>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <view wx:if="{{tabs.active=='d'}}" class="d">
  51. <view class="ranking">
  52. <view>排名</view>
  53. <view>战队</view>
  54. <view>胜负</view>
  55. <view>积分</view>
  56. </view>
  57. <view class="ranking rankingList" wx:for="{{rankingList}}" wx:key="item">
  58. <view><text>{{item.pm}}</text></view>
  59. <view class="textOver">
  60. <image src="{{item.logo[0].url}}"></image>
  61. <text>{{item.team_name}}</text>
  62. </view>
  63. <view>
  64. <text>{{item.sheng}}</text>
  65. <text>/</text>
  66. <text>{{item.fu}}</text>
  67. </view>
  68. <view><text>{{item.jf}}</text></view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. <!-- <view class="one">
  74. <image class="image" src="{{src}}"></image>
  75. </view>
  76. <view class="two">
  77. <view class="list">
  78. <view class="listtou">
  79. <view class="name">{{teamlist.name}}</view>
  80. <view class="listbut"> <button class="color{{teamlist.status}}" size="mini">{{teamlist.status=='0'?'未开始':teamlist.status=='1'?'报名中':teamlist.status=='2'?'待比赛':teamlist.status=='3'?'进行中':'已结束'}}</button>
  81. </view>
  82. </view>
  83. <view class="left1">
  84. <view class="otherInfos">
  85. <text class="text1">{{teamlist.match_time}}</text>
  86. </view>
  87. <view class="otherInfoq"><text class="text3">{{teamlist.address}}</text></view>
  88. <view class="otherInfo textOver"><text class="text3" wx:for="{{teamlist.format}}" wx:key="item">{{item.type}}{{item.name}}</text></view>
  89. </view>
  90. <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items" wx:key="key">
  91. <view class="right1_1">
  92. <text class="text4">{{items.match}}</text>
  93. <text class="text4">{{items.group}}</text>
  94. </view>
  95. <view class="right1_2">
  96. <view class="right1_2o">
  97. <image class="head1" src="{{items.head1}}"></image>
  98. </view>
  99. <view class="right1_2t"><text>{{items.groupname1}}</text></view>
  100. <view class="right1_2i">
  101. <text class="text6">{{items.fraction1}}</text>
  102. <text class="text8">:</text>
  103. <text class="text7">{{items.fraction2}}</text>
  104. </view>
  105. <view class="right1_2t"><text>{{items.groupname2}}</text></view>
  106. <view class="right1_2o">
  107. <image class="head2" src="{{items.head2}}"></image>
  108. </view>
  109. </view>
  110. </view>
  111. </view>
  112. </view>
  113. <view class="thr">
  114. <e-tabs tabs="{{tabs}}" bind:tabsChange="tabsChange"></e-tabs>
  115. <view wx:if="{{tabs.active=='a'}}" class="a">
  116. 模板
  117. </view>
  118. <view wx:elif="{{tabs.active=='b'}}" class="b">
  119. <view class="thrsss">
  120. <view class="thr-1" wx:key="item" wx:for="{{ranks}}">
  121. <view class="thr1">
  122. <view class="thr-left">
  123. <image class="img" src="{{item.logo[0].url}}"></image>
  124. </view>
  125. <view class="thr-right textOver"><text class="thrname">{{item.team_name}}</text> </view>
  126. <view class="thr-right textOver"><text class="thrperson">{{item.match_num}}人</text> </view>
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. <view wx:elif="{{tabs.active=='c'}}" class="b">
  132. <view class="root" wx:if="{{item.status=='0'||item.status=='1'}}" wx:key="item" wx:for="{{schedule}}">
  133. <image class='background-image' src='/image/huang.png'></image>
  134. <view class="content">
  135. <view class="four">
  136. <view class="four-1">
  137. <view class="fourleft3">
  138. <text class="fourtext5">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</text>
  139. <text class="fourtext6">{{item.match_time}}</text>
  140. </view>
  141. <view class="fourright4">
  142. <view class="fourright1_2">
  143. <view class="fourright1_2o">
  144. <image class="fourhead1" src="{{item.blue_logo[0].url}}"></image>
  145. </view>
  146. <view class="fourright1_2t"><text>{{item.blue_name}}</text></view>
  147. <view class="fourright1_2i">
  148. <text class="fourtext6-1">{{item.blue_branch||0}}</text>
  149. <text class="fourtext8-1">:</text>
  150. <text class="fourtext7-1">{{item.red_branch||0}}</text>
  151. </view>
  152. <view class="fourright1_2t"><text>{{item.red_name}}</text></view>
  153. <view class="fourright1_2oi">
  154. <image class="fourhead2" src="{{item.red_logo[0].url}}"></image>
  155. </view>
  156. </view>
  157. </view>
  158. </view>
  159. </view>
  160. </view>
  161. </view>
  162. <view class="root" wx:if="{{item.status=='2'}}" wx:key="item" wx:for="{{schedule}}">
  163. <image class='background-image' src='/image/hhh.png'></image>
  164. <view class="content">
  165. <view class="four">
  166. <view class="four-1">
  167. <view class="fourleft3">
  168. <text class="fourtext5">{{item.status=='0'?'未开始':item.status=='1'?'开始':'已结束'}}</text>
  169. <text class="fourtext6">{{item.match_time}}</text>
  170. </view>
  171. <view class="fourright4">
  172. <view class="fourright1_2">
  173. <view class="fourright1_2o">
  174. <image class="fourhead1" src="{{item.blue_logo[0].url}}"></image>
  175. </view>
  176. <view class="fourright1_2t"><text>{{item.blue_name}}</text></view>
  177. <view class="fourright1_2i">
  178. <text class="fourtext6-1">{{item.blue_branch||0}}</text>
  179. <text class="fourtext8-1">:</text>
  180. <text class="fourtext7-1">{{item.red_branch||0}}</text>
  181. </view>
  182. <view class="fourright1_2t"><text>{{item.red_name}}</text></view>
  183. <view class="fourright1_2o">
  184. <image class="fourhead2" src="{{item.red_logo[0].url}}"></image>
  185. </view>
  186. </view>
  187. </view>
  188. </view>
  189. </view>
  190. </view>
  191. </view>
  192. </view>
  193. <view wx:elif="{{tabs.active=='d'}}" class="b">
  194. <view class="head">
  195. <text class="head1">排名</text>
  196. <text class="head2">战队</text>
  197. <text class="head3">胜负</text>
  198. <text class="head4">积分</text>
  199. </view>
  200. <view class="headList">
  201. <view class=" item {{index < 3 ? 'select-item' : 'dis-select-item'}} sortContent" wx:for="{{listbang}}" wx:key="item">
  202. <text class="pai ">{{index+1}}</text>
  203. <image class="headtou" src="{{item.logo[0].url}}"></image>
  204. <text class="dui">{{item.team_name}}</text>
  205. <view class="fen">
  206. <text class="score1 {{index < 3 ? 'scorea' : 'scoreb'}}">{{item.win||0}}</text>/ <text>{{item.shu||0}}</text>
  207. </view>
  208. <view class="fens">
  209. <text class="score1 {{index < 3 ? 'scorea' : 'scorec'}}">{{item.integral||0}}</text>
  210. </view>
  211. </view>
  212. </view>
  213. </view>
  214. </view> -->
  215. </view>
  216. </mobile-main>