info.wxml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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="{{src}}"></image>
  5. </view>
  6. <view class="two">
  7. <view class="list">
  8. <view class="listtou">
  9. <view class="name">{{teamlist.name}}</view>
  10. <view class="listbut"> <button class="color{{teamlist.status}}" size="mini">{{teamlist.status=='0'?'未开始':teamlist.status=='1'?'报名中':teamlist.status=='2'?'待比赛':teamlist.status=='3'?'进行中':'已结束'}}</button>
  11. </view>
  12. </view>
  13. <view class="left1">
  14. <view class="otherInfos">
  15. <text class="text1">{{teamlist.match_time}}</text>
  16. </view>
  17. <view class="otherInfoq"><text class="text3">{{teamlist.address}}</text></view>
  18. <view class="otherInfo textOver"><text class="text3" wx:for="{{teamlist.format}}" wx:key="item">{{item.type}}{{item.name}}</text></view>
  19. </view>
  20. <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items" wx:key="key">
  21. <view class="right1_1">
  22. <text class="text4">{{items.match}}</text>
  23. <text class="text4">{{items.group}}</text>
  24. </view>
  25. <view class="right1_2">
  26. <view class="right1_2o">
  27. <image class="head1" src="{{items.head1}}"></image>
  28. </view>
  29. <view class="right1_2t"><text>{{items.groupname1}}</text></view>
  30. <view class="right1_2i">
  31. <text class="text6">{{items.fraction1}}</text>
  32. <text class="text8">:</text>
  33. <text class="text7">{{items.fraction2}}</text>
  34. </view>
  35. <view class="right1_2t"><text>{{items.groupname2}}</text></view>
  36. <view class="right1_2o">
  37. <image class="head2" src="{{items.head2}}"></image>
  38. </view>
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="thr">
  44. <e-tabs tabs="{{tabs}}" bind:tabsChange="tabsChange"></e-tabs>
  45. <view wx:if="{{tabs.active=='a'}}" class="a">
  46. 模板
  47. </view>
  48. <view wx:elif="{{tabs.active=='b'}}" class="b">
  49. <view class="thrsss">
  50. <view class="thr-1" wx:key="item" wx:for="{{ranks}}">
  51. <view class="thr1">
  52. <view class="thr-left">
  53. <image class="img" src="{{item.logo[0].url}}"></image>
  54. </view>
  55. <view class="thr-right textOver"><text class="thrname">{{item.team_name}}</text> </view>
  56. <view class="thr-right textOver"><text class="thrperson">{{item.match_num}}人</text> </view>
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. <view wx:elif="{{tabs.active=='c'}}" class="b">
  62. <view class="root" wx:if="{{item.status=='0'||item.status=='1'}}" wx:key="item" wx:for="{{schedule}}">
  63. <image class='background-image' src='/image/huang.png'></image>
  64. <view class="content">
  65. <view class="four">
  66. <view class="four-1">
  67. <view class="fourleft3">
  68. <text class="fourtext5">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</text>
  69. <text class="fourtext6">{{item.match_time}}</text>
  70. </view>
  71. <view class="fourright4">
  72. <view class="fourright1_2">
  73. <view class="fourright1_2o">
  74. <image class="fourhead1" src="{{item.blue_logo[0].url}}"></image>
  75. </view>
  76. <view class="fourright1_2t"><text>{{item.blue_name}}</text></view>
  77. <view class="fourright1_2i">
  78. <text class="fourtext6-1">{{item.blue_branch||0}}</text>
  79. <text class="fourtext8-1">:</text>
  80. <text class="fourtext7-1">{{item.red_branch||0}}</text>
  81. </view>
  82. <view class="fourright1_2t"><text>{{item.red_name}}</text></view>
  83. <view class="fourright1_2oi">
  84. <image class="fourhead2" src="{{item.red_logo[0].url}}"></image>
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. </view>
  92. <view class="root" wx:if="{{item.status=='2'}}" wx:key="item" wx:for="{{schedule}}">
  93. <image class='background-image' src='/image/hhh.png'></image>
  94. <view class="content">
  95. <view class="four">
  96. <view class="four-1">
  97. <view class="fourleft3">
  98. <text class="fourtext5">{{item.status=='0'?'未开始':item.status=='1'?'开始':'已结束'}}</text>
  99. <text class="fourtext6">{{item.match_time}}</text>
  100. </view>
  101. <view class="fourright4">
  102. <view class="fourright1_2">
  103. <view class="fourright1_2o">
  104. <image class="fourhead1" src="{{item.blue_logo[0].url}}"></image>
  105. </view>
  106. <view class="fourright1_2t"><text>{{item.blue_name}}</text></view>
  107. <view class="fourright1_2i">
  108. <text class="fourtext6-1">{{item.blue_branch||0}}</text>
  109. <text class="fourtext8-1">:</text>
  110. <text class="fourtext7-1">{{item.red_branch||0}}</text>
  111. </view>
  112. <view class="fourright1_2t"><text>{{item.red_name}}</text></view>
  113. <view class="fourright1_2o">
  114. <image class="fourhead2" src="{{item.red_logo[0].url}}"></image>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. </view>
  123. <view wx:elif="{{tabs.active=='d'}}" class="b">
  124. <view class="head">
  125. <text class="head1">排名</text>
  126. <text class="head2">战队</text>
  127. <text class="head3">胜负</text>
  128. <text class="head4">积分</text>
  129. </view>
  130. <view class="headList">
  131. <view class=" item {{index < 3 ? 'select-item' : 'dis-select-item'}} sortContent" wx:for="{{listbang}}" wx:key="item">
  132. <text class="pai ">{{index+1}}</text>
  133. <image class="headtou" src="{{item.logo[0].url}}"></image>
  134. <text class="dui">{{item.team_name}}</text>
  135. <view class="fen">
  136. <text class="score1 {{index < 3 ? 'scorea' : 'scoreb'}}">{{item.win||0}}</text>/ <text>{{item.shu||0}}</text>
  137. </view>
  138. <view class="fens">
  139. <text class="score1 {{index < 3 ? 'scorea' : 'scorec'}}">{{item.integral||0}}</text>
  140. </view>
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. </mobile-main>