<!--packageI/parkCouponFree/components/coupon/coupon.wxml-->
<view class="car-coupon-cell">
  <block wx:if="{{couponType == 1}}">
    <text class="coupon-left">{{items.coupon_type_name}}
      {{items.coupon_value_name}}</text>
    <view class="coupon-right">
      <view class="coupon-title">{{items.name}}</view>
      <view class="coupon-des">{{items.point}}{{integral}}兑换1张</view>
    </view>
  </block>
  <block wx:if="{{couponType == 0}}">
    <text class="coupon-left">{{items.has_one_coupon.coupon_type_name}}
      {{items.has_one_coupon.coupon_value_name}}</text>
    <view class="coupon-right">
      <view class="coupon-title">{{items.has_one_coupon.name}}</view>
      <view class="coupon-des">兑换车牌号：{{items.car_number}}</view>
      <view class="coupon-des">兑换时间：{{items.created_at}}</view>
    </view>
  </block>
</view>