|
@@ -1,5 +1,103 @@
|
|
|
<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
|
|
|
<view slot="info" class="container main">
|
|
|
- 我的赛事
|
|
|
+ <view class="zero one">
|
|
|
+ <e-tabs tabs="{{tabs}}" bind:tabsChange="tabsChange"></e-tabs>
|
|
|
+ </view>
|
|
|
+ <view class="zero two">
|
|
|
+ <scroll-view scroll-y="true" class="scroll-view">
|
|
|
+ <view class="list-scroll-view">
|
|
|
+ <view wx:if="{{tabs.active=='a'}}" class="a">
|
|
|
+ <view class="list" wx:for="{{list}}" wx:key="item">
|
|
|
+ <view class="name">{{item.match_time}}</view>
|
|
|
+ <view class="other">
|
|
|
+ <view class="other_1">
|
|
|
+ <text>赛事名称:</text>
|
|
|
+ <text>{{item.match_name}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>赛事组别:</text>
|
|
|
+ <text>{{item.grouping_name}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>组内项目:</text>
|
|
|
+ <text>{{item.project_name}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>赛事场地:</text>
|
|
|
+ <text>{{item.ground_name}}</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="toView" data-item="{{item}}">详细信息</button>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view wx:elif="{{tabs.active=='b'}}" class="a b">
|
|
|
+ <view class="list" wx:for="{{list}}" wx:key="item">
|
|
|
+ <view class="name">{{item.match_time}}</view>
|
|
|
+ <view class="other">
|
|
|
+ <view class="other_1">
|
|
|
+ <text>赛事名称:</text>
|
|
|
+ <text>{{item.match_name}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>赛事组别:</text>
|
|
|
+ <text>{{item.grouping_name}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>组内项目:</text>
|
|
|
+ <text>{{item.project_name}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="other_1">
|
|
|
+ <text>赛事场地:</text>
|
|
|
+ <text>{{item.ground_name}}</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="toView" data-item="{{item}}">详细信息</button>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
-</mobile-main>
|
|
|
+</mobile-main>
|
|
|
+<e-dialog dialog="{{dialog}}" bind:toClose="toClose">
|
|
|
+ <view slot="info">
|
|
|
+ <view class="dialog_one" wx:if="{{dialog.type=='1'}}">
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">赛事名称:</text>
|
|
|
+ <text class="text1">{{info.match_name||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">比赛时间:</text>
|
|
|
+ <text class="text1">{{info.match_time||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">赛事组别:</text>
|
|
|
+ <text class="text1">{{info.grouping_name||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">组内项目:</text>
|
|
|
+ <text class="text1">{{info.project_name||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">赛事场地:</text>
|
|
|
+ <text class="text1">{{info.ground_name||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="one_1">
|
|
|
+ <text class="text">比赛状态:</text>
|
|
|
+ <text class="text1">{{info.status=='0'?'已安排':info.status=='1'?'待开赛':info.status=='2'?'已开赛':info.status=='3'?'已结束':'暂无'}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</e-dialog>
|