From f30d06ea1190d6563421dad7b5e4e8183995fce5 Mon Sep 17 00:00:00 2001
From: lifizer <913626195@qq.com>
Date: Tue, 24 Sep 2024 22:03:46 +0800
Subject: [PATCH] =?UTF-8?q?Fix(=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85):[#231?=
=?UTF-8?q?9]=E6=98=BE=E7=A4=BA=E9=A2=84=E8=AE=A1=E8=8E=B7=E5=BE=97?=
=?UTF-8?q?=E7=A7=AF=E5=88=86=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/shop/GoodsCon/index.vue | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue
index 2b59e21..23b7948 100644
--- a/pages/shop/GoodsCon/index.vue
+++ b/pages/shop/GoodsCon/index.vue
@@ -29,13 +29,9 @@
-
-
-
+
+
+
-
+
预计获得{{ attr.productSelect.earnPoints }}积分
-
+
更多优惠
@@ -1145,6 +1145,7 @@ export default {
this.$set(this.attr.productSelect, 'otPrice', productSelect.otPrice)
this.$set(this.attr.productSelect, 'stock', productSelect.stock)
this.$set(this.attr.productSelect, 'unique', productSelect.unique)
+ this.$set(this.attr.productSelect, 'earnPoints', productSelect.earnPoints)
this.$set(this.attr.productSelect, 'cart_num', 1)
// this.$set(this, 'attrValue', value.sort().join(','))
this.$set(this, 'attrValue', skuKey)
@@ -1160,6 +1161,7 @@ export default {
this.$set(this.attr.productSelect, 'price', this.storeInfo.price)
this.$set(this.attr.productSelect, 'otPrice', this.storeInfo.otPrice)
this.$set(this.attr.productSelect, 'stock', 0)
+ this.$set(this.attr.productSelect, 'earnPoints', 0)
this.$set(this.attr.productSelect, 'unique', '')
this.$set(this.attr.productSelect, 'cart_num', 0)
this.$set(this, 'attrValue', '')
@@ -1174,6 +1176,7 @@ export default {
this.$set(this.attr.productSelect, 'price', this.storeInfo.price)
this.$set(this.attr.productSelect, 'otPrice', this.storeInfo.otPrice)
this.$set(this.attr.productSelect, 'stock', this.storeInfo.stock)
+ this.$set(this.attr.productSelect, 'earnPoints', 0)
this.$set(
this.attr.productSelect,
'unique',
@@ -1263,6 +1266,7 @@ export default {
this.$set(this.attr.productSelect, 'otPrice', productSelect.otPrice)
this.$set(this.attr.productSelect, 'stock', productSelect.stock)
this.$set(this.attr.productSelect, 'unique', productSelect.unique)
+ this.$set(this.attr.productSelect, 'earnPoints', productSelect.earnPoints)
this.$set(this.attr.productSelect, 'cart_num', 1)
this.$set(this, 'attrValue', value)
this.$set(this, 'attrTxt', '已选择')
@@ -1273,6 +1277,7 @@ export default {
this.$set(this.attr.productSelect, 'otPrice', this.storeInfo.otPrice)
this.$set(this.attr.productSelect, 'stock', 0)
this.$set(this.attr.productSelect, 'unique', '')
+ this.$set(this.attr.productSelect, 'earnPoints', 0)
this.$set(this.attr.productSelect, 'cart_num', 0)
this.$set(this, 'attrValue', '')
this.$set(this, 'attrTxt', '请选择')