diff --git a/high-unionPay/pages/order/confirmation.vue b/high-unionPay/pages/order/confirmation.vue index 97991e2..b4c61a0 100644 --- a/high-unionPay/pages/order/confirmation.vue +++ b/high-unionPay/pages/order/confirmation.vue @@ -159,13 +159,13 @@ 优惠券选择 - + - + - {{items.highDiscount.discountName}} - 有效期至:{{items.highDiscount.salesEndTime | formatDate('-')}} + {{items.discountName}} + 有效期至:{{items.salesEndTime | formatDate('-')}} @@ -727,11 +727,10 @@ this.isDiscount = 1; if (this.deductionPrice == 0) { this.paytheprice = parseFloat(this.saveprice - parseFloat(this.priceValue[1] / 100).toFixed(2)) - .toFixed( - 2); + .toFixed(2); } else { this.paytheprice = parseFloat(this.orderPrice - parseFloat(this.priceValue[1] / 100).toFixed(2) - this - .deductionPrice).toFixed(2); + .deductionPrice).toFixed(2); } if (this.paytheprice == 0) { this.isUse = false; diff --git a/high-unionPay/pages/user/coupon/coupon.vue b/high-unionPay/pages/user/coupon/coupon.vue index 9d9ecc0..3efbc78 100644 --- a/high-unionPay/pages/user/coupon/coupon.vue +++ b/high-unionPay/pages/user/coupon/coupon.vue @@ -7,9 +7,9 @@ 已过期 - - {{item}} + + {{item.codeName}} @@ -23,31 +23,43 @@ - + + + 满减券 + + - + + + 抵扣券 + + + 折扣券 话费券 - {{row.highDiscount.discountName}} + style="width: 50px;background-color: #347edd;border-radius: 20px;">{{orderTyplist | msgFormat(row.discountUseScope)}} + {{row.discountName}} 有效期:{{row.useEndTime | formatDate('-')}} - - - {{row.highDiscount.discountPrice * 10}} + + + {{row.discountPrice * 10}} - {{row.highDiscount.discountPrice}} + {{row.discountPrice}} - + @@ -55,7 +67,7 @@ 去使用 @@ -73,28 +85,52 @@ - - {{row.highDiscount.discountName}} + + + + + 满减券 + + + + + 抵扣券 + + + + + 折扣券 + + + + {{orderTyplist | msgFormat(row.discountUseScope)}} + {{row.discountName}} - 使用时间:{{row.useTime | formatDate('-')}} + 有效期:{{row.useEndTime | formatDate('-')}} + - - - - {{row.highDiscount.discountPrice}} + + + + {{row.discountPrice * 10}} + + + {{row.discountPrice}} + + + 折 - + - - {{row.highDiscount.discountName}} - - - 已使用 - @@ -108,28 +144,52 @@ - - {{row.highDiscount.discountName}} + + + + + 满减券 + + + + + 抵扣券 + + + + + 折扣券 + + + + {{orderTyplist | msgFormat(row.discountUseScope)}} + {{row.discountName}} - 过期时间:{{row.useEndTime | formatDate('-')}} + 有效期:{{row.useEndTime | formatDate('-')}} + - - - - {{row.highDiscount.discountPrice}} + + + + {{row.discountPrice * 10}} + + + {{row.discountPrice}} - + + 折 + + - - {{row.highDiscount.discountName}} - - - 已过期 - @@ -142,7 +202,8 @@