|
|
|
@ -295,7 +295,7 @@
|
|
|
|
|
} else { |
|
|
|
|
that.posterData.title = that.storeInfo.title; |
|
|
|
|
} |
|
|
|
|
that.posterData.price = that.storeInfo.price; |
|
|
|
|
that.posterData.price = that.storeInfo.pinkPrice; |
|
|
|
|
that.posterData.code = that.storeInfo.code_base; |
|
|
|
|
that.domStatus = true; |
|
|
|
|
console.log(this.storeInfo) |
|
|
|
@ -319,8 +319,8 @@
|
|
|
|
|
this.storeInfo.title |
|
|
|
|
); |
|
|
|
|
this.$set(this.attr.productSelect, "image", productSelect.image); |
|
|
|
|
this.$set(this.attr.productSelect, "price", productSelect.price); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", productSelect.stock); |
|
|
|
|
this.$set(this.attr.productSelect, "price", productSelect.pinkPrice); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", productSelect.pinkStock); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", productSelect.unique); |
|
|
|
|
this.$set(this.attr.productSelect, "cart_num", 1); |
|
|
|
|
this.$set(this, "attrValue", value.sort().join(",")); |
|
|
|
@ -332,7 +332,7 @@
|
|
|
|
|
this.storeInfo.title |
|
|
|
|
); |
|
|
|
|
this.$set(this.attr.productSelect, "image", this.storeInfo.image); |
|
|
|
|
this.$set(this.attr.productSelect, "price", this.storeInfo.price); |
|
|
|
|
this.$set(this.attr.productSelect, "price", this.storeInfo.pinkPrice); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", 0); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", ""); |
|
|
|
|
this.$set(this.attr.productSelect, "cart_num", 0); |
|
|
|
@ -345,8 +345,8 @@
|
|
|
|
|
this.storeInfo.title |
|
|
|
|
); |
|
|
|
|
this.$set(this.attr.productSelect, "image", this.storeInfo.image); |
|
|
|
|
this.$set(this.attr.productSelect, "price", this.storeInfo.price); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", this.storeInfo.stock); |
|
|
|
|
this.$set(this.attr.productSelect, "price", this.storeInfo.pinkPrice); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", this.storeInfo.pinkStock); |
|
|
|
|
this.$set( |
|
|
|
|
this.attr.productSelect, |
|
|
|
|
"unique", |
|
|
|
@ -418,15 +418,15 @@
|
|
|
|
|
if (productSelect) { |
|
|
|
|
this.attr.productAttr[res.indexw].index = res.indexn; |
|
|
|
|
this.$set(this.attr.productSelect, "image", productSelect.image); |
|
|
|
|
this.$set(this.attr.productSelect, "price", productSelect.price); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", productSelect.stock); |
|
|
|
|
this.$set(this.attr.productSelect, "price", productSelect.pinkPrice); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", productSelect.pinkStock); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", productSelect.unique); |
|
|
|
|
this.$set(this.attr.productSelect, "cart_num", 1); |
|
|
|
|
this.$set(this, "attrValue", res.value); |
|
|
|
|
this.$set(this, "attrTxt", "已选择"); |
|
|
|
|
} else { |
|
|
|
|
this.$set(this.attr.productSelect, "image", this.storeInfo.image); |
|
|
|
|
this.$set(this.attr.productSelect, "price", this.storeInfo.price); |
|
|
|
|
this.$set(this.attr.productSelect, "price", this.storeInfo.pinkPrice); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", 0); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", ""); |
|
|
|
|
this.$set(this.attr.productSelect, "cart_num", 0); |
|
|
|
|