C端小程序
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.

55 lines
2.0 KiB

  1. <navbar home back text="兑换码" background="#fff"></navbar>
  2. <view style="height:{{navigationBarHeight}} "></view>
  3. <view class='couponBox' >
  4. <view class="couponbg">
  5. <view class="title">{{title}}</view>
  6. <!-- <view class="subtitle">{{subtitle}}</view> -->
  7. <image class='line' src='{{topLineUrl}}' mode="widthFix"></image>
  8. <!--
  9. couponorderstatus
  10. 0 未使用
  11. 1 已使用
  12. 2 已过期
  13. 3 已经退款
  14. -->
  15. <view class="zhuangtai">
  16. <image wx:if="{{couponorderstatus==1}}" src="{{wm01Url}}" mode='widthFix'></image>
  17. <image wx:if="{{couponorderstatus==2}}" src="{{wm02Url}}" mode='widthFix'></image>
  18. <image wx:if="{{couponorderstatus==3}}" src="{{wm03Url}}" mode='widthFix'></image>
  19. <image wx:if="{{couponorderstatus==0&&validStatus==0}}" src="{{wm04Url}}" mode='widthFix'></image>
  20. <view class="panel" wx:if="{{couponorderstatus==0&&validStatus!=0}}">
  21. <view class="canWrap">
  22. <canvas canvas-id="qrcode" style="width: 1200rpx; height: 800rpx;" />
  23. </view>
  24. <image src="{{tempFilePath}}" mode="aspectFit" />
  25. <view class="barnum buy"><text>兑换码:</text>{{code}}</view>
  26. </view>
  27. </view>
  28. <image class='line' src='{{btomLineUrl}}' mode="widthFix"></image>
  29. <!-- <view class="gou">
  30. <view class="mai">购买须知:</view>
  31. <view class="remark">{{remark}}</view>
  32. </view> -->
  33. <view class='notes'>
  34. <view>
  35. <!-- <text>购买须知:</text> -->
  36. </view>
  37. <view wx:if="{{curHtml==''}}">
  38. <text><text class='spot'></text>{{data.remark}}</text>
  39. </view>
  40. <view wx:if="{{curHtml!=''}}">
  41. <rich-text nodes="{{curHtml}}"></rich-text>
  42. </view>
  43. </view>
  44. </view>
  45. <view class='game' bindtap="gotogame" wx-if="{{showIf}}">
  46. <view class='game-entry'>
  47. <image src="{{staticGamedata.imgUrl}}" class='gameimg' mode='widthFix'></image>
  48. <text>用户专享神秘礼物</text>
  49. <text>独家福利,抢完即止</text>
  50. </view>
  51. </view>
  52. </view>