Authored by htoooth

fix

<view class="bottom-action" >
<slot></slot>
</view>
\ No newline at end of file
... ...
.bottom-action {
position: fixed;
bottom: 0;
left: 0;
... ... @@ -9,5 +8,6 @@
text-align: center;
padding-left: 30rpx;
padding-right: 30rpx;
border-top: 1rpx solid #E0E0E0
}
... ...
... ... @@ -483,7 +483,7 @@ Page(Object.assign({
if ((this.data.avatarList.length + 1) === this.data.assistLimit) {
detailModel.getLimitCode(this.data.originUid, this.data.limitProductCode);
}
} else if (result.code === 401) {
} else if (result.code === 9001) {
this.setData({
assistSuccess: ASSIST_SUCCESS.REPEAT
});
... ... @@ -536,7 +536,7 @@ Page(Object.assign({
queueSuccess: QUEUE_SUCCESS.OK,
queueStatus: QUEUE_STATUS.QUEUE_HELP
});
} else if (result.code === 401) {
} else if (result.code === 9001) {
this.setData({
queueSuccess: QUEUE_SUCCESS.REPEAT
});
... ...
... ... @@ -218,74 +218,11 @@
</view>
</action-bar>
<block wx:elif="{{queueStatus === 4}}">
<block wx:if="{{showStatus === 3}}">
<action-bar>
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="as-bottom ok width200" bindtap="goQueueList">查看中奖信息</view>
<view class="as-bottom cancel width200" bindtap="goList">查看其他活动</view>
</view>
</view>
</action-bar>
</block>
<block wx:elif="{{showStatus === 4}}">
<action-bar>
<view class="bottom1-action">
<view class="as-bottom ok" bindtap="buyNow">立即购买</view>
</view>
</action-bar>
</block>
<block wx:elif="{{showStatus === 6}}">
<action-bar>
<view class="bottom1-action">
<view class="as-bottom cancel width200">即将开售</view>
<view class="as-bottom ok width200" bindtap="goQueueList">查看排队详情</view>
</view>
</action-bar>
</block>
<block wx:elif="{{showStatus === 7}}">
<action-bar>
<view class="bottom1-action">
<view class="as-bottom cancel">立即购买</view>
</view>
</action-bar>
</block>
<action-bar wx:else>
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="as-bottom ok width200" bindtap="goQueueList">查看中奖信息</view>
<view class="as-bottom cancel width200" bindtap="goList">查看其他活动</view>
</view>
</view>
</action-bar>
</block>
<block wx:elif="{{queueStatus === 6}}">
<action-bar>
<view class="bottom1-action">
<view class="action-list">
<view class="as-bottom cancel width200" bindtap="goQueueList">查看排队详情</view>
<view class="as-bottom ok width200">等待抽奖</view>
</view>
<view class="help" bindtap="goHelp">?</view>
</view>
</action-bar>
</block>
<action-bar wx:else>
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="as-bottom ok width200" bindtap="goQueueList">查看中奖信息</view>
<view class="as-bottom cancel width200" bindtap="goList">查看其他活动</view>
<view class="bottom1-action">
<view class="as-bottom ok" bindtap="goQueueList">排队已结束 查看详情</view>
<view class="help" bindtap="goHelp">?</view>
</view>
</view>
</action-bar>
... ... @@ -311,25 +248,11 @@
</action-bar>
<block wx:elif="{{queueStatus === 4}}">
<block wx:if="{{showStatus === 2}}">
<action-bar>
<view class="bottom1-action">
<view class="as-bottom cancel">立即购买</view>
</view>
</action-bar>
</block>
<block wx:elif="{{showStatus === 5}}">
<action-bar>
<view class="bottom1-action">
<view class="as-bottom cancel">即将售罄</view>
</view>
</action-bar>
</block>
<action-bar wx:else>
<action-bar>
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="as-bottom ok width200" bindtap="goQueueList">查看中奖信息</view>
<view class="as-bottom ok width200" bindtap="goQueueList">查看详情</view>
<view class="as-bottom cancel width200" bindtap="goList">查看其他活动</view>
</view>
</view>
... ... @@ -340,6 +263,7 @@
<action-bar>
<view class="bottom1-action">
<view class="as-bottom cancel width200">已助力</view>
<view style="width:10rpx;"></view>
<view class="as-bottom ok width200" bindtap="goQueueList">查看排队详情</view>
<view class="help" bindtap="goHelp">?</view>
</view>
... ... @@ -351,7 +275,7 @@
<view class="top-assist-action">
<view class="top-title" >你的好友已助力成功</view>
<view class="top-action3">
<view class="as-bottom ok width200" bindtap="goQueueList">查看排队详情</view>
<view class="as-bottom ok width200" bindtap="goQueueList">查看详情</view>
<view class="as-bottom cancel width200" bindtap="restartSelfShare">我也要参加</view>
</view>
</view>
... ... @@ -362,7 +286,7 @@
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="as-bottom ok width200" bindtap="goQueueList">查看中奖信息</view>
<view class="as-bottom ok width200" bindtap="goQueueList">查看详情</view>
<view class="as-bottom cancel width200" bindtap="goList">查看其他活动</view>
</view>
</view>
... ...