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', '请选择')