<!--packageH/signPage/contractBills/contractBills.wxml-->
<view class="contract-bills">
    <view class="head" id="head">
      <view class="head-item">
        <view class="num">{{dataInfo.contract_num_sum || 0}}</view>
        <view>购买数量</view>
      </view>
      <view class="head-item">
        <view class="num">{{dataInfo.use_num_sum || 0}}</view>
        <view>已使用数量</view>
      </view>
      <view class="head-item">
        <view class="num">{{dataInfo.rest_num_sum || 0}}</view>
        <view>可使用数量</view>
      </view>
    </view>
    <!-- <scroll-view
      class="bill-box"
      style="height: {{listHeight}}"
      scroll-y="true"
      scroll-top="true"
      enable-back-to-top="true"
      enhanced="true"
      bindscrolltolower="getMoreData"
    > -->
    <view class="bill-box">
      <view class="blank" wx:if="{{recordsList.length<=0}}" style="text-align: center;">
        <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="item-box"
        wx:for="{{recordsList}}"
        wx:key="{{item.id}}"
      >
        <view class="top">
          <!--<view class="left">-->
            <!-- <image class="img" src="https://b.yunzmall.com/image/7ddfbe47f490da923a777062779c4142.jpg"></image> -->
          <!--</view>-->
          <view class="left">
            <view class="title">{{item.change_mode}}</view>
            <!--<view class="price">{{$i18n.t('money')}}500</view>-->
            <!--<view class="time">购买时间2020-02-15 15:25:24</view>-->
            <!--<view class="time">可用合同数：180</view>-->
          </view>
          <view class="right">
            <view class="price" wx:if="{{item.income_type == 1}}">{{item.contract_num}}份</view>
            <view class="green" wx:else>{{item.contract_num}}份</view>
          </view>
        </view>
        <view class="bottom">
          <view class="time">可用合同数：{{item.after_num}}</view>
          <view class="time right">购买时间:{{item.created_at}}</view>
        </view>
      </view>
    </view>
    <!-- </scroll-view> -->

    <signButton></signButton>
    <!--<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/signPage/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="handleShowBox">-->
      <!--<image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_exprot@2x.png"></image>-->
    <!--</view>-->
  </view>
