抖音b端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.9 KiB

  1. <!--pages/index/writeoffPage/writeoffPage.ttml-->
  2. <view class='write0ffPage'>
  3. <view class='detail_msg'>
  4. <view>
  5. <view>
  6. <image src='{{couponOrderDetail.coverImg}}' mode='aspectFill'></image>
  7. </view>
  8. <view>
  9. <text>{{couponOrderDetail.title}}</text>
  10. <text>有效期至:{{couponOrderDetail.expiredTime}}</text>
  11. <text tt:if="{{couponOrderDetail.type == 8&&couponOrderDetail.couponPrice == couponOrderDetail.price}}">¥{{couponOrderDetail.couponPrice/100}}</text>
  12. <text tt:if="{{couponOrderDetail.type == 8&&couponOrderDetail.couponPrice != couponOrderDetail.price}}">¥{{couponOrderDetail.salePrice/100}}</text>
  13. </view>
  14. </view>
  15. <view>
  16. <text>领券时间</text>
  17. <text>{{couponOrderDetail.createDate}}</text>
  18. </view>
  19. <view>
  20. <text>券码</text>
  21. <text>{{couponOrderDetail.id}}</text>
  22. </view>
  23. </view>
  24. <view class='detail_info'>
  25. <view bindtap='rule'>
  26. <text>活动规则</text>
  27. <text class='iconfont icon-left'></text>
  28. </view>
  29. <view>
  30. <text tt:if="{{couponOrderDetail.type == 8}}">原价</text>
  31. <text tt:if="{{couponOrderDetail.type != 8}}">券面额</text>
  32. <text>{{couponOrderDetail.price/100}}元</text>
  33. </view>
  34. <view>
  35. <text tt:if="{{couponOrderDetail.type != 8}}">券售价</text>
  36. <text tt:if="{{couponOrderDetail.type == 8}}">底价</text>
  37. <text><text style='color:#ff3434;'>{{couponOrderDetail.couponPrice/100}}</text>元</text>
  38. </view>
  39. <view>
  40. <text>券状态</text>
  41. <text>{{statusText}}</text>
  42. </view>
  43. </view>
  44. <view class='status'>
  45. <image mode='widthFix' src='{{statusImg}}'></image>
  46. </view>
  47. <button class='user' bindtap='user' tt:if='{{flag}}' hover-class='active'>使用</button>
  48. <button class='user' bindtap='reBuck' hover-class='active' tt:else>返回首页</button>
  49. </view>