C端小程序
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

73 行
2.2 KiB

  1. <view class='order'>
  2. <view wx:if="{{data.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='{{data.coverImg}}'></image>
  10. </view>
  11. <view class='info'>
  12. <view>
  13. <text>{{data.title}}</text>
  14. </view>
  15. <view>
  16. <text>{{data.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">{{data.merchantName}}</text>
  30. </view>
  31. <view wx:if="{{data.orderStatus==1}}" data-quancode="{{data.id}}" bindtap="powerDrawer" data-statu="open">
  32. <view>
  33. <text>兑换码:</text>
  34. <text>{{data.id}}</text>
  35. </view>
  36. <view>
  37. <image class="spcode" src="./../../../assets/img/spcode.png" mode="widthFix"></image>
  38. </view>
  39. </view>
  40. <view>
  41. <text>下单时间</text>
  42. <text>{{createDate}}</text>
  43. </view>
  44. <view>
  45. <text>订单编号</text>
  46. <text>{{data.orderNumber}}</text>
  47. </view>
  48. <view>
  49. <text>订单金额</text>
  50. <text class="jine">¥{{data.salePrice/100}}</text>
  51. </view>
  52. </view>
  53. <!-- 待付款 显示立即购买的按钮 -->
  54. <view wx:if="{{data.orderStatus==0}}" class="buy-view app-border-top">
  55. <button bindtap='orderFunc' data-couponChannelId="{{data.id}}" class='buy'>立即购买</button>
  56. </view>
  57. </view>
  58. <!--mask-->
  59. <view class="drawer_screen" data-quancode="{{data.id}}" wx:if="{{showModalStatus}}" bindtap="powerDrawer" data-statu="close"></view>
  60. <view animation="{{animationData}}" class="drawer_box" wx:if="{{showModalStatus}}">
  61. <view class="panel">
  62. <view class="barcode">
  63. <canvas canvas-id="barcode{{flag+1}}" />
  64. </view>
  65. <view class="qrcode">
  66. <canvas canvas-id="qrcode{{flag+1}}" />
  67. </view>
  68. <view class="barnum"><text>兑换码:</text>{{data.id}}</view>
  69. </view>
  70. </view>