<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  <view slot="info" class="main" style="height:{{infoHeight}}px;">
    <view class="one">
      <view class="one-2">
        <van-tabs v-model:active="activeName">
          <van-tab title="待申请" name="a" style="font-weight: 500;">
            <view class="beijing1" wx:key="item" wx:for="{{list}}">
              <view class="list1">
                <view class="list_l">
                    <view class="names">{{item.name}}</view>
                    <button class="button" size="mini">{{item.status=='0'?'未开始':item.status=='1'?'报名中':item.status=='2'?'待比赛':item.status=='3'?'进行中':'已结束'}}</button>
                  <view class="leftmueen">
                    <view class="otherInfos">
                      <text class="text9">{{item.single_time}}</text>
                    </view>
                    <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
                  </view>
                </view>
                <view class="list_r">
                  <button class="button1" bindtap="signUp" data-id="{{item._id}}" data-name="{{item.name}}" size="mini">报名</button>
                </view>
              </view>
            </view>
          </van-tab>
          <van-tab title="已申请" name="b" style="font-weight: 500;">
            <view class="thr" wx:key="item" wx:for="{{alreadyList}}">
              <view class="thr_1">
                <image class="img1" src="{{item.logo[0].url}}"></image>
                <text class="group">{{item.team_name}}</text>
                <text class="person">共{{item.match_num}}人</text>
                <text class="text4">{{item.status=='1'?'已通过':item.status=='0'?'待通过':'已驳回'}}</text>
                <view class="fou"><text class="name">创建人：{{item.create_user}}</text></view>
                <view class="time"><text class="date">{{item.create_time}}创建</text></view>
              </view>
            </view>
          </van-tab>
        </van-tabs>
      </view>
      <view>
      </view>
    </view>
  </view>
</mobile-main>