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.

88 line
3.3 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. <view class='userinfo'bindtap='gotouser'>
  26. <view class="user-avatar" bindtap='gotograde'>
  27. <open-data class="open" type="userAvatarUrl"></open-data>
  28. </view>
  29. <view class="user-data" bindtap='gotograde'>
  30. <open-data type="userNickName"></open-data>
  31. <text class='chengzhang'>{{levelName}}</text>
  32. <view class="view">成长值<text class="score">{{score}}</text>
  33. 优惠劵<text class="score">{{score}}</text>
  34. </view>
  35. </view>
  36. <view class='barcode'>
  37. <image src="{{barcode}}" class='barcodeimg' mode='widthFix'></image>
  38. <image src="{{leftarrows}}" class='leftimg' mode='widthFix'></image>
  39. </view>
  40. </view>
  41. <!-- 营销活动 -->
  42. <view class='sellsection'>
  43. <view bindtap='gobargain'>
  44. <image src='{{newbargain}}'></image>
  45. </view>
  46. <view bindtap='gogroup'>
  47. <image src='{{newgroup}}'></image>
  48. </view>
  49. <view bindtap='gotoRushBuy'>
  50. <image src='{{newseckill}}'></image>
  51. </view>
  52. <view bindtap='gotodiscountcard'>
  53. <image src='{{newcard}}'></image>
  54. </view>
  55. </view>
  56. <view class='product' wx:if="{{showTopic}}">
  57. <image src='{{cover}}' bindtap='gotoTopic' mode='aspectFill'></image>
  58. </view>
  59. <!-- 砍价专场 -->
  60. <c-bargain id="bargain"/>
  61. <!-- 拼团专场 -->
  62. <c-spellGroup id="spellGroup"/>
  63. <!-- 小游戏暂时注释 -->
  64. <view class='game' wx-if="{{showIf}}">
  65. <view class='game-entry'>
  66. <image src="{{guanbi1}}" bindtap="close" style='width:30rpx;height:30rpx;position:absolute;right:0;top:-20rpx;' mode='widthFix'></image>
  67. <image src="{{usergift}}" bindtap="gotogame" class='gameimg' mode='widthFix'></image>
  68. </view>
  69. </view>
  70. <!-- 限时抢购和消费卡 -->
  71. <c-rushtobyCard id="rushtobyCard"/>
  72. <c-coupons id="lists" bind:myevent="onGetCode" loadingtext="{{loadingtext}}" loading="{{loading}}" />
  73. <g-entry id="listss" wx:if="{{showGame&&!played&&!havePlayEd}}" gamedata="{{gamedata}}" bind:myevent="" />
  74. </view>
  75. <view class='showQrcode' bindtap='hideQrcode' wx:if="{{showQrcode}}">
  76. <view class="canvas-box">
  77. <text class='memberIds' wx:if="{{levelName!='无'}}">{{levelName}}</text>
  78. <canvas canvas-id="barcode" />
  79. <button class='button' bindtap='mySpecial'>特享礼遇</button>
  80. </view>
  81. </view>
  82. <!-- 顶部签到成长值 -->
  83. <view class='signin' wx:if="{{fistLogin}}" animation="{{alphaData}}">
  84. <open-data class="open" type="userAvatarUrl"></open-data>
  85. <text class='text'>您今日签到成功,获得{{fistLogin}}成长值</text>
  86. </view>