<!--packageF/debt/vipAdd/vipAdd.wxml-->
<view id="vipAdd">
    <view class="searchBox">
      <i class="iconfont icon-member-left" catchtap="blackTap"></i>
      <view class="searchMin">
        <i class="iconfont icon-all_search_2" catchtap="tapWkd"></i>
        <van-field model:value="{{keyWord}}" placeholder="搜索会员昵称/手机号" bind:confirm='tapWkd' />
      </view>
    </view>
    <view class="listBox">
      <view class="lis" wx:for="{{listData}}" wx:key="index">
        <view class="lsitTop">
          <view class="img" wx:if="{{item.has_one_vip_member}}">
            <image src="{{item.has_one_vip_member.avatar}}" alt="" />
          </view>
          <view class="user" wx:if="{{item.has_one_vip_member}}">
            <view class="name">
              {{item.has_one_vip_member.nickname}}
              <view class="grade">{{item.has_one_vip_member.uid}}</view>
            </view>
            <view class="time">化债期：{{item.end_time_str}}</view>
          </view>
          <view class="typeTxt">{{item.status_name}}</view>
        </view>
        <view class="account">
          {{plugin_setting.common_credit_name || '消费账户'}}：
          <view class="price">￥{{item.common_credit}}</view>
        </view>
        <view class="ticket">
          <view class="btn" catchtap="addToVip" data-item="{{item}}" data-key='coupon' wx:if="{{item.status == 1}}">联名提货券</view>
        </view>
      </view>
    </view>
    <view class="addBtn set-pc-style">
      <view class="addTap" catchtap="addToVip" data-item="{{item}}">添加VIP</view>
    </view>
  </view>
