diff --git a/activity/cutprice/detail.vue b/activity/cutprice/detail.vue index c7369b5..d3f5985 100644 --- a/activity/cutprice/detail.vue +++ b/activity/cutprice/detail.vue @@ -409,6 +409,7 @@ export default { showPrice: false, maskImg:false, tossResult:0, + ach_price_pre:0, isCut: true, imgPath: "", user_nickname: "", @@ -613,7 +614,7 @@ export default { setTimeout(()=>{ wx.showModal({ title: '幸运骰子', - content: `恭喜你,摇到了${data.point}点,幸运暴击${data.point}倍,砍了${data.achPrice}元`, + content: `恭喜你,摇到了${data.point}点,砍了${that.ach_price_pre}元×${data.point}点=${data.achPrice}元`, showCancel: false, confirmText: '确定', success(res) { @@ -625,7 +626,6 @@ export default { }); },2000) } - console.log("hhhhhh",that.tossResult) } }) }, @@ -824,16 +824,13 @@ export default { showCancel: false, confirmText: '确定', success(res) { - if (res.confirm&&that.lottery_num>0) { + if (res.confirm) { setTimeout(()=>{ that.setData({ showMask: true, + ach_price_pre:data.ach_price_pre }) },200) - }else if(res.confirm&&that.lottery_num==0){ - that.setData({ - showImg: true - }) } } }); diff --git a/pages/checkout/checkout.vue b/pages/checkout/checkout.vue index d08c44c..9662413 100644 --- a/pages/checkout/checkout.vue +++ b/pages/checkout/checkout.vue @@ -46,7 +46,7 @@ style="border-radius:50%;width:26rpx;height:26rpx;border:1px solid #db384c" /> {{__('门店自提')}} --> - +