C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

71 行
2.0 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 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. <view data-couponOrderStatus="{{order.couponOrderStatus}}" data-title="{{order.title}}" data-subtitle="{{order.subTitle}}" data-remark="{{order.remark}}" data-quancode="{{order.couponOrderId}}" bindtap="powerDrawer">
  39. <view style="width:86%;clear: both;">
  40. <text>兑换码</text>
  41. <text class="fr">{{order.couponOrderId}}</text>
  42. </view>
  43. <view>
  44. <image class="spcode" src="./../../../assets/img/spcode.png" mode="widthFix"></image>
  45. </view>
  46. </view>
  47. <view>
  48. <text>下单时间</text>
  49. <text>{{createDate}}</text>
  50. </view>
  51. <view>
  52. <text>订单编号</text>
  53. <text>{{order.orderNumber}}</text>
  54. </view>
  55. <view>
  56. <text>订单金额</text>
  57. <text class="jine">¥{{order.salePrice/100}}</text>
  58. </view>
  59. </view>
  60. <!-- 待付款 显示立即购买的按钮 -->
  61. <view wx:if="{{order.orderStatus==0}}" class="buy-view app-border-top">
  62. <button bindtap='orderFunc' data-couponChannelId="{{order.id}}" class='buy'>立即支付</button>
  63. </view>
  64. </view>