12345678910111213141516171819202122232425262728293031323334353637383940 |
- <view class=" content main">
- <view class="one">
- <input class="input" type="text" bindconfirm="toSearch" confirm-type="search" placeholder-style=' text-align: center;' placeholder="搜索" />
- </view>
- <view class="two">
- <scroll-view class="scroll-view" scroll-y="true" bindscrolltolower="toLower" bindscroll="toScroll">
- <view class="list" wx:for="{{list}}" wx:key="index" wx:for-item="item">
- <view class="list_1">
- <view class="name textOver"> {{item.match_name||"暂无比赛名称"}} </view>
- <view class="color{{item.status}}"> {{item.status_name||'暂无状态'}} </view>
- </view>
- <view class="other">
- <view class="other_1">
- 团队名称:{{item.team_name||'暂无团队名称'}}
- </view>
- <view class="other_1">
- 报名时间:{{item.apply_time||'暂无报名时间'}}
- </view>
- <view class="other_1">
- 参赛人数:{{item.num||'0'}}人
- </view>
- <view class="other_1 textOver">
- 分数:{{item.score||'暂无分数'}}
- </view>
- </view>
- <view class="button">
- <button wx:if="{{item.status=='1'&&item.match_status=='1'||item.match_status=='2'||item.match_status=='-1'}}" class="color btn_1" type="primary" size="mini" data-item="{{item}}" bindtap="toCourse">
- 赛程信息
- </button>
- <button wx:if="{{item.status=='1'&&item.match_status=='-1'}}" class="color btn_2" type="primary" size="mini" data-item="{{item}}" bindtap="toRank">
- 排名
- </button>
- <button wx:if="{{user.type=='1'}}" class="color btn_3" type="primary" size="mini" data-item="{{item}}" bindtap="toEdit">
- {{item.status === '-1' ? '修改' : '查看'}}
- </button>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
|