index.wxml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
  2. <view slot="info" class="container main">
  3. <view class="zero one">
  4. <view class="one_1">
  5. <input type="text" value="{{searchInfo.name}}" bindconfirm="search" placeholder="请输入组名称" />
  6. </view>
  7. <view class="one_2">
  8. <view class="btn">
  9. <button type="primary" bindtap="toCommon" data-route="raceteam/auto">自动编排</button>
  10. </view>
  11. <view class="btn">
  12. <button type="primary" bindtap="toCommon" data-route="raceteam/add">手动编排</button>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="zero two">
  17. <scroll-view scroll-y="true" class="scroll-view">
  18. <view class="list-scroll-view">
  19. <view class="list" wx:for="{{list}}" wx:key="item">
  20. <view class="name">{{item.name}}</view>
  21. <view class="other">
  22. <view class="other_1"><text>赛事名称:</text><text>{{item.match_name||'暂无'}}</text></view>
  23. <view class="other_1"><text>赛事组别:</text><text>{{item.grouping_name||'暂无'}}</text></view>
  24. <view class="other_1"><text>组内项目:</text><text>{{item.project_name||'暂无'}}</text></view>
  25. <view class="other_1"><text>前x名晋级:</text><text>{{item.rise||'暂无'}}</text></view>
  26. </view>
  27. <view class="btn">
  28. <button type="primary" size="mini" bindtap="toEdit" data-item="{{item}}">信息维护</button>
  29. <button type="warn" size="mini" bindtap="toDel" data-item="{{item}}">信息删除</button>
  30. </view>
  31. </view>
  32. </view>
  33. </scroll-view>
  34. </view>
  35. </view>
  36. </mobile-main>