<!--packageC/entry_orders/wholesale_volume/wholesale_volume.wxml-->
<view>
  <van-nav-bar title="我的批发券" right-text="获得记录" left-arrow bind:click-right="goMeetingIndex" bind:click-left="streetClose" />
  <view class="contaier">
    <view class="header">
      <view class="left_box">
        <view class="box_juan">批发券</view>
        <view class="box_num">{{total}}</view>
      </view>
      <view class="right_box" bindtap="gotoCoupon_exchange">
        <icon class=" iconfont icon-jifen"></icon>
        <view class="span">积分兑换</view>
      </view>
    </view>
    <view class="info_box">
      <view class="title">
        <view class="span">批发券</view>
      </view>
      <view class='ul'>
        <view wx:for="{{info}}" class='li' wx:key="item.id">
          <view class="box_title">
            <view class="span">ID：{{item.id}}</view>
            <view class="span">{{item.used_status}}</view>
          </view>
          <view class="contBox">
            <view class="cont_box">
              <view>总次</view>
              <view>{{item.usage_count}}</view>
            </view>
            <view class="cont_box">
              <view>已使用</view>
              <view>{{item.used_count}}</view>
            </view>
          </view>
          <view class="bot_bottom">
            <view class="time">获得时间：{{item.created_at}}</view>
            <view class="right_icon" bindtap="gotoVolume_detail" data-id="{{item.id}}">
              <view class="span">明细</view>
              <van-icon name="arrow" class="fa fa-angle-right"></van-icon>
            </view>
          </view>
        </view>
      </view>
      <view class="noneList" style="margin:1.5rem 0;color:#9e9e9e;" wx:if="{{!noneList}}">暂无批发券</view>
    </view>
  </view>
</view>