...
|
...
|
@@ -106,53 +106,55 @@ |
|
|
</block>
|
|
|
|
|
|
<!--弹出消息框-->
|
|
|
<view class='msg-container' hidden='{{!showMsg ? true : false}}'>
|
|
|
<block wx:if='{{userInfo.sort}}'><!--用户有排队信息的情况下-->
|
|
|
<block wx:if='{{activityInfo.isDrawEnd}}'><!--如果活动结束,并开奖-->
|
|
|
<block wx:if='{{userInfo.isLucky}}'><!--中奖弹框-->
|
|
|
<text class='title'>恭喜!</text>
|
|
|
<text class='queue-text lucky'>
|
|
|
<text>恭喜您限购码GET,请到个人中心查看明细。</text>
|
|
|
</text>
|
|
|
<view class='msg-button-container'>
|
|
|
<view class='button-close' bindtap='closeMsg'>关闭</view>
|
|
|
<button class='button-share' plain='true' bindtap='navigateToUserCodePage'>去看看</button>
|
|
|
</view>
|
|
|
</block>
|
|
|
<block wx:else><!--没中奖弹框-->
|
|
|
<text class='title'>OOPS!</text>
|
|
|
<text class='queue-text lucky'>
|
|
|
<text>幸运女神擦肩而过,不要灰心下次就是您!</text>
|
|
|
</text>
|
|
|
<view class='msg-button-container fail'>
|
|
|
<view class='button-close' bindtap='closeMsg'>关闭</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</block>
|
|
|
<block wx:else><!--活动没结束,排队成功弹框-->
|
|
|
<text class='title'>排队成功</text>
|
|
|
<text class='queue-text'>
|
|
|
<text>您的排队号为: </text>
|
|
|
<text class='queue-num'>{{userInfo.sort}}</text>
|
|
|
</text>
|
|
|
<text class='share-text'>邀请小伙伴助力,中奖几率更高哦~</text>
|
|
|
<form bindsubmit='submitFormId' report-submit='true'>
|
|
|
<view class='msg-button-container'>
|
|
|
<button class='button-close' bindtap='closeMsg' plain='true' form-type='submit'>关闭</button>
|
|
|
<button class='button-share' open-type="share" plain='true' form-type='submit'>去分享</button>
|
|
|
</view>
|
|
|
</form>
|
|
|
</block>
|
|
|
</block>
|
|
|
<block wx:else><!--活动结束弹框-->
|
|
|
<text class='title'>OOPS!</text>
|
|
|
<text class='queue-text fail'>
|
|
|
<text>您来晚啦,下次早点哦</text>
|
|
|
</text>
|
|
|
<view class='msg-button-container fail'>
|
|
|
<view class='button-close' bindtap='closeMsg'>关闭</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
<view class='msg-wrapper' hidden='{{!showMsg ? true: false}}'>
|
|
|
<view class='msg-container'>
|
|
|
<block wx:if='{{userInfo.sort}}'><!--用户有排队信息的情况下-->
|
|
|
<block wx:if='{{activityInfo.isDrawEnd}}'><!--如果活动结束,并开奖-->
|
|
|
<block wx:if='{{userInfo.isLucky}}'><!--中奖弹框-->
|
|
|
<text class='title'>恭喜!</text>
|
|
|
<text class='queue-text lucky'>
|
|
|
<text>恭喜您限购码GET,请到个人中心查看明细。</text>
|
|
|
</text>
|
|
|
<view class='msg-button-container'>
|
|
|
<view class='button-close' bindtap='closeMsg'>关闭</view>
|
|
|
<button class='button-share' plain='true' bindtap='navigateToUserCodePage'>去看看</button>
|
|
|
</view>
|
|
|
</block>
|
|
|
<block wx:else><!--没中奖弹框-->
|
|
|
<text class='title'>OOPS!</text>
|
|
|
<text class='queue-text lucky'>
|
|
|
<text>幸运女神擦肩而过,不要灰心下次就是您!</text>
|
|
|
</text>
|
|
|
<view class='msg-button-container fail'>
|
|
|
<view class='button-close' bindtap='closeMsg'>关闭</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</block>
|
|
|
<block wx:else><!--活动没结束,排队成功弹框-->
|
|
|
<text class='title'>排队成功</text>
|
|
|
<text class='queue-text'>
|
|
|
<text>您的排队号为: </text>
|
|
|
<text class='queue-num'>{{userInfo.sort}}</text>
|
|
|
</text>
|
|
|
<text class='share-text'>邀请小伙伴助力,中奖几率更高哦~</text>
|
|
|
<form bindsubmit='submitFormId' report-submit='true'>
|
|
|
<view class='msg-button-container'>
|
|
|
<button class='button-close' bindtap='closeMsg' plain='true' form-type='submit'>关闭</button>
|
|
|
<button class='button-share' open-type="share" plain='true' form-type='submit'>去分享</button>
|
|
|
</view>
|
|
|
</form>
|
|
|
</block>
|
|
|
</block>
|
|
|
<block wx:else><!--活动结束弹框-->
|
|
|
<text class='title'>OOPS!</text>
|
|
|
<text class='queue-text fail'>
|
|
|
<text>您来晚啦,下次早点哦</text>
|
|
|
</text>
|
|
|
<view class='msg-button-container fail'>
|
|
|
<view class='button-close' bindtap='closeMsg'>关闭</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
</view>
|
|
|
<form bindsubmit='submitFormId' report-submit='true'>
|
|
|
<button wx:if="{{activityInfo.isBegin === 1 && userInfo.isDrawline && !activityInfo.isEnd}}" class='invite-button' hidden='{{hideInviteButton}}' form-type='submit' bindtap='inviteFriends'>
|
...
|
...
|
|