<view class="content">
  <view class="list">
    <block wx:if="{{orderList && orderList.length > 0}}">
      <view class="item" wx:for="{{orderList}}" wx:key="index">
        <view class="payAmount">支付金额：{{item.payAmount / 100}} 元</view>
        <view class="payTime">支付时间：{{item.payTime}}</view>
        <view>到期时间：{{item.validEndTime}}</view>
        <button class="check" type="primary" data-item="{{item}}" bindtap="goCheckDetail">查看</button>
      </view>
    </block>
    <block wx:else>
      <view class="noHistory">
        暂无购买历史
      </view>
    </block>
  </view>
</view>