路徑:/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);
改完后上傳打包