Authored by htoooth

fix

... ... @@ -4,8 +4,5 @@ Component({
data: {
},
methods: {
cancel() {
this.triggerEvent('cancel');
}
}
});
... ...
<view class="modal-mask" catchtap="cancel"></view>
<view class="modal-mask"></view>
<view class="modal-dialog">
<image class="modal-icon"src="../../../../../static/images/gou@2x.png"></image>
<slot></slot>
... ...
... ... @@ -287,8 +287,8 @@ Page(Object.assign({
let productDesc = [];
if (res.data.attachment) {
productDesc = res.data.attachment.map(a => {
if (res.data.attachment && res.data.attachment[1]) {
productDesc = res.data.attachment.slice(1).map(a => {
return {
imageUrl: a.attachUrl,
intro: a.intro
... ...
... ... @@ -210,7 +210,7 @@
<action-bar wx:elif="{{queueStatus === 3}}">
<view class="bottom1-action">
<view class="action-list">
<view class="as-bottom cancel width250" bindtap="goQueueList">排队中,查看详情</view>
<view class="as-bottom confirm width250" bindtap="goQueueList">排队中,查看详情</view>
<view class="as-bottom ok width250" bindtap="assistShare">邀请好友助力排队</view>
</view>
... ... @@ -295,7 +295,7 @@
</block>
<block wx:if="{{modal}}">
<yoho-alert wx:if="{{assistSuccess === 1}}" bindcancel="hideAlert">
<yoho-alert wx:if="{{assistSuccess === 1}}" >
<view class="modal-content">
<view class="modal-title">
<view class="sub-title">助力成功</view>
... ... @@ -308,7 +308,7 @@
</view>
</yoho-alert>
<yoho-alert wx:if="{{assistSuccess === 2}}" bindcancel="hideAlert">
<yoho-alert wx:if="{{assistSuccess === 2}}" >
<view class="modal-content">
<view class="modal-title">
<view class="sub-title">重复助力</view>
... ... @@ -320,7 +320,7 @@
</view>
</yoho-alert>
<yoho-alert wx:if="{{queueSuccess === 1}}" bindcancel="hideAlert">
<yoho-alert wx:if="{{queueSuccess === 1}}" >
<view class="modal-content">
<view class="modal-title">
<view class="sub-title">助力成功</view>
... ... @@ -342,7 +342,7 @@
</view>
</yoho-alert>
<yoho-alert wx:if="{{queueSuccess === 2}}" bindcancel="hideAlert">
<yoho-alert wx:if="{{queueSuccess === 2}}" >
<view class="modal-content">
<view class="modal-title">
<view class="sub-title">重复助力</view>
... ... @@ -364,7 +364,7 @@
</view>
</yoho-alert>
<yoho-alert wx:if="{{queueSuccess === 3}}" bindcancel="hideAlert">
<yoho-alert wx:if="{{queueSuccess === 3}}" >
<view class="modal-content">
<view class="modal-title">
<view class="sub-title">助力失败</view>
... ... @@ -386,7 +386,7 @@
</view>
</yoho-alert>
<yoho-alert wx:if="{{error}}" bindcancel="hideAlert">
<yoho-alert wx:if="{{error}}" >
<view class="modal-content">
<view class="modal-title">
<view class="sub-title">助力失败</view>
... ...
... ... @@ -103,12 +103,12 @@
.bottom1-action .help {
position: absolute;
height: 50rpx;
width: 50rpx;
line-height: 50rpx;
border-radius: 25rpx;
height: 36rpx;
width: 36rpx;
line-height: 36rpx;
border-radius: 18rpx;
color: #fff;
font-size: 40rpx;
font-size: 28rpx;
background-color: #d0021b;
right: 30rpx;
top:50%;
... ... @@ -169,6 +169,10 @@
background-color: #b0b0b0;
}
.confirm {
background-color: black;
}
.modal-content {
text-align: center;
}
... ...
... ... @@ -33,7 +33,7 @@
"list": []
},
"miniprogram": {
"current": 0,
"current": 2,
"list": [
{
"id": 0,
... ...