|
@@ -7,23 +7,22 @@
|
|
<image style="width: 100%; height: 240px; background-color: #eeeeee;" src="{{src}}"></image>
|
|
<image style="width: 100%; height: 240px; background-color: #eeeeee;" src="{{src}}"></image>
|
|
</view>
|
|
</view>
|
|
<view class="two">
|
|
<view class="two">
|
|
- <view class="list" wx:key="item" wx:for="{{list}}">
|
|
|
|
|
|
+ <view class="list">
|
|
<view class="listtou">
|
|
<view class="listtou">
|
|
- <view class="name">{{item.name}}</view>
|
|
|
|
- <view class="listbut"> <button class="button" size="mini" style="background:rgb(238, 147, 28);" wx:if="{{item.state == '进行中'}}">{{item.state}}</button>
|
|
|
|
- <button class="button" size="mini" style="background:rgb(238, 88, 28);" wx:if="{{item.state == '待比赛'}}">{{item.state}}</button>
|
|
|
|
- <button class="button" size="mini" style="background:rgb(54, 233, 48)" wx:if="{{item.state == '报名中'}}">{{item.state}}</button>
|
|
|
|
- <button class="button" size="mini" style="background:rgb(136, 136, 136);" wx:if="{{item.state == '已结束'}}">{{item.state}}</button>
|
|
|
|
|
|
+ <view class="name">{{list.name}}</view>
|
|
|
|
+ <view class="listbut"> <button class="button" size="mini" style="background:rgb(238, 147, 28);" wx:if="{{list.status == '进行中'}}">{{list.status}}</button>
|
|
|
|
+ <button class="button" size="mini" style="background:rgb(238, 88, 28);" wx:if="{{list.status == '待比赛'}}">{{list.status}}</button>
|
|
|
|
+ <button class="button" size="mini" style="background:rgb(54, 233, 48)" wx:if="{{list.status == '报名中'}}">{{list.status}}</button>
|
|
|
|
+ <button class="button" size="mini" style="background:rgb(136, 136, 136);" wx:if="{{list.status == '已结束'}}">{{list.status}}</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="left1">
|
|
<view class="left1">
|
|
<view class="otherInfos">
|
|
<view class="otherInfos">
|
|
- <text class="text1">{{item.datestart}}</text>
|
|
|
|
- -
|
|
|
|
- <text class="text1">{{item.dateend}}</text>
|
|
|
|
|
|
+ <!-- <text class="text1">{{list.datestart}}</text> -->
|
|
|
|
+ <text class="text1">{{list.match_time}}</text>
|
|
</view>
|
|
</view>
|
|
- <view class="otherInfoq"><text class="text3">{{item.address}}</text></view>
|
|
|
|
- <view class="otherInfo"><text class="text3">{{item.match}}</text></view>
|
|
|
|
|
|
+ <view class="otherInfoq"><text class="text3">{{list.address}}</text></view>
|
|
|
|
+ <view class="otherInfo"><text class="text3">{{list.format[0].type}}{{list.format[0].name}}</text></view>
|
|
</view>
|
|
</view>
|
|
<view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items" wx:key="key">
|
|
<view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items" wx:key="key">
|
|
<view class="right1_1">
|
|
<view class="right1_1">
|
|
@@ -56,42 +55,38 @@
|
|
<view class="thr-1" wx:key="item" wx:for="{{lists}}">
|
|
<view class="thr-1" wx:key="item" wx:for="{{lists}}">
|
|
<view class="thr1">
|
|
<view class="thr1">
|
|
<view class="thr-left">
|
|
<view class="thr-left">
|
|
- <image class="img" src="{{item.head}}"></image>
|
|
|
|
|
|
+ <image class="img" src="{{item.logo}}"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="thr-right textOver"><text class="thrname">{{item.name}}</text> </view>
|
|
|
|
- <view><text class="thrperson">{{item.person}}人</text> </view>
|
|
|
|
|
|
+ <view class="thr-right textOver"><text class="thrname">{{item.team_name}}</text> </view>
|
|
|
|
+ <view><text class="thrperson">{{item.match_num}}人</text> </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</van-tab>
|
|
</van-tab>
|
|
<van-tab title="赛程列表">
|
|
<van-tab title="赛程列表">
|
|
- <view class="root">
|
|
|
|
|
|
+ <view class="root" wx:if="{{status=='未开始'}}" wx:key="item" wx:for="{{listbisai}}">
|
|
<image class='background-image' src='/image/huang.png'></image>
|
|
<image class='background-image' src='/image/huang.png'></image>
|
|
<view class="content">
|
|
<view class="content">
|
|
- <view class="four" wx:if="{{listbisai.length!=0}}" wx:key="item" wx:for="{{listbisai}}">
|
|
|
|
|
|
+ <view class="four">
|
|
<view class="four-1">
|
|
<view class="four-1">
|
|
<view class="fourleft3">
|
|
<view class="fourleft3">
|
|
- <text class="fourtext5">{{item.start}}</text>
|
|
|
|
- <text class="fourtext6">{{item.date}} {{item.time}}</text>
|
|
|
|
|
|
+ <text class="fourtext5">{{item.status}}</text>
|
|
|
|
+ <text class="fourtext6">{{item.match_time}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="fourright4">
|
|
<view class="fourright4">
|
|
- <view class="fourright1_1">
|
|
|
|
- <text class="fourtext4-1">{{item.match}}</text>
|
|
|
|
- <text class="fourtext4-1">{{item.group}}</text>
|
|
|
|
- </view>
|
|
|
|
<view class="fourright1_2">
|
|
<view class="fourright1_2">
|
|
<view class="fourright1_2o">
|
|
<view class="fourright1_2o">
|
|
- <image class="fourhead1" src="{{item.head1}}"></image>
|
|
|
|
|
|
+ <image class="fourhead1" src="{{item.blue_logo}}"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="fourright1_2t"><text>{{item.groupname1}}</text></view>
|
|
|
|
|
|
+ <view class="fourright1_2t"><text>{{item.blue_name}}</text></view>
|
|
<view class="fourright1_2i">
|
|
<view class="fourright1_2i">
|
|
- <text class="fourtext6-1">{{item.fraction1}}</text>
|
|
|
|
|
|
+ <text class="fourtext6-1">{{item.blue_branch}}</text>
|
|
<text class="fourtext8-1">:</text>
|
|
<text class="fourtext8-1">:</text>
|
|
- <text class="fourtext7-1">{{item.fraction2}}</text>
|
|
|
|
|
|
+ <text class="fourtext7-1">{{item.red_branch}}</text>
|
|
</view>
|
|
</view>
|
|
- <view class="fourright1_2t"><text>{{item.groupname2}}</text></view>
|
|
|
|
|
|
+ <view class="fourright1_2t"><text>{{item.red_name}}</text></view>
|
|
<view class="fourright1_2o">
|
|
<view class="fourright1_2o">
|
|
- <image class="fourhead2" src="{{item.head2}}"></image>
|
|
|
|
|
|
+ <image class="fourhead2" src="{{item.red_logo}}"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -99,33 +94,29 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="root">
|
|
|
|
|
|
+ <view class="root" wx:if="{{status=='已结束'}}" wx:key="item" wx:for="{{listbisai}}">
|
|
<image class='background-image' src='/image/hhh.png'></image>
|
|
<image class='background-image' src='/image/hhh.png'></image>
|
|
<view class="content">
|
|
<view class="content">
|
|
- <view class="four" wx:if="{{listbisai.length!=0}}" wx:key="item" wx:for="{{listbisai}}">
|
|
|
|
|
|
+ <view class="four">
|
|
<view class="four-1">
|
|
<view class="four-1">
|
|
<view class="fourleft3">
|
|
<view class="fourleft3">
|
|
- <text class="fourtext5">{{item.start}}</text>
|
|
|
|
- <text class="fourtext6">{{item.date}} {{item.time}}</text>
|
|
|
|
|
|
+ <text class="fourtext5">{{item.status}}</text>
|
|
|
|
+ <text class="fourtext6">{{item.match_time}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="fourright4">
|
|
<view class="fourright4">
|
|
- <view class="fourright1_1">
|
|
|
|
- <text class="fourtext4-1">{{item.match}}</text>
|
|
|
|
- <text class="fourtext4-1">{{item.group}}</text>
|
|
|
|
- </view>
|
|
|
|
<view class="fourright1_2">
|
|
<view class="fourright1_2">
|
|
<view class="fourright1_2o">
|
|
<view class="fourright1_2o">
|
|
- <image class="fourhead1" src="{{item.head1}}"></image>
|
|
|
|
|
|
+ <image class="fourhead1" src="{{item.blue_logo}}"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="fourright1_2t"><text>{{item.groupname1}}</text></view>
|
|
|
|
|
|
+ <view class="fourright1_2t"><text>{{item.blue_name}}</text></view>
|
|
<view class="fourright1_2i">
|
|
<view class="fourright1_2i">
|
|
- <text class="fourtext6-1">{{item.fraction1}}</text>
|
|
|
|
|
|
+ <text class="fourtext6-1">{{item.blue_branch}}</text>
|
|
<text class="fourtext8-1">:</text>
|
|
<text class="fourtext8-1">:</text>
|
|
- <text class="fourtext7-1">{{item.fraction2}}</text>
|
|
|
|
|
|
+ <text class="fourtext7-1">{{item.red_branch}}</text>
|
|
</view>
|
|
</view>
|
|
- <view class="fourright1_2t"><text>{{item.groupname2}}</text></view>
|
|
|
|
|
|
+ <view class="fourright1_2t"><text>{{item.red_name}}</text></view>
|
|
<view class="fourright1_2o">
|
|
<view class="fourright1_2o">
|
|
- <image class="fourhead2" src="{{item.head2}}"></image>
|
|
|
|
|
|
+ <image class="fourhead2" src="{{item.red_logo}}"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -144,15 +135,15 @@
|
|
<view class="listbang {{index < 3 ? 'select-item' : 'dis-select-item'}}" wx:key="item" wx:for="{{listbang}}">
|
|
<view class="listbang {{index < 3 ? 'select-item' : 'dis-select-item'}}" wx:key="item" wx:for="{{listbang}}">
|
|
<view class="item sortContent" v-for="(item,index) of list" :key="index">
|
|
<view class="item sortContent" v-for="(item,index) of list" :key="index">
|
|
<view class="pai {{index < 3 ? 'pai1' : 'pai'}}">{{index+1}}</view>
|
|
<view class="pai {{index < 3 ? 'pai1' : 'pai'}}">{{index+1}}</view>
|
|
- <image class="headtou" src="{{item.head}}"></image>
|
|
|
|
|
|
+ <image class="headtou" src="{{item.logo}}"></image>
|
|
<view class="dui">
|
|
<view class="dui">
|
|
- {{item.name}}
|
|
|
|
|
|
+ {{item.team_name}}
|
|
</view>
|
|
</view>
|
|
<view class="fen">
|
|
<view class="fen">
|
|
- <text class="score1 {{index < 3 ? 'scorea' : 'scoreb'}}">{{item.score1}}</text>/ <text>{{item.score2}}</text>
|
|
|
|
|
|
+ <text class="score1 {{index < 3 ? 'scorea' : 'scoreb'}}">{{item.win}}</text>/ <text>{{item.shu}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="fens">
|
|
<view class="fens">
|
|
- <text class="score1 {{index < 3 ? 'scorea' : 'scorec'}}">{{item.score0}}</text>
|
|
|
|
|
|
+ <text class="score1 {{index < 3 ? 'scorea' : 'scorec'}}">{{item.integral}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|