orderbook.wxml 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  2. <view slot="info" class="container main">
  3. <view class="zero one">
  4. <view class="one_1">
  5. <button type="primary" bindtap="toCommon" data-route="orderbook/teamAdd">添加组项</button>
  6. </view>
  7. <view class="one_2">
  8. <button type="primary" bindtap="toCommon" data-route="orderbook/teamautoAdd">自动编排组项</button>
  9. </view>
  10. <view class="one_3">
  11. <button type="primary" bindtap="toCommon" data-route="orderbook/raceAdd">添加赛程</button>
  12. </view>
  13. <view class="one_4">
  14. <button type="primary" bindtap="toCommon" data-route="orderbook/raceautoAdd">自动编排赛程</button>
  15. </view>
  16. </view>
  17. <view class="zero two">
  18. <view class="two_1">
  19. <e-tabs tabs="{{tabs}}" bind:tabsChange="tabsChange"></e-tabs>
  20. </view>
  21. <view class="two_2">
  22. <view wx:if="{{tabs.active=='a'}}" class="a">
  23. <scroll-view scroll-y="true" class="scroll-view">
  24. <view class="list-scroll-view">
  25. <view class="teamList" wx:for="{{teamList}}" wx:key="item">
  26. <view class="name">{{item.name}}</view>
  27. <view class="other">
  28. <view class="other_1"><text>赛事名称:</text><text>{{item.match_name||'暂无'}}</text></view>
  29. <view class="other_1"><text>赛事组别:</text><text>{{item.grouping_name||'暂无'}}</text></view>
  30. <view class="other_1"><text>组内项目:</text><text>{{item.project_name||'暂无'}}</text></view>
  31. </view>
  32. <view class="btn">
  33. <button type="primary" size="mini" bindtap="toEdit" data-item="{{item}}">信息维护</button>
  34. <button type="warn" size="mini" bindtap="toDel" data-item="{{item}}">信息删除</button>
  35. </view>
  36. </view>
  37. </view>
  38. </scroll-view>
  39. </view>
  40. <view wx:elif="{{tabs.active=='b'}}" class="a b">
  41. <scroll-view scroll-y="true" class="scroll-view">
  42. <view class="list-scroll-view">
  43. <view class="teamList" wx:for="{{raceList}}" wx:key="item">
  44. <view class="name">{{item.player_one_name}}<text>pk</text>{{item.player_two_name}}</view>
  45. <view class="other">
  46. <view class="other_1"><text>赛事名称:</text><text>{{item.match_name||'暂无'}}</text></view>
  47. <view class="other_1"><text>比赛场地:</text><text>{{item.ground_name||'暂无'}}</text></view>
  48. <view class="other_1"><text>比赛时间:</text><text>{{item.match_time||'暂无'}}</text></view>
  49. <view class="other_1"><text>比赛状态:</text><text>{{item.status=='0'?'已安排':item.status=='1'?'待开赛':item.status=='2'?'已开赛':item.status=='3'?'已结束':'暂无'}}</text></view>
  50. </view>
  51. <view class="btn">
  52. <button type="primary" size="mini" bindtap="raceEdit" data-item="{{item}}">信息维护</button>
  53. <button type="warn" size="mini" bindtap="raceDel" data-item="{{item}}">信息删除</button>
  54. </view>
  55. </view>
  56. </view>
  57. </scroll-view>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. </mobile-main>