diff --git a/package1/buyFood/buyFood.vue b/package1/buyFood/buyFood.vue index 3eac90e..67b25f7 100644 --- a/package1/buyFood/buyFood.vue +++ b/package1/buyFood/buyFood.vue @@ -987,6 +987,12 @@ this.backendTotalAmount = totalAmount; this.currentOrderId = orderId; this.createdOrderInfo = res.result; + if(res.result.isFreeOrder == 1){ + uni.showToast({ + title: '锦鲤附身 免单' + res.result.freeAmount + '元', + icon: 'none' + }); + } this.$refs.payPopup.open('bottom'); } else { uni.showToast({ diff --git a/package1/group/groupBuySingle.vue b/package1/group/groupBuySingle.vue index c4932a4..32832a2 100644 --- a/package1/group/groupBuySingle.vue +++ b/package1/group/groupBuySingle.vue @@ -1302,6 +1302,12 @@ this.currentOrderId = res.result.id; this.groupdeliveryType = res.result.deliveryType; this.backendTotalAmount = res.result.totalAmount; + if(res.result.isFreeOrder == 1){ + uni.showToast({ + title: '锦鲤附身 免单' + res.result.freeAmount + '元', + icon: 'none' + }); + } this.$refs.payPopup.open('bottom'); if (this.$refs.pintuanPopup) this.$refs.pintuanPopup.close(); } else {