123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
- <view slot="info" class="main" style="height:{{infoHeight}}px;">
- <view class="one">
- <image class="image" src="{{bg_img}}"></image>
- <view class="one_1">
- <view class="name textOver"><text>{{matchInfo.name}}</text></view>
- <view class="other">
- <view class="otherInfo"><text>比赛状态:</text><text class="color{{matchInfo.status}}">{{matchInfo.status_name}}</text></view>
- <view class="otherInfo"><text>比赛时间:</text><text>{{matchInfo.match_time}}</text></view>
- <view class="otherInfo"><text>比赛地点:</text><text>{{matchInfo.address}}</text></view>
- </view>
- </view>
- </view>
- <view class="two">
- <e-tabs tabs="{{tabs}}" bind:tabsChange="tabsChange"></e-tabs>
- <view class="two_1">
- <view wx:if="{{tabs.active=='a'}}" class="a">
- 赛制信息
- </view>
- <view wx:if="{{tabs.active=='b'}}" class="b">
- <view class="list" wx:for="{{matchteamList}}" wx:key="item">
- <image src="{{item.logo[0].url}}"></image>
- <view class="name textOver">{{item.team_name}}</view>
- <view class="num">共{{item.members.length}}人</view>
- </view>
- </view>
- <view wx:if="{{tabs.active=='c'}}" class="c">
- <view class="list" wx:for="{{scheduleList}}" wx:key="item" bindtap="toSchedule" data-id="{{item._id}}">
- <view class="list_1" style="background-image: url({{bg_img1}})">
- <text>{{item.status=='0'?'未开始':item.status=='1'?'开始':'已结束'}}</text>
- <text>{{item.match_time}}</text>
- </view>
- <view class="list_2">
- <view class="list_2one">
- <image src="{{item.red_logo[0].url}}"></image>
- <text class="textOver">{{item.red_name}}</text>
- </view>
- <view class="list_2two">
- <text>{{item.red_branch||0}}</text>
- <text>:</text>
- <text>{{item.blue_branch||0}}</text>
- </view>
- <view class="list_2one">
- <text class="textOver">{{item.blue_name||'暂无'}}</text>
- <image src="{{item.blue_logo[0].url}}"></image>
- </view>
- </view>
- </view>
- </view>
- <view wx:if="{{tabs.active=='d'}}" class="d">
- <view class="ranking">
- <view>排名</view>
- <view>战队</view>
- <view>胜负</view>
- <view>积分</view>
- </view>
- <view class="ranking rankingList" wx:for="{{rankingList}}" wx:key="item">
- <view><text>{{item.pm}}</text></view>
- <view class="textOver">
- <image src="{{item.logo[0].url}}"></image>
- <text>{{item.team_name}}</text>
- </view>
- <view>
- <text>{{item.sheng}}</text>
- <text>/</text>
- <text>{{item.fu}}</text>
- </view>
- <view><text>{{item.jf}}</text></view>
- </view>
- </view>
- </view>
- </view>
- <!-- <view class="one">
- <image class="image" src="{{src}}"></image>
- </view>
- <view class="two">
- <view class="list">
- <view class="listtou">
- <view class="name">{{teamlist.name}}</view>
- <view class="listbut"> <button class="color{{teamlist.status}}" size="mini">{{teamlist.status=='0'?'未开始':teamlist.status=='1'?'报名中':teamlist.status=='2'?'待比赛':teamlist.status=='3'?'进行中':'已结束'}}</button>
- </view>
- </view>
- <view class="left1">
- <view class="otherInfos">
- <text class="text1">{{teamlist.match_time}}</text>
- </view>
- <view class="otherInfoq"><text class="text3">{{teamlist.address}}</text></view>
- <view class="otherInfo textOver"><text class="text3" wx:for="{{teamlist.format}}" wx:key="item">{{item.type}}{{item.name}}</text></view>
- </view>
- <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items" wx:key="key">
- <view class="right1_1">
- <text class="text4">{{items.match}}</text>
- <text class="text4">{{items.group}}</text>
- </view>
- <view class="right1_2">
- <view class="right1_2o">
- <image class="head1" src="{{items.head1}}"></image>
- </view>
- <view class="right1_2t"><text>{{items.groupname1}}</text></view>
- <view class="right1_2i">
- <text class="text6">{{items.fraction1}}</text>
- <text class="text8">:</text>
- <text class="text7">{{items.fraction2}}</text>
- </view>
- <view class="right1_2t"><text>{{items.groupname2}}</text></view>
- <view class="right1_2o">
- <image class="head2" src="{{items.head2}}"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="thr">
- <e-tabs tabs="{{tabs}}" bind:tabsChange="tabsChange"></e-tabs>
- <view wx:if="{{tabs.active=='a'}}" class="a">
- 模板
- </view>
- <view wx:elif="{{tabs.active=='b'}}" class="b">
- <view class="thrsss">
- <view class="thr-1" wx:key="item" wx:for="{{ranks}}">
- <view class="thr1">
- <view class="thr-left">
- <image class="img" src="{{item.logo[0].url}}"></image>
- </view>
- <view class="thr-right textOver"><text class="thrname">{{item.team_name}}</text> </view>
- <view class="thr-right textOver"><text class="thrperson">{{item.match_num}}人</text> </view>
- </view>
- </view>
- </view>
- </view>
- <view wx:elif="{{tabs.active=='c'}}" class="b">
- <view class="root" wx:if="{{item.status=='0'||item.status=='1'}}" wx:key="item" wx:for="{{schedule}}">
- <image class='background-image' src='/image/huang.png'></image>
- <view class="content">
- <view class="four">
- <view class="four-1">
- <view class="fourleft3">
- <text class="fourtext5">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</text>
- <text class="fourtext6">{{item.match_time}}</text>
- </view>
- <view class="fourright4">
- <view class="fourright1_2">
- <view class="fourright1_2o">
- <image class="fourhead1" src="{{item.blue_logo[0].url}}"></image>
- </view>
- <view class="fourright1_2t"><text>{{item.blue_name}}</text></view>
- <view class="fourright1_2i">
- <text class="fourtext6-1">{{item.blue_branch||0}}</text>
- <text class="fourtext8-1">:</text>
- <text class="fourtext7-1">{{item.red_branch||0}}</text>
- </view>
- <view class="fourright1_2t"><text>{{item.red_name}}</text></view>
- <view class="fourright1_2oi">
- <image class="fourhead2" src="{{item.red_logo[0].url}}"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="root" wx:if="{{item.status=='2'}}" wx:key="item" wx:for="{{schedule}}">
- <image class='background-image' src='/image/hhh.png'></image>
- <view class="content">
- <view class="four">
- <view class="four-1">
- <view class="fourleft3">
- <text class="fourtext5">{{item.status=='0'?'未开始':item.status=='1'?'开始':'已结束'}}</text>
- <text class="fourtext6">{{item.match_time}}</text>
- </view>
- <view class="fourright4">
- <view class="fourright1_2">
- <view class="fourright1_2o">
- <image class="fourhead1" src="{{item.blue_logo[0].url}}"></image>
- </view>
- <view class="fourright1_2t"><text>{{item.blue_name}}</text></view>
- <view class="fourright1_2i">
- <text class="fourtext6-1">{{item.blue_branch||0}}</text>
- <text class="fourtext8-1">:</text>
- <text class="fourtext7-1">{{item.red_branch||0}}</text>
- </view>
- <view class="fourright1_2t"><text>{{item.red_name}}</text></view>
- <view class="fourright1_2o">
- <image class="fourhead2" src="{{item.red_logo[0].url}}"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view wx:elif="{{tabs.active=='d'}}" class="b">
- <view class="head">
- <text class="head1">排名</text>
- <text class="head2">战队</text>
- <text class="head3">胜负</text>
- <text class="head4">积分</text>
- </view>
- <view class="headList">
- <view class=" item {{index < 3 ? 'select-item' : 'dis-select-item'}} sortContent" wx:for="{{listbang}}" wx:key="item">
- <text class="pai ">{{index+1}}</text>
- <image class="headtou" src="{{item.logo[0].url}}"></image>
- <text class="dui">{{item.team_name}}</text>
- <view class="fen">
- <text class="score1 {{index < 3 ? 'scorea' : 'scoreb'}}">{{item.win||0}}</text>/ <text>{{item.shu||0}}</text>
- </view>
- <view class="fens">
- <text class="score1 {{index < 3 ? 'scorea' : 'scorec'}}">{{item.integral||0}}</text>
- </view>
- </view>
- </view>
- </view>
- </view> -->
- </view>
- </mobile-main>
|