|
|
@@ -227,6 +227,7 @@ export default {
|
|
|
detailImg() {
|
|
|
let detail = this.productInfo.detailImg || '';
|
|
|
if (detail) {
|
|
|
+ detail = detail.replace(/Ø/g, '');
|
|
|
detail = detail.replace(/<img/g, `<img bindtap='clickImg' `);
|
|
|
detail = detail.replace(/<video/g, `<video style='width:345px;height:180px' `);
|
|
|
}
|
|
|
@@ -253,6 +254,7 @@ export default {
|
|
|
this.$http
|
|
|
.get(`/product/getDto/${options.id}`)
|
|
|
.then(res => {
|
|
|
+ // res.detailImg = new String(res.detailImg.getBytes('ISO-8859-1'), 'UTF-8');
|
|
|
this.productInfo = res;
|
|
|
this.getImgList(res.detailImg);
|
|
|
return this.$http.get('/vendorInfo/getHome/' + res.vendorInfoId);
|