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.

49 lines
2.0 KiB

  1. <view class="container">
  2. <c-banner wx:key="unique" list="{{list}}" />
  3. <!-- 折扣卡 -->
  4. <view class='section'>
  5. <view bindtap='searchbar'>
  6. <image src='{{icon0005}}'></image>
  7. <text>门店</text>
  8. </view>
  9. <view bindtap='qrcode'>
  10. <image src='{{icon0008}}'></image>
  11. <text>会员权益</text>
  12. </view>
  13. <view bindtap='mycard'>
  14. <image src='{{icon0006}}'></image>
  15. <i class="red" style="display:{{display1}}"></i>
  16. <text>我的卡包</text>
  17. </view>
  18. <view bindtap='mycoupon'>
  19. <image src='{{icon0007}}'></image>
  20. <i class="red" style="display:{{display}}"></i>
  21. <text>我的券包</text>
  22. </view>
  23. </view>
  24. <!-- 砍价专场 -->
  25. <c-bargain/>
  26. <!-- 拼团专场 -->
  27. <c-spellGroup/>
  28. <!-- 小游戏暂时注释 -->
  29. <view class='game' wx-if="{{showIf}}">
  30. <view class='game-entry'>
  31. <image src="{{guanbi1}}" bindtap="close" style='width:30rpx;height:30rpx;position:absolute;right:0;top:-20rpx;' mode='widthFix'></image>
  32. <image src="{{usergift}}" bindtap="gotogame" class='gameimg' mode='widthFix'></image>
  33. </view>
  34. </view>
  35. <view class='clearfix rushtobuyimgs'>
  36. <image class='fl' src='{{rushtobuy}}' bindtap='rushtobuy' mode='widthFix'></image>
  37. <image class='fr' src='{{wmcard}}' bindtap='gotodiscountcard' mode='widthFix'></image>
  38. </view>
  39. <c-coupons id="lists" bind:myevent="onGetCode" loadingtext="{{loadingtext}}" loading="{{loading}}" />
  40. <g-entry id="listss" wx:if="{{showGame&&!played&&!havePlayEd}}" gamedata="{{gamedata}}" bind:myevent="" />
  41. </view>
  42. <view class='showQrcode' bindtap='hideQrcode' wx:if="{{showQrcode}}">
  43. <view class="canvas-box">
  44. <text class='memberIds' wx:if="{{levelName!='无'}}">{{levelName}}</text>
  45. <canvas hidden="{{canvasHidden}}" style="width:500rpx;height:460rpx;background:0 0 0 .6;margin:-10rpx auto;overflow:hidden" canvas-id="mycanvas2" />
  46. <button class='button' bindtap='mySpecial'>特享礼遇</button>
  47. </view>
  48. </view>