<!--packageF/debt/purchaseDetails/purchaseDetails.wxml-->
<view id="purchaseDetails">
  <van-tabs active="{{active}}" bind:change='changeTap' wx:if="{{!isvip}}">
    <van-tab title="{{item}}" wx:for="{{tabNav}}" wx:key="index"></van-tab>
  </van-tabs>
  <view class="listBox">
    <view class="lis" wx:for="{{listData}}" wx:key="index">
      <view class="top">
        <view class="topLeft">{{item.change_type_name}}</view>
        <view class="topRight">￥{{item.change_amount}}</view>
      </view>
      <view class="bottom">
        <view class="bottomLeft">{{item.created_at}}</view>
        <view class="bottomRight">{{item.amount_type_name}}</view>
      </view>
    </view>
    <view class="noneLis" wx:if="{{listData.length == 0}}">暂无明细</view>
  </view>
</view>