discount-card.wxml 1.1 KB
<!--pages/discount-card/discount-card.wxml-->
<view class="container">
  <view style="position:relative">
    <view class="picBox" wx:for="{{cardList}}" data-index="{{index}}" data-id="{{item.id}}" data-type="{{item.type}}"
      data-amount="{{item.fullAmount}}" data-cardamount="{{item.amount}}">
      <view class="left">
        <view class="price">¥{{item.amount}}</view>
        <view wx:if="{{item.fullAmount==undefined}}">无门槛使用</view>
        <view wx:if="{{item.fullAmount!==undefined}}">满{{item.fullAmount}}可用</view>
      </view>
      <view class="right">
        <view>{{item.name}}</view>
        <view class="time">{{startTime}}-{{endTime}}</view>
        <view class="time">{{item.time}}</view>
      </view>
      <view class="bjPic">
        <image src="/images/youhuiquan.png" mode="aspectFill"></image>
      </view>
      <view class="topCircle"></view>
      <view class="bottomCircle"></view>

    </view>
  </view>
  <view class="bottomHint" wx:if="{{bottomHint}}">
    我是有底线的~
  </view>
  <view class="listBlank" wx:if="{{cardList.length==0}}">
    暂无可用优惠券~
  </view>
</view>