<mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
  <view slot="info" class="main" style="height:{{infoHeight}}px;">
    <!-- <text class="theme">比赛管理</text> -->
    <view class="one">
      <image src="{{src}}" class="images"></image>
    </view>
    <view class="two">
      <text class="themes" bindtap='jump' >创建比赛</text>
      <image class="imags" src="{{src1}}"></image>
    </view>
    <view class="thr">
      <view class="left">
        <text class="th" bindtap='tuan'>团队排名</text>
        <image class="imagx" src="{{src4}}"></image>
        <image class="imagh" src="{{src2}}"></image>
      </view>
      <view class="right">
        <text class="th" bindtap='shen' >团队审批</text>
        <image class="imagx" src="{{src5}}"></image>
        <image class="imagh" src="{{src2}}"></image>
      </view>
    </view>
    <view class="four">
      <van-tabs v-model:active="active" class="van">
        <van-tab title="进行中">
          <view class="list" wx:key="item" wx:for="{{list}}">
            <view class="name" bindtap="tiao" >{{item.name}}</view>
            <button class="button" size="mini">{{item.state}}</button>
            <view class="left1">
              <view class="otherInfos">
                <text class="text1">{{item.date}}</text>
                <text class="text1">{{item.week}}</text>
                <text class="text1">{{item.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="{{liststart}}">
            <view class="name" bindtap="tiao" >{{item.name}}</view>
            <button class="buttonstart" size="mini">{{item.state}}</button>
            <view class="left1">
              <view class="otherInfos">
                <text class="text1">{{item.date}}</text>
                <text class="text1">{{item.week}}</text>
                <text class="text1">{{item.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="{{listend}}">
            <view class="name" bindtap="tiao" >{{item.name}}</view>
            <button class="buttonend" size="mini">{{item.state}}</button>
            <view class="left1">
              <view class="otherInfos">
                <text class="text1">{{item.date}}</text>
                <text class="text1">{{item.week}}</text>
                <text class="text1">{{item.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>