update:修改砍价反馈,注释订单提交物流服务

This commit is contained in:
lihaoyuan 2026-01-05 15:20:35 +08:00
parent b0bbe7ada4
commit 1bd3b228c4
2 changed files with 6 additions and 9 deletions

View File

@ -409,6 +409,7 @@ export default {
showPrice: false, showPrice: false,
maskImg:false, maskImg:false,
tossResult:0, tossResult:0,
ach_price_pre:0,
isCut: true, isCut: true,
imgPath: "", imgPath: "",
user_nickname: "", user_nickname: "",
@ -613,7 +614,7 @@ export default {
setTimeout(()=>{ setTimeout(()=>{
wx.showModal({ wx.showModal({
title: '幸运骰子', title: '幸运骰子',
content: `恭喜你,摇到了${data.point}点,幸运暴击${data.point}倍,砍了${data.achPrice}`, content: `恭喜你,摇到了${data.point}点,砍了${that.ach_price_pre}元×${data.point}点=${data.achPrice}`,
showCancel: false, showCancel: false,
confirmText: '确定', confirmText: '确定',
success(res) { success(res) {
@ -625,7 +626,6 @@ export default {
}); });
},2000) },2000)
} }
console.log("hhhhhh",that.tossResult)
} }
}) })
}, },
@ -824,16 +824,13 @@ export default {
showCancel: false, showCancel: false,
confirmText: '确定', confirmText: '确定',
success(res) { success(res) {
if (res.confirm&&that.lottery_num>0) { if (res.confirm) {
setTimeout(()=>{ setTimeout(()=>{
that.setData({ that.setData({
showMask: true, showMask: true,
ach_price_pre:data.ach_price_pre
}) })
},200) },200)
}else if(res.confirm&&that.lottery_num==0){
that.setData({
showImg: true
})
} }
} }
}); });

View File

@ -46,7 +46,7 @@
style="border-radius:50%;width:26rpx;height:26rpx;border:1px solid #db384c" /> style="border-radius:50%;width:26rpx;height:26rpx;border:1px solid #db384c" />
<view style="margin-left:10rpx">{{__('门店自提')}}</view> <view style="margin-left:10rpx">{{__('门店自提')}}</view>
</view> --> </view> -->
<view style="display:flex;align-items: center;" v-if="(delivery)" @click="express"> <!-- <view style="display:flex;align-items: center;" v-if="(delivery)" @click="express">
<image v-if="(addressFlag)" style="width:32rpx;height:32rpx;border-radius:50%" <image v-if="(addressFlag)" style="width:32rpx;height:32rpx;border-radius:50%"
src="/static/images/ziti.png" /> src="/static/images/ziti.png" />
<view v-else class="border" <view v-else class="border"
@ -60,7 +60,7 @@
<view v-else class="border" <view v-else class="border"
style="border-radius:50%;width:26rpx;height:26rpx;border:1px solid #db384c" /> style="border-radius:50%;width:26rpx;height:26rpx;border:1px solid #db384c" />
<view style="margin-left:10rpx">{{__('到店服务')}}</view> <view style="margin-left:10rpx">{{__('到店服务')}}</view>
</view> </view> -->
</view> </view>
</view> </view>