路径:/pages/goods_details/index.vue
1、解决空白问题:
查找函数changeAttrPic()删除如图所示内容
2、原价与价格跟随属性切换改变而改变
查找函数changeSwitch()添加代码:
this.$set(this.attr.productSelect, 'ot_price', productSelect.ot_price);
查找函数ChangeAttr()添加代码:
this.$set(this.attr.productSelect, 'ot_price', productSelect.ot_price);
this.$set(this.attr.productSelect, 'ot_price', this.storeInfo.ot_price);
查找函数DefaultSelect()添加代码:
this.$set(this.attr.productSelect, 'ot_price', productSelect.ot_price);
this.$set(this.attr.productSelect, 'ot_price', this.storeInfo.ot_price);
改完后上传打包