...
|
...
|
@@ -1123,14 +1123,15 @@ const _getDetailDataBySizeInfo = (sizeInfo) => { |
|
|
'<img src=': '<img class="lazy" src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f' +
|
|
|
'///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" data-original=',
|
|
|
'<img border="0" src=': '<img border="0" class="lazy" src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP' +
|
|
|
'///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" data-original='
|
|
|
'///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" data-original=',
|
|
|
'.jpg': '.jpg?imageView2/0/q/90'
|
|
|
};
|
|
|
|
|
|
let intro = _.get(sizeInfo, 'productIntroBo.productIntro', '');
|
|
|
|
|
|
// 详情配图
|
|
|
_(replacePairs).forEach((value, key)=> {
|
|
|
intro = _.replace(intro, key, value);
|
|
|
intro = _.replace(intro, new RegExp(key, 'gm'), value);
|
|
|
});
|
|
|
|
|
|
details += intro;
|
...
|
...
|
|