C端小程序
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.wxml 2.7 KiB

1 år sedan
1 år sedan
1 år sedan
1 år sedan
4 år sedan
1 år sedan
1 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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="closeRq" wx:if="{{showhieRq}}" bindtap="setRq">
  26. <image class="updataRqCode" mode='widthFix' src="{{upDataRqUrlF}}"></image>
  27. <view class="upDataRq">点一点刷新二维码</view>
  28. </view>
  29. <view class="coedTiem" wx:if="{{!showhieRq&&expiredSeconds>1}}">二维码在
  30. <text style="color:red">{{expiredSeconds}}s</text>
  31. 后失效
  32. </view>
  33. <view class="barnum">
  34. <view class="barnumtext">{{showIdFalg?code:codeS}}</view>
  35. <image wx:if="{{!showIdFalg}}" class="barnumImg" src="../../assets/images/password-show.png" bindtap="showId"></image>
  36. <image wx:if="{{showIdFalg}}" class="barnumImg" src="../../assets/images/password-close.png" bindtap="showId"></image>
  37. </view>
  38. </view>
  39. </view>
  40. <image class='line' src='{{btomLineUrl}}' mode="widthFix"></image>
  41. <!-- <view class="gou">
  42. <view class="mai">购买须知:</view>
  43. <view class="remark">{{remark}}</view>
  44. </view> -->
  45. <view class='notes'>
  46. <view>
  47. <!-- <text>购买须知:</text> -->
  48. </view>
  49. <view wx:if="{{curHtml==''}}">
  50. <text><text class='spot'></text>{{data.remark}}</text>
  51. </view>
  52. <view wx:if="{{curHtml!=''}}">
  53. <rich-text nodes="{{curHtml}}"></rich-text>
  54. </view>
  55. </view>
  56. </view>
  57. <view class='game' bindtap="gotogame" wx-if="{{showIf}}">
  58. <view class='game-entry'>
  59. <image src="{{staticGamedata.imgUrl}}" class='gameimg' mode='widthFix'></image>
  60. <text>用户专享神秘礼物</text>
  61. <text>独家福利,抢完即止</text>
  62. </view>
  63. </view>
  64. </view>