index.wxml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  2. <view slot="info" class="container main">
  3. <view class="zero one">
  4. <input type="text" value="{{searchInfo.name}}" bindconfirm="search" placeholder="请输入关键词" />
  5. </view>
  6. <view class="zero two">
  7. <scroll-view scroll-y="true" class="scroll-view">
  8. <view class="list-scroll-view">
  9. <view class="list" wx:for="{{list}}" wx:key="item">
  10. <view class="name">{{item.match_name}}</view>
  11. <view class="other">
  12. <view class="other_1">
  13. <text>是否支付报名费:</text>
  14. <text>{{item.pay_status=='0'?'待支付':item.pay_status=='1'?'已支付':'支付失败'}}</text>
  15. </view>
  16. </view>
  17. <view class="btn">
  18. <button type="primary" size="mini" bindtap="toView" data-item="{{item}}">详细信息</button>
  19. <button type="primary" size="mini" bindtap="toPay" data-item="{{item}}" wx:if="{{item.pay_status==='0'}}">支付</button>
  20. <button type="primary" size="mini" bindtap="toTeam" data-item="{{item}}" wx:if="{{item.pay_status=='1'&&item.needTeammate==true}}">组队申请</button>
  21. <button type="warn" size="mini" bindtap="toOut" data-item="{{item}}" wx:if="{{item.pay_status=='1'&&item.is_sign_end==false}}">退出比赛</button>
  22. </view>
  23. </view>
  24. </view>
  25. </scroll-view>
  26. </view>
  27. </view>
  28. </mobile-main>
  29. <e-dialog dialog="{{dialog}}" bind:toClose="toClose">
  30. <view slot="info">
  31. <view class="dialog_one" wx:if="{{dialog.type=='1'}}">
  32. <view class="one_1">
  33. <text>赛事名称:</text>
  34. <text>{{info.match_name||'暂无'}}</text>
  35. </view>
  36. <view class="one_1">
  37. <text>赛事组别:</text>
  38. <text>{{info.group_name||'暂无'}}</text>
  39. </view>
  40. <view class="one_1">
  41. <text>组别项目:</text>
  42. <text>{{info.project_name||'暂无'}}</text>
  43. </view>
  44. <view class="one_1">
  45. <text>比赛项目人数:</text>
  46. <text>{{info.num||0}}人</text>
  47. </view>
  48. <view class="one_1">
  49. <text>支付状态:</text>
  50. <text>{{info.pay_status=='0'?'待支付':info.pay_status=='1'?'已支付':'支付失败'}}</text>
  51. </view>
  52. </view>
  53. </view>
  54. </e-dialog>