<!--subPackage/page/pages/valueCardRecords/valueCardRecords.wxml-->
<view class='records-list' wx:if="{{records.length != 0}}">
    <view class='records-item' 
    wx:for="{{records}}"
    wx:for-item="item"
    wx:for-index="idx"
    wx:key="*this">
      <view class='records-item-lf'>
        <view class='records-title'>{{item.activityName}}</view>
        <view class="records-desc">超值卡号：{{item.supValCardId}} 
        <text class="copy" data-value="{{item.supValCardId}}" bindtap="onTapCopy">复制</text> </view>
        <view class="records-desc">购买时间：{{item.payOrderTime}}</view>
        <view class="records-desc">有效时间：{{item.startTime}} 至 {{item.endTime}}</view>
      </view>
      <view class='records-item-rg'>
        <text wx:if="{{item.buyAwayType == 1}}">￥{{item.buyPriceText}}</text>
        <text wx:if="{{item.buyAwayType == 2}}">{{item.buyIntegration}}积分</text>
      </view>
    </view>
</view>

<view class="no-data" wx:if="{{records.length == 0}}">暂无购买记录~</view>

<view class='no-more' wx:if="{{isNoMore}}">-- 我也是有底线滴 --</view>
