<mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
  <view slot="info" class="main" style="height:{{infoHeight}}px;">
    <view class="one">
      <image src="{{background}}" class="images"></image>
    </view>
    <view class="two">
      <text class="themes" bindtap='jump'>创建比赛</text>
      <image class="imags" src="{{match}}"></image>
    </view>
    <view class="thr">
      <view class="left">
        <text class="th" bindtap='tuan'>团队排名</text>
        <image class="imagx" src="{{ranking}}"></image>
        <image class="imagh" src="{{black}}"></image>
      </view>
      <view class="right">
        <text class="th" bindtap='shen'>团队审批</text>
        <image class="imagx" src="{{approval}}"></image>
        <image class="imagh" src="{{black}}"></image>
      </view>
    </view>
    <view class="four">
      <van-tabs v-model:active="activeName" sticky>
        <van-tab title="进行中">
          <view class="list" wx:key="item" wx:for="{{conduct}}">
            <view class="name" data-name="{{item._id}}" bindtap="tiao">{{item.name}}</view>
            <view class="listbut"> <button class="color{{item.status}}" size="mini">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</button>
            </view>
            <view class="left1">
              <view class="otherInfos">
                <text class="text1">{{item.single_time}}</text>
              </view>
              <view class="otherInfo textOver"><text class="text3">{{item.address}}</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" bindtap="xun">
                <text class="text4">{{items.match}}</text>
                <text class="text4">{{items.group}}</text>
              </view>
              <view class="right1_2">
                <view class="right1_2o">
                  <image 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 src="{{items.head2}}"></image>
                </view>
              </view>
            </view>
          </view>
        </van-tab>
        <van-tab title="未开始">
          <view class="list" wx:key="item" wx:for="{{nostart}}">
            <view class="name" data-name="{{item._id}}" bindtap="tiao">{{item.name}}</view>
            <view class="listbut"> <button class="color{{item.status}}" size="mini">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</button>
            </view>
            <view class="left1">
              <view class="otherInfos">
                <text class="text1">{{item.single_time}}</text>
              </view>
              <view class="otherInfo textOver"><text class="text3">{{item.address}}</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" bindtap="xun">
                <text class="text4">{{items.match}}</text>
                <text class="text4">{{items.group}}</text>
              </view>
              <view class="right1_2">
                <view class="right1_2o">
                  <image 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 src="{{items.head2}}"></image>
                </view>
              </view>
            </view>
          </view>
        </van-tab>
        <van-tab title="已结束">
          <view class="list" wx:key="item" wx:for="{{complete}}">
            <view class="name" data-name="{{item._id}}" bindtap="tiao">{{item.name}}</view>
            <button class="color{{item.status}}" size="mini">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</button>
            <view class="left1">
              <view class="otherInfos">
                <text class="text1">{{item.single_time}}</text>
              </view>
              <view class="otherInfo textOver"><text class="text3">{{item.address}}</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 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 src="{{items.head2}}"></image>
                </view>
              </view>
            </view>
          </view>
        </van-tab>
      </van-tabs>
    </view>

  </view>
</mobile-main>