<view class="container page">
  <view class="coupon_detail clearfix">
    <view class="fl wmfl">
      <image src="{{data.coverImg}}"/>
    </view>
    <view class="fl right">
      <text class="title">{{data.title}}</text>
      <view class="time">{{data.subTitle}}</view>
      <view class="money">
        <text>￥{{data.salePrice/100}}</text>
        <del wx:if="{{data.unit==0}}">{{data.price/100}}元</del>
        <text class='txt02' wx:if="{{data.unit==1}}">{{data.price/100}}小时</text>
        <text wx:if="{{data.usePrice!=undefined}}" class="manjian">满{{data.usePrice/100}}元可用</text>
        <text wx:if="{{data.usePrice==undefined}}" class="manjian">仅限本店使用</text>
      </view>
    </view>
  </view>
 
  <view class='note'>
    <view wx:if="{{data.couponOrderStatus==0}}"><text>下单时间</text><text>{{createDate}}</text></view>
    <view wx:if="{{data.couponOrderStatus==1}}"><text>核销时间</text><text>{{updateDate}}</text></view>
    <view wx:if="{{data.couponOrderStatus==2}}"><text>过期时间</text><text>{{updateDate}}</text></view>
    <view wx:if="{{data.couponOrderStatus==3}}"><text>退款时间</text><text>{{updateDate}}</text></view>
    <view><text>有效期至：</text><text>{{expiredTime}}</text></view>
    <view><text>订单编号</text><text>{{data.orderId}}</text></view>
    <view><text>实付金额</text><text style='color:#ff4949;font-size:32rpx;'>{{data.couponPrice/100}}元</text></view>
  </view>
  <view class='notes' style="border-bottom:0">
    <view>
      <text>购买须知</text>
    </view>
    <view>
      <text><text class='spot'></text>{{data.remark}}</text>
    </view>
  </view>
</view>