C端小程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

72 строки
2.1 KiB

  1. <view class='order'>
  2. <view wx:if="{{order.orderStatus==1}}" class='tips'>
  3. <text class='iconfont icon-choose'></text>
  4. <text>付款成功,请尽快到门店使用</text>
  5. </view>
  6. <view class='section'>
  7. <view class='detail_msg'>
  8. <view class='logo'>
  9. <image mode='aspectFill' src='{{order.coverImg}}'></image>
  10. </view>
  11. <view class='info'>
  12. <view>
  13. <text>{{order.title}}</text>
  14. </view>
  15. <view>
  16. <text>{{order.subTitle}}</text>
  17. </view>
  18. <!-- <view>
  19. <text>购买数量:</text>1件
  20. </view> -->
  21. <view>
  22. <text>下单时间:</text>{{createDate}}</view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class='classif'>
  27. <view class="clearfix">
  28. <text>适用门店</text>
  29. <text class="fr">{{order.merchantName}}</text>
  30. </view>
  31. <!--
  32. couponOrderStatus
  33. 0 未使用
  34. 1 已使用
  35. 2 已过期
  36. 3 已经退款
  37. -->
  38. <!--
  39. orderStatus
  40. 1
  41. 只有支付完成的时
  42. 才显示兑换码
  43. -->
  44. <view wx:if="{{order.orderStatus==1}}" data-couponOrderStatus="{{order.couponOrderStatus}}" data-title="{{order.title}}" data-subtitle="{{order.subTitle}}" data-remark="{{order.remark}}" data-quancode="{{order.couponOrderId}}" bindtap="powerDrawer">
  45. <view style="width:86%;clear: both;">
  46. <text>兑换码</text>
  47. <text class="fr">{{order.couponOrderId}}</text>
  48. </view>
  49. <view>
  50. <image class="spcode" src="./../../../assets/img/spcode.png" mode='widthFix'></image>
  51. </view>
  52. </view>
  53. <view>
  54. <text>下单时间</text>
  55. <text>{{createDate}}</text>
  56. </view>
  57. <view>
  58. <text>订单编号</text>
  59. <text>{{order.orderNumber}}</text>
  60. </view>
  61. <view>
  62. <text>订单金额</text>
  63. <text class="jine">{{order.salePrice/100}}元</text>
  64. </view>
  65. </view>
  66. <!-- 待付款 显示立即购买的按钮 -->
  67. <view wx:if="{{order.orderStatus==0}}" class="buy-view app-border-top">
  68. <button bindtap='orderFunc' data-couponChannelId="{{order.id}}" class='buy'>立即支付</button>
  69. </view>
  70. </view>