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

80 строки
2.6 KiB

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