Authored by htoooth

fix

<view class="bottom-assis-list">
<view class="assis-title">当前已成功助力好友数:{{count}}/{{num}}</view>
<view class="bottom-assist-list">
<view class="assist-title">当前已成功助力好友数:{{count}}/{{num}}</view>
<view class="avatar-list">
<view class="avatar-item" wx:for="{{list}}">
<block wx:if="{{item.helpUserImgUrl}}">
... ...
.bottom-assis-list {
.bottom-assist-list {
display: flex;
align-items: center;
justify-content: space-between;
... ... @@ -14,11 +14,11 @@
text-align: center;
}
.bottom-assis-list .assis-title {
.bottom-assist-list .assist-title {
color: #fff;
}
.bottom-assis-list .avatar-list {
.bottom-assist-list .avatar-list {
display: flex;
width: 240rpx;
align-items: center;
... ... @@ -26,7 +26,7 @@
flex-wrap: wrap;
}
.bottom-assis-list .avatar-item {
.bottom-assist-list .avatar-item {
margin-left: 10rpx;
margin-top: 10rpx;
display: inline-block;
... ...
... ... @@ -225,12 +225,12 @@ Page(Object.assign({
let uid = this.data.originUid || this.data.uid;
if (index === 0) {
if (this.data.showAssisList) {
if (this.data.showAssistList) {
return;
}
detailModel.addShareAction(uid, this.data.limitProductCode);
} else if (index === 1) {
if (this.data.showAssisListk) {
if (this.data.showAssistList) {
router.go('snapShare', this.data.snapData);
return;
}
... ... @@ -340,16 +340,16 @@ Page(Object.assign({
assistStatus = ASSIST_STATUS.ASSIST_ALREADY_ACTION;
}
let showAssisList = false;
let showAssistList = false;
if (result.data.isShare === 'Y') {
showAssisList = true;
showAssistList = true;
}
this.setData({
avatarList: result.data.list || [],
assistStatus,
showAssisList
showAssistList
});
});
... ... @@ -523,7 +523,7 @@ Page(Object.assign({
queueCancel() {
this.reload();
},
assisCancel() {
assistCancel() {
this.reload();
},
buyNow() {
... ...
... ... @@ -8,7 +8,7 @@
"copyright": "/components/layout/copyright/copyright",
"quick-navigation": "/components/layout/quick-navigation/quick-navigation",
"yoho-alert": "./components/alert/alert",
"assis-list": "./components/assis-list/assis-list",
"assist-list": "./components/assist-list/assist-list",
"action-bar": "./components/action-bar/action-bar"
}
}
... ...
... ... @@ -37,7 +37,7 @@
<view wx:if="{{showAssistList}}" style="height:70rpx;"></view>
<view style="height:100rpx;"></view>
<assis-list wx:if="{{showAssistList}}" list="{{avatarList}}" num="{{assistLimit}}"></assis-list>
<assist-list wx:if="{{showAssistList}}" list="{{avatarList}}" num="{{assistLimit}}"></assist-list>
<block wx:if="{{limitProductType === 4}}">
<block wx:if="{{showStatus === 1}}">
... ... @@ -59,7 +59,7 @@
</action-bar>
<action-bar wx:else>
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action1">
<view class="top-ok" bindtap="goList">查看其他活动</view>
... ... @@ -70,17 +70,17 @@
<block wx:if="{{productSourceType === 2}}">
<action-bar wx:if="{{assistStatus === 3}}">
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >你的好友邀请你为ta助力</view>
<view class="top-action">
<view class="top-ok" bindtap="assistAction">帮ta助力</view>
<view class="top-cancel" bindtap="assisCancel">取消</view>
<view class="top-cancel" bindtap="assistCancel">取消</view>
</view>
</view>
</action-bar>
<action-bar wx:elif="{{assistStatus === 2}}">
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title">你的好友已助力成功</view>
<view class="top-ok" bindtap="restartSelfShare">我也要参加</view>
</view>
... ... @@ -94,7 +94,7 @@
</action-bar>
<action-bar wx:else>
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action1">
<view class="top-ok" bindtap="goList">查看其他活动</view>
... ... @@ -114,7 +114,7 @@
<block wx:elif="{{showStatus === 3}}">
<action-bar>
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action1">
<view class="top-ok" bindtap="goList">查看其他活动</view>
... ... @@ -149,7 +149,7 @@
<block wx:else>
<action-bar>
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action1">
<view class="top-ok" bindtap="goList">查看其他活动</view>
... ... @@ -190,7 +190,7 @@
<block wx:elif="{{queueStatus === 4}}">
<block wx:if="{{showStatus === 3}}">
<action-bar>
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="top-ok" bindtap="goQueueList">查看中奖信息</view>
... ... @@ -225,7 +225,7 @@
</block>
<action-bar wx:else>
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="top-ok" bindtap="goQueueList">查看中奖信息</view>
... ... @@ -249,7 +249,7 @@
</block>
<action-bar wx:else>
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="top-ok" bindtap="goQueueList">查看中奖信息</view>
... ... @@ -269,7 +269,7 @@
</action-bar>
<action-bar wx:elif="{{queueStatus === 3}}">
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >你的好友邀请你为ta助力排队</view>
<view class="top-action">
<view class="top-ok" bindtap="queueAction">帮ta助力</view>
... ... @@ -294,7 +294,7 @@
</action-bar>
</block>
<action-bar wx:else>
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="top-ok" bindtap="goQueueList">查看中奖信息</view>
... ... @@ -316,7 +316,7 @@
<block wx:elif="{{queueStatus === 6}}">
<action-bar >
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >你的好友已助力成功</view>
<view class="top-action3">
<view class="top-ok" bindtap="goQueueList">查看排队详情</view>
... ... @@ -327,7 +327,7 @@
</block>
<action-bar wx:else>
<view class="top-assis-action">
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="top-action3">
<view class="top-ok" bindtap="goQueueList">查看中奖信息</view>
... ...
... ... @@ -157,7 +157,7 @@
}
.top-assis-action {
.top-assist-action {
height: 100%;
width: 100%;
display: flex;
... ... @@ -165,18 +165,18 @@
justify-content: space-between;
}
.top-assis-action .top-title {
.top-assist-action .top-title {
font-size: 28rpx;
}
.top-assis-action .top-action {
.top-assist-action .top-action {
display: flex;
align-items: center;
justify-content: space-between;
width: 280rpx;
}
.top-assis-action .top-action1 {
.top-assist-action .top-action1 {
display: flex;
align-items: center;
justify-content: flex-end;
... ... @@ -190,7 +190,7 @@
width: 400rpx;
}
.top-assis-action .top-ok {
.top-assist-action .top-ok {
font-size: 20rpx;
color: #fff;
background-color: #d0021b;
... ... @@ -202,7 +202,7 @@
text-align: center;
}
.top-assis-action .top-cancel {
.top-assist-action .top-cancel {
font-size: 20rpx;
height: 50rpx;
padding-left: 40rpx;
... ...