diff --git a/activity/cutprice/detail.vue b/activity/cutprice/detail.vue index 7724794..c7369b5 100644 --- a/activity/cutprice/detail.vue +++ b/activity/cutprice/detail.vue @@ -286,20 +286,6 @@ - @@ -426,6 +412,7 @@ export default { isCut: true, imgPath: "", user_nickname: "", + lottery_num:0, mid: 0, uid: 0, pid: 0, @@ -587,6 +574,7 @@ export default { that.setData({ Info: data, ac_id: data.ac_id, + lottery_num:data.lottery_num, width: 100 * parseFloat(data.CutPricePercent).toFixed(2), }); // that.getTime(); @@ -635,7 +623,7 @@ export default { } } }); - },2500) + },2000) } console.log("hhhhhh",that.tossResult) } @@ -836,13 +824,16 @@ export default { showCancel: false, confirmText: '确定', success(res) { - if (res.confirm) { - console.log('用户点击确定'); + if (res.confirm&&that.lottery_num>0) { setTimeout(()=>{ that.setData({ showMask: true, }) },200) + }else if(res.confirm&&that.lottery_num==0){ + that.setData({ + showImg: true + }) } } });