index.wxml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
  2. <view slot="info" class="container main">
  3. <view class="zero one">
  4. <view class="one_1"><image src="/image/lingdang.png" mode="widthFix"></image></view>
  5. <view class="one_2"><input type="text" value="{{searchInfo.name}}" bindconfirm="search" placeholder="请输入比赛名称" /></view>
  6. </view>
  7. <view class="zero two">
  8. <scroll-view scroll-y="true" class="scroll-view">
  9. <view class="list-scroll-view">
  10. <view class="list" wx:for="{{list}}" wx:key="item" bindtap="toView" data-item="{{item}}">
  11. <view class="list_1">
  12. <!-- <image class="image" src="{{item.logo&&item.logo.length>0?item.logo[0].url:''}}"></image> -->
  13. <image class="image" src="/image/lingdang.png"></image>
  14. </view>
  15. <view class="list_2">
  16. <view class="name">
  17. <text class="status">{{item.status=='0'?'报名中':item.status=='1'?'报名截止':item.status=='2'?'报名结束':item.status=='3'?'发布秩序册':item.status=='4'?'比赛中':item.status=='5'?'比赛结束':'暂无'}}</text>
  18. <text>{{item.name}}</text>
  19. </view>
  20. <view class="other">
  21. <view class="other_1">
  22. <text>报名时间:</text>
  23. <text>{{item.sign_end_time}}</text>
  24. </view>
  25. <view class="other_1">
  26. <text>比赛时间:</text>
  27. <text>{{item.start_time}}-{{item.end_time}}</text>
  28. </view>
  29. <view class="other_1">
  30. <text>比赛地点:</text>
  31. <text>{{item.address}}</text>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </scroll-view>
  38. </view>
  39. <view class="suspension" >
  40. <text class="mymatch" bindtap="toCommon" data-route="/pages/usermysign/index">我的报名</text>
  41. </view>
  42. </view>
  43. </mobile-main>