123456789101112131415161718192021222324252627282930313233343536 |
- <mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
- <view slot="info" class="container main">
- <view class="zero one">
- <view class="one_1">
- <input type="text" value="{{searchInfo.name}}" bindconfirm="search" placeholder="请输入关键词" />
- </view>
- <view class="one_2">
- <view class="btn">
- <button type="primary" bindtap="toCommon" data-route="race/auto">自动编排</button>
- </view>
- <view class="btn">
- <button type="primary" bindtap="toCommon" data-route="race/add">手动编排</button>
- </view>
- </view>
- </view>
- <view class="zero two">
- <scroll-view scroll-y="true" class="scroll-view">
- <view class="list-scroll-view">
- <view class="list" wx:for="{{raceList}}" wx:key="item">
- <view class="name">{{item.player_one_name}}<text>pk</text>{{item.player_two_name}}</view>
- <view class="other">
- <view class="other_1"><text>赛事名称:</text><text>{{item.match_name||'暂无'}}</text></view>
- <view class="other_1"><text>比赛场地:</text><text>{{item.ground_name||'暂无'}}</text></view>
- <view class="other_1"><text>比赛时间:</text><text>{{item.match_time||'暂无'}}</text></view>
- <view class="other_1"><text>比赛状态:</text><text>{{item.status=='0'?'已安排':item.status=='1'?'待开赛':item.status=='2'?'已开赛':item.status=='3'?'已结束':'暂无'}}</text></view>
- </view>
- <view class="btn">
- <button type="primary" size="mini" bindtap="toEdit" data-item="{{item}}">信息维护</button>
- <button type="warn" size="mini" bindtap="toDel" data-item="{{item}}">信息删除</button>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- </mobile-main>
|