-
- <view class="container">
- <c-banner wx:key="unique" list="{{list}}" />
- <!-- 折扣卡 -->
- <view class='section'>
- <view bindtap='gotoRushBuy'>
- <image src='{{icon001}}'></image>
- <text>限时抢购</text>
- </view>
- <view bindtap='gotodiscountCardList'>
- <image src='{{icon002}}'></image>
- <text>消费卡</text>
- </view>
- <view bindtap='qrcode'>
- <image src='{{icon003}}'></image>
- <text>会员权益</text>
- </view>
- </view>
- <!-- 小游戏暂时注释 -->
- <view class='game' bindtap="gotogame" wx-if="{{showIf}}">
- <view class='game-entry'>
- <image src="{{newUrl}}" class='gameimg' mode='widthFix'></image>
- </view>
- </view>
- <c-coupons id="lists" bind:myevent="onGetCode" loadingtext="{{loadingtext}}" loading="{{loading}}" />
- <g-entry id="listss" wx:if="{{showGame&&!played&&!havePlayEd}}" gamedata="{{gamedata}}" bind:myevent="" />
- </view>
- <view class='showQrcode' bindtap='hideQrcode' wx:if="{{showQrcode}}">
- <view class="canvas-box">
- <text class='memberIds' wx:if="{{levelName!='无'}}">{{levelName}}</text>
- <canvas hidden="{{canvasHidden}}" style="width:500rpx;height:460rpx;background:0 0 0 .6;margin:-10rpx auto;overflow:hidden" canvas-id="mycanvas2" />
- <button class='button' bindtap='mySpecial' wx:if="{{discountEnable}}">特享礼遇</button>
- </view>
- </view>
|