index.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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'?'报名中':'暂无'}}</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>
  38. </mobile-main>