...
|
...
|
@@ -30,105 +30,180 @@ |
|
|
</view>
|
|
|
<copyright></copyright>
|
|
|
|
|
|
<!-- <assis-list></assis-list> -->
|
|
|
<assis-list wx:if="{{showAssisList}}" list="{{avatarList}}" num="{{assisLimit}}"></assis-list>
|
|
|
|
|
|
<block wx:if="{{limitProductType === 4}}">
|
|
|
<block wx:if="{{showStatus === 1}}">
|
|
|
<block wx:if="{{productSourceType === 1}}">
|
|
|
|
|
|
<action-bar wx:if="{{assisStatus === 1}}">
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn" bindtap="assisShare">邀请好友助力获取限购码</view>
|
|
|
<view class="help">?</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
|
|
|
<action-bar wx:if="{{assisStatus === 2}}">
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn3">即将开售</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
</block>
|
|
|
|
|
|
<block wx:if="{{productSourceType === 2}}">
|
|
|
<action-bar wx:if="{{assisStatus === 3}}">
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title" >你的好友邀请你为ta助力</view>
|
|
|
<view class="top-action">
|
|
|
<view class="top-ok" bindtap="assisAction">帮ta助力</view>
|
|
|
<view class="top-cancel" bindtap="assisCancel">取消</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
|
|
|
<action-bar wx:if="{{assisStatus === 2}}">
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title">你的好友已助力成功</view>
|
|
|
<view class="top-ok" bindtap="rrestartSelfShare">我也要参加</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
</block>
|
|
|
</block>
|
|
|
|
|
|
<block wx:elif="{{showStatus === 2 || showStatus === 7}}">
|
|
|
<action-bar>
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn disable">立即购买</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
</block>
|
|
|
|
|
|
<block wx:elif="{{showStatus === 3}}">
|
|
|
<action-bar>
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title" >当前活动已结束</view>
|
|
|
<view class="top-action1">
|
|
|
<view class="top-ok" bindtap="goList">查看其他活动</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
</block>
|
|
|
|
|
|
<!-- <action-bar>
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn" bindtap="share">邀请好友助力获取限购码</view>
|
|
|
<view class="help">?</view>
|
|
|
</view>
|
|
|
</action-bar> -->
|
|
|
<block wx:elif="{{showStatus === 4}}">
|
|
|
<action-bar>
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn ok" bindtap="buyNow">立即购买</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
</block>
|
|
|
|
|
|
<!-- <action-bar>
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn" bindtap="share">立刻购买</view>
|
|
|
<view class="help">?</view>
|
|
|
</view>
|
|
|
</action-bar> -->
|
|
|
<block wx:elif="{{showStatus === 5}}">
|
|
|
<action-bar>
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn2 disable">限购码已抢光</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
</block>
|
|
|
|
|
|
<!-- <action-bar>
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn2" bindtap="share">参加排队</view>
|
|
|
<view class="help">?</view>
|
|
|
</view>
|
|
|
</action-bar> -->
|
|
|
|
|
|
<!-- <action-bar>
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title" >你的好友邀请你为ta助力</view>
|
|
|
<view class="top-action">
|
|
|
<view class="top-ok">帮ta助力</view>
|
|
|
<view class="top-cancel">取消</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar> -->
|
|
|
|
|
|
<!-- <action-bar>
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title" >你的好友邀请你为ta助力参加排队</view>
|
|
|
<view class="top-action">
|
|
|
<view class="top-ok">帮ta助力</view>
|
|
|
<view class="top-cancel" ><text decode="{{true}}"> 取消 </text></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar> -->
|
|
|
<block wx:elif="{{showStatus === 6}}">
|
|
|
<action-bar>
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn2 disable">即将开售</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
</block>
|
|
|
|
|
|
<block wx:else>
|
|
|
<action-bar>
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title" >当前活动已结束</view>
|
|
|
<view class="top-action1">
|
|
|
<view class="top-ok" bindtap="goList">查看其他活动</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
</block>
|
|
|
|
|
|
<!-- <action-bar>
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title" >你的好友已助力成功</view>
|
|
|
<view class="top-action1">
|
|
|
<view class="top-ok">我也要参加</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar> -->
|
|
|
</block>
|
|
|
|
|
|
<!-- <action-bar>
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title" >当前活动已结束</view>
|
|
|
<view class="top-action1">
|
|
|
<view class="top-ok">查看其他活动</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar> -->
|
|
|
<block wx:elif="{{limitProductType === 5}}">
|
|
|
<block wx:if="{{productSourceType === 1}}">
|
|
|
<action-bar wx:if="{{queueStatus === 1}}">
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-btn" bindtap="assisShare">参加排队</view>
|
|
|
<view class="help">?</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
|
|
|
<action-bar wx:if="{{queueStatus === 2}}">
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-list">
|
|
|
<view class="action-btn3" bindtap="goQueueList">排队中,查看详情</view>
|
|
|
<view class="action-btn" bindtap="assisShare">邀请好友助力排队</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
|
|
|
<!-- <action-bar>
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-list">
|
|
|
<view class="action-btn3" bindtap="share">排队中,查看详情</view>
|
|
|
<view class="action-btn" bindtap="share">邀请好友助力排队</view>
|
|
|
</view>
|
|
|
<view class="help">?</view>
|
|
|
</view>
|
|
|
</action-bar> -->
|
|
|
<action-bar wx:if="{{queueStatus === 3}}">
|
|
|
<view class="bottom1-action">
|
|
|
<view class="action-list">
|
|
|
<view class="action-btn3" bindtap="goQueueList">活动结束,点击查看排队详情</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
|
|
|
</block>
|
|
|
|
|
|
<block wx:if="{{productSourceType === 2}}">
|
|
|
<action-bar>
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title" >你的好友邀请你为ta助力参加排队</view>
|
|
|
<view class="top-action">
|
|
|
<view class="top-ok" bindtap="queueAction">帮ta助力</view>
|
|
|
<view class="top-cancel" bindtap="queueCancel"><text decode="{{true}}"> 取消 </text></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
|
|
|
<action-bar>
|
|
|
<view class="top-assis-action">
|
|
|
<view class="top-title" >你的好友已助力成功</view>
|
|
|
<view class="top-action1">
|
|
|
<view class="top-ok" bindtap="restartSelfShare" >我也要参加</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</action-bar>
|
|
|
</block>
|
|
|
</block>
|
|
|
|
|
|
<!-- <yoho-alert>
|
|
|
<yoho-alert wx:if="{{assisSuccess === 1}}">
|
|
|
<view class="modal-content">
|
|
|
<view class="modal-title">
|
|
|
<view class="sub-title">助力成功</view>
|
|
|
<view class="sub-title2">帮好友助力成功,您也来参与吧~</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="modal-ok">
|
|
|
<view class="modal-ok" bindtap="restartSelfShare">
|
|
|
我也要参加
|
|
|
</view>
|
|
|
</view>
|
|
|
</yoho-alert> -->
|
|
|
</yoho-alert>
|
|
|
|
|
|
<!-- <yoho-alert>
|
|
|
<yoho-alert wx:if="{{assisSuccess === 2}}">
|
|
|
<view class="modal-content">
|
|
|
<view class="modal-title">
|
|
|
<view class="sub-title">重复助力</view>
|
|
|
<view class="sub-title2">您已经助力过啦,自己也来参加吧~</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="modal-ok">
|
|
|
<view class="modal-ok" bindtap="restartSelfShare">
|
|
|
我也要参加
|
|
|
</view>
|
|
|
</view>
|
|
|
</yoho-alert> -->
|
|
|
</yoho-alert>
|
|
|
|
|
|
|
|
|
<!-- <yoho-alert>
|
|
|
<yoho-alert wx:if="{{queueSuccess === 1}}">
|
|
|
<view class="modal-content">
|
|
|
<view class="modal-title">
|
|
|
<view class="sub-title">助力成功</view>
|
...
|
...
|
@@ -139,18 +214,18 @@ |
|
|
</view>
|
|
|
|
|
|
<view class="modal-btn">
|
|
|
<view class="modal-ok">
|
|
|
<view class="modal-ok" bindtap="restartSelfShare">
|
|
|
我也要参加
|
|
|
</view>
|
|
|
|
|
|
<view class="modal-cancel">
|
|
|
<view class="modal-cancel" bindtap="goQueueList">
|
|
|
查看详情
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</yoho-alert> -->
|
|
|
</yoho-alert>
|
|
|
|
|
|
<yoho-alert>
|
|
|
<yoho-alert wx:if="{{queueSuccess === 2}}">
|
|
|
<view class="modal-content">
|
|
|
<view class="modal-title">
|
|
|
<view class="sub-title">重复助力</view>
|
...
|
...
|
@@ -161,11 +236,11 @@ |
|
|
</view>
|
|
|
|
|
|
<view class="modal-btn">
|
|
|
<view class="modal-ok">
|
|
|
<view class="modal-ok" bindtap="restartSelfShare">
|
|
|
我也要参加
|
|
|
</view>
|
|
|
|
|
|
<view class="modal-cancel">
|
|
|
<view class="modal-cancel" bindtap="goQueueList">
|
|
|
查看详情
|
|
|
</view>
|
|
|
</view>
|
...
|
...
|
|