From 5546e6ccbb57f5ccd6418e25d1dd1e8d61aab215 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Wed, 17 Dec 2025 18:42:01 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=87=E6=B3=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/product/components/modal.vue | 97 +
pages/product/components/shoppingCartes.vue | 1778 ++++++++++---------
pages/product/index.vue | 2 +-
3 files changed, 993 insertions(+), 884 deletions(-)
create mode 100644 pages/product/components/modal.vue
diff --git a/pages/product/components/modal.vue b/pages/product/components/modal.vue
new file mode 100644
index 0000000..5d90202
--- /dev/null
+++ b/pages/product/components/modal.vue
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/product/components/shoppingCartes.vue b/pages/product/components/shoppingCartes.vue
index 646991c..fe4bac1 100644
--- a/pages/product/components/shoppingCartes.vue
+++ b/pages/product/components/shoppingCartes.vue
@@ -1,922 +1,934 @@
-
-
-
-
-
-
-
-
- 购物车
-
-
- 清空购物车
-
-
-
-
-
-
- 限时折扣
-
-
-
-
-
- {{
+
+
+
+
+ 购物车
+
+
+ 清空购物车
+
+
+
+
+
+
+ 限时折扣
+
+
+
+
+
+ {{
item.cartListinfo.is_temporary == 1
? "临时菜"
: item.name
}}
-
-
-
- {{ item.cartListinfo.sku_id == i.id ? i.name : "" }}
-
-
-
-
-
-
- {{ i.proName }}
-
-
-
-
-
- ¥
-
+
+
+
+ {{ item.cartListinfo.sku_id == i.id ? i.name : "" }}
+
+
+
+
+
+
+ {{ i.proName }}
+
+
+
+
+ 备注:
+
+
+
+
+ ¥
+
- {{ item.salePrice }}
+ {{ item.salePrice }}
-
-
+
-
-
-
-
-
- {{ ifcartNumber(item) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/index.vue b/pages/product/index.vue
index 50796cb..86b51b7 100644
--- a/pages/product/index.vue
+++ b/pages/product/index.vue
@@ -318,7 +318,7 @@
From aabe680071bf0e258c58aa973289c18ed9e5bdb9 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Thu, 18 Dec 2025 10:08:17 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B4=AD=E7=89=A9?=
=?UTF-8?q?=E8=BD=A6=E7=BC=96=E8=BE=91=E5=A4=87=E6=B3=A8=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/order/components/order-item.vue | 1 +
pages/order/coupon.vue | 4 ++--
pages/product/components/shoppingCartes.vue | 5 +++--
pages/product/index.vue | 6 +++---
4 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/pages/order/components/order-item.vue b/pages/order/components/order-item.vue
index 4e25a80..067d2da 100644
--- a/pages/order/components/order-item.vue
+++ b/pages/order/components/order-item.vue
@@ -29,6 +29,7 @@
{{
item.skuName
}}
+ 备注:{{item.remark}}
-->
- 商品兑换券 {{ returnSelNumber(0) }}
+ 商品兑换券
- 折扣优惠券{{ returnSelNumber(1) }}
+ 折扣优惠券
- 备注:
+ 备注:{{item.cartListinfo.remark||''}}
@@ -120,6 +120,7 @@
import goodsPrice from "@/components/goods-price.vue";
import * as orderUtils from "@/utils/order-utils.js";
import model from './modal.vue'
+ import _ from 'lodash'
const modelData = reactive({
show: false,
item: {
@@ -131,7 +132,7 @@
function editRemark(item) {
console.log('editRemark', item)
- modelData.item = item
+ modelData.item = _.cloneDeep(item)
modelData.show = true
}
diff --git a/pages/product/index.vue b/pages/product/index.vue
index 86b51b7..2cc6f57 100644
--- a/pages/product/index.vue
+++ b/pages/product/index.vue
@@ -1154,7 +1154,7 @@
return;
}
let res = await shoppingcart();
-
+
if ((specifications.item.type == 'package' && allConditionsSatisfied.value) || (specifications.item.type ==
'sku' && canSubmit.value)) {
// 是否是套餐 有就传
@@ -1181,7 +1181,7 @@
memberPrice: specifications.item.memberPrice,
is_print: 1,
product_type: specifications.item.type,
- is_time_discount: specifications.item.is_time_discount
+ is_time_discount: specifications.item.is_time_discount,
});
// 清空套餐选中
selectedGroupSnap.value = [];
@@ -1201,7 +1201,7 @@
memberPrice: specifications.item.memberPrice,
is_print: 1,
product_type: specifications.item.type,
- is_time_discount: specifications.item.is_time_discount
+ is_time_discount: specifications.item.is_time_discount,
});
showShopsku.value = false;
From ecff4204e4f27e87c79d78b2f3cc3b6db0bbf981 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Thu, 18 Dec 2025 10:38:50 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B4=AD=E7=89=A9?=
=?UTF-8?q?=E8=BD=A6=E5=A4=87=E6=B3=A8=E5=8A=9F=E8=83=BD,=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D=E6=94=AF=E4=BB=98=E6=96=B9=E5=BC=8F=E9=80=89=E6=8B=A9?=
=?UTF-8?q?=E5=88=87=E6=8D=A2=E5=9B=9E=E6=98=BE=E9=97=AE=E9=A2=98,?=
=?UTF-8?q?=E5=8F=96=E6=B6=88=E9=80=89=E6=8B=A9=E4=BC=98=E6=83=A0=E5=88=B8?=
=?UTF-8?q?=E5=9B=9E=E6=98=BE=E9=80=89=E6=8B=A9=E6=95=B0=E9=87=8F=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/paymentMethod.vue | 355 ++++++++++----------
pages/order/components/order-item.vue | 2 +-
pages/product/components/shoppingCartes.vue | 2 +-
3 files changed, 175 insertions(+), 184 deletions(-)
diff --git a/components/paymentMethod.vue b/components/paymentMethod.vue
index 7b3aad7..6196bc2 100644
--- a/components/paymentMethod.vue
+++ b/components/paymentMethod.vue
@@ -1,49 +1,35 @@
-
-
-
- 支付方式
-
-
-
-
-
-
-
- {{ item.name }}
-
-
- 当前余额¥{{ orderVIP ? orderVIP.amount || 0 : 0 }}
- 去充值
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ 支付方式
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+ 当前余额¥{{ orderVIP ? orderVIP.amount || 0 : 0 }}
+ 去充值
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/order/components/order-item.vue b/pages/order/components/order-item.vue
index 067d2da..b0b67be 100644
--- a/pages/order/components/order-item.vue
+++ b/pages/order/components/order-item.vue
@@ -29,7 +29,7 @@
{{
item.skuName
}}
- 备注:{{item.remark}}
+ 备注:{{item.remark}}
-
+