<!--packageH/signPage/contractList/contractList.wxml-->
  <view class="ide-result">
    <view id="tabs">
      <van-tabs color="#377aff" bind:click="tabChange" active="{{active}}">
        <van-tab title="待我签署" name="0"></van-tab>
        <van-tab title="我已签署" name="1"></van-tab>
        <van-tab title="已完成" name="2"></van-tab>
        <van-tab title="已超时" name="4"></van-tab>
      </van-tabs>
    </view>
    <view class="blank"  wx:if="{{recordsList.length <= 0}}">
      <image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/blank.png"></image>
      <text class="span">还没有记录哦</text>
    </view>

    <view class="content">
      <view class="item-box"
        wx:for="{{recordsList}}"
        wx:key="id"
        bindtap="toSign"
        data-record="{{item}}"
      >
        <view class="head">{{item.name}}</view>
        <view class="item-bottom">
          <view class="title">
            发起人：{{item.account_name}}
          </view>
          <view class="status">
            <text class="tag">{{item.status_desc}}</text>
          </view>
        </view>
        <view class="item-bottom">
          <view class="title">
            参与人：
            <text
              wx:for="{{item.has_many_role}}"
              wx:for-item="role"
              wx:for-index="index"
              wx:key="index"
            >{{role.name ? role.name : ''}}<text wx:if="{{index < item.has_many_role.length-1}}">，</text></text>
          </view>
          <view class="status">
            <!--<text style="margin-right: 8rpx" wx:if="{{item.status <= 0}}" catchtap="stopUse" data-record="{{item}}">取消</text>-->
            <!--<text catchtap="downpdf" data-record="{{item}}">下载</text>-->
          </view>
        </view>
      </view>
    </view>

    <view class="fixed-box"  wx:if="{{showBox}}">
      <navigator open-type="reLaunch" class="fixed-item" url="/packageG/index/index">
        <icon class="iconfont icon-zhuye2 iicon" style="font-size: 28px;"></icon>
        <text>首页</text>
      </navigator>
      <!--<navigator open-type="reLaunch" class="fixed-item" url="/packageH/signIndexPlu/signIndex/signIndex">-->
        <!--<icon class="iconfont icon-yq_hetongzhongxin iicon" style="font-size: 26px;"></icon>-->
        <!--<text>合同中心</text>-->
      <!--</navigator>-->
      <view class="triangle" ></view>
    </view>
    <view class="fixed-img"  bindtap="handlerImg">
      <image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_exprot@2x.png" alt=""></image>
    </view>
  </view>
