From 7a55d303dad309cc41fbe133a4f018be29cce269 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A7=A6=E6=98=9F=E6=98=9F?= <605893810@qq.com>
Date: Thu, 9 Jul 2026 11:21:34 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E6=83=A0=E5=88=B8=E9=87=91?=
=?UTF-8?q?=E9=A2=9D=E4=B8=8D=E8=B6=B3=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/other_package/productInfo/productInfo.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/pages/other_package/productInfo/productInfo.vue b/pages/other_package/productInfo/productInfo.vue
index 911a049..936b6b3 100644
--- a/pages/other_package/productInfo/productInfo.vue
+++ b/pages/other_package/productInfo/productInfo.vue
@@ -193,8 +193,8 @@
{{ orderInfo.buyDeductionValue }}数字积分
+{{ selectSpecificationTempl.price }}元
- +{{ orderInfo.minPrice }}元
+ Object.keys(selectSpecificationTempl).length !== 0">+{{ selectSpecificationTempl.price }}元
+ +{{ orderInfo.minPrice }}元
¥
@@ -831,7 +831,7 @@ export default {
const params = {
id: this.id,
};
- if(this.isCoupon){
+ if (this.isCoupon) {
params.type = -1;
}
const resp = await getGoodsDetail(params);
@@ -944,7 +944,7 @@ export default {
const params = {
id: this.id,
};
- if(this.isCoupon){
+ if (this.isCoupon) {
params.type = -1;
}
const resp = await getGoodsSpecs(params);
@@ -1065,8 +1065,8 @@ export default {
params["specsId"] = selectTempl;
console.log("----------", params, this.isCoupon, this.orderInfo.buyDeductionValue, this.orderInfo.quantity, this.curAmount);
- const buyCouponvalue = Number((this.orderInfo.buyDeduction * (this.orderInfo.quantity || 1)).toFixed(2)) || 0;
-
+ const buyCouponvalue = Number((this.orderInfo.buyDeductionValue * (this.orderInfo.quantity || 1)).toFixed(2)) || 0;
+
if (this.isCoupon && buyCouponvalue > this.curAmount) {
uni.showToast({
title: `您当前优惠券金额不足`,