diff --git a/high-unionPay/pages/order/confirmation.vue b/high-unionPay/pages/order/confirmation.vue index 62fdf88..62f3fa0 100644 --- a/high-unionPay/pages/order/confirmation.vue +++ b/high-unionPay/pages/order/confirmation.vue @@ -309,11 +309,11 @@ if (item.highDiscount.discountType == 1) { //满减价格 this.deductionPrice = item.highDiscount.discountPrice; - this.paytheprice = this.couponList.salesPrice - this.deductionPrice; + this.paytheprice = parseFloat(this.couponList.salesPrice - this.deductionPrice).toFixed(2); } else if (item.highDiscount.discountType == 2) { //抵扣价格 this.deductionPrice = item.highDiscount.discountPrice; - this.paytheprice = this.couponList.salesPrice - this.deductionPrice; + this.paytheprice = parseFloat(this.couponList.salesPrice - this.deductionPrice).toFixed(2); } else if (item.highDiscount.discountType == 3) { // 打折 this.deductionPrice = parseFloat(this.couponList.salesPrice - (this.couponList.salesPrice * diff --git a/high-unionPay/pages/user/mineCouponsDestails/mineCouponsDestails.vue b/high-unionPay/pages/user/mineCouponsDestails/mineCouponsDestails.vue index 14dd3da..ab6938a 100644 --- a/high-unionPay/pages/user/mineCouponsDestails/mineCouponsDestails.vue +++ b/high-unionPay/pages/user/mineCouponsDestails/mineCouponsDestails.vue @@ -45,28 +45,40 @@ + 视频教程 + + + +