index.wxml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
  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" bindtap="toView" data-item="{{item}}">
  10. <view class="list_1">
  11. <image class="image" src="{{item.logo&&item.logo.length>0?item.logo[0].url:''}}"></image>
  12. </view>
  13. <view class="list_2">
  14. <view class="name">
  15. <text class="status">{{item.status=='0'?'报名中':item.status=='1'?'报名截止':item.status=='2'?'报名结束':item.status=='3'?'发布秩序册':item.status=='4'?'比赛中':item.status=='5'?'比赛结束':'暂无'}}</text>
  16. <text>{{item.name}}</text>
  17. </view>
  18. <view class="other">
  19. <view class="other_1">
  20. <text>报名时间:</text>
  21. <text>{{item.sign_end_time}}</text>
  22. </view>
  23. <view class="other_1">
  24. <text>比赛时间:</text>
  25. <text>{{item.start_time}}-{{item.end_time}}</text>
  26. </view>
  27. <view class="other_1">
  28. <text>比赛地点:</text>
  29. <text>{{item.address}}</text>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </scroll-view>
  36. </view>
  37. <view class="suspension" wx:if="{{user.type=='0'}}">
  38. <text class="mymatch" bindtap="toCommon" data-route="/pages/usermysign/index">我的报名</text>
  39. </view>
  40. </view>
  41. </mobile-main>