<mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
  <view slot="info" class="main" style="height:{{infoHeight}}px;">
    <view class="one">
      <!-- <text class="theme">我的</text> -->
      <image src="{{src}}" class="images"></image>
    </view>
    <view class="two">
      <view class="list" wx:key="item" wx:for="{{list}}">
        <view class="left1">
          <view class="left1-1">
            <view class="name">{{item.name}}</view>
            <button class="button" size="mini">{{item.team}}</button>
          </view>
          <view class="left11-2">
            <text class="text1">{{item.company}}</text>
            <text class="text1">{{item.gender}}</text>
          </view>
        </view>
        <view class="right1">
          <image src="{{item.src}}" class="tou"></image>
        </view>
        <view class="otherInfo textOver">
          <view class="biao">
            <text class=" icon iconfont icon-qi"></text>
          </view>
          <view class="qian" bindtap="modify">
            <text class="text3">{{item.address}}</text>
            <van-icon name="arrow" color="rgb(177, 177, 177)" />
          </view>
        </view>
      </view>
    </view>
    <view class="thr">
      <view class="left2">
        <text class="text4">可对正在进行的比赛上次比分</text>
      </view>
      <view class="right2" bindtap="upload">
        <button class="buttons" size="mini">上传比分</button>
      </view>
    </view>
    <view class="four" wx:if="{{listbisai.length!=0}}" wx:key="item" wx:for="{{listbisai}}">
      <image src="{{src3}}" class="huang"></image>
      <view class="list1">
        <view class="left3">
          <text class="text5">{{item.start}}</text>
        </view>
        <view class="right3">
          <text class="text6">{{item.date}}</text>
          <text class="text6">{{item.time}}</text>
        </view>
        <view class="right4">
          <view class="right1_1">
            <text class="text4-1">{{item.match}}</text>
            <text class="text4-1">{{item.group}}</text>
          </view>
          <view class="right1_2">
            <view class="right1_2o">
              <image class="head1" src="{{item.head1}}"></image>
            </view>
            <view class="right1_2t"><text>{{item.groupname1}}</text></view>
            <view class="right1_2i">
              <text class="text6-1">{{item.fraction1}}</text>
              <text class="text8-1">:</text>
              <text class="text7-1">{{item.fraction2}}</text>
            </view>
            <view class="right1_2t"><text>{{item.groupname2}}</text></view>
            <view class="right1_2o">
              <image class="head2" src="{{item.head2}}"></image>
            </view>
          </view>
        </view>
      </view>
    </view>
    <view class="four-zan" wx:if="{{listbisai.length==0}}" wx:key="item" wx:for="{{listbisai}}">
      <view class="zan-left">
        <text>暂无比赛</text>
      </view>
      <view class="zan-right">
        <image src="{{src4}}" class="zan"></image>
      </view>
    </view>
    <view class="five">
      <view class="listtuan" wx:if="{{total!=''}}">
        <view class="otherInfo">
          <text class="tuan">我的团队</text>
          <text class="total">共参加{{total}}个队伍</text>
          <text class="chuang" bindtap="create">创建团队</text>
        </view>
        <view class="weui-cells mgt-0 {{!showMore? 'hiddenmore' : 'showmore'}}">
          <view wx:key="item" wx:for="{{list3}}" wx:for-index="idx" wx:key="key" bindtap="ToDetails" class="list3 {{idx>1 ? 'more-item' : ''}}">
            <view class="dui-left">
              <view class="dui-left1">
                <image src="{{item.head}}" class="dui-image"></image>
              </view>
              <view class="dui-right1">
                <text class="group">{{item.group}}</text>
              </view>
              <button class="ball" size="mini" wx:if="{{item.ball=='足球'}}" style="background-color:rgb(63, 127, 245);">{{item.ball}}</button>
              <button class="ball" size="mini" wx:if="{{item.ball=='篮球'}}" style="background-color:rgb(245, 172, 63);">{{item.ball}}</button>
              <!-- <text class=" icon iconfont icon-C1" wx:if="{{item.grade}}"></text> -->
              <button class="grade" size="mini">{{item.grade}}</button>
            </view>
            <view class="dui-right"><text class="person">
                共{{item.person}}人
              </text>
            </view>
            <text class="date">{{item.date}}</text>
            <text class="date">{{item.time}}创建</text>
          </view>
          <block wx:if="{{list3.length>2}}">
            <view wx:if="{{showMore}}" class="van" bindtap='listToggle'>
              <van-icon name="arrow-up" />
            </view>
            <view wx:else class="van" bindtap='listToggle'>
              <van-icon name="arrow-down" />
            </view>
          </block>
        </view>

      </view>
      <view class="list0" wx:if="{{total==''}}">
        <view class="otherInfo">
          <text class="tuan">我的团队</text>
          <text class="total1">暂无加入任何团队</text>
          <text class="chuang">创建团队</text>
        </view>
        <view class="jian">
          <view class="viewjian"><text class="jiantext">创建或加入一个团队进行比赛</text></view>
        </view>
      </view>
    </view>
    <view class="six">
      <view class="six-11"><text class="fui">我的服务</text></view>
      <view class="six-0" bindtap="Uploaded">
        <view class="six-left">
          <text class=" icon iconfont icon-shangchuanzhaopian"></text>
        </view>
        <view class="six-right">
          <text class="six-text">已上传照片</text>
        </view>
      </view>
      <view class="six-1" bindtap="change">
        <view class="six-left">
          <text class=" icon iconfont icon-xiugaimima"></text>
        </view>
        <view class="six-right">
          <text class="six-text">修改密码</text>
        </view>
      </view>
      <view class="six-2" bindtap="examine">
        <view class="six-left">
          <text class=" icon iconfont icon-shenhe"></text>
        </view>
        <view class="six-right">
          <text class="six-text">审核队员</text>
        </view>
      </view>
      <view class="six-3" bindtap="clickme">
        <view class="six-left">
          <text class=" icon iconfont icon-ren_jiesantuandui_line"></text>
        </view>
        <view class="six-right">
          <text class="six-text">解散团队</text>
        </view>
      </view>
      <view class="six-4">
        <view class="six-left">
          <text class=" icon iconfont icon-tuichudenglu"></text>
        </view>
        <view class="six-right">
          <text class="six-text">退出登录</text>
        </view>
      </view>
      <view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view>
      <view class="modalDlg" wx:if="{{showModal}}">
        <text class="modal_text1">解散团队</text>
        <text class="modal_text2">成双成队成双成队</text>
        <text class="modal_text3">解散的团队不可恢复</text>
        <button bindtap="apply" class="modal_button">解散申请</button>
        <text bindtap="go" class="modal_text4">取消</text>
      </view>
    </view>
  </view>
</mobile-main>