Authored by ccbikai

product intro 替换

@@ -348,7 +348,12 @@ let getintroIntro = (data) => { @@ -348,7 +348,12 @@ let getintroIntro = (data) => {
348 348
349 result = result('#productDesc'); 349 result = result('#productDesc');
350 350
351 - return result.html(); 351 + return result.html().replace(/<img src=/g, '<img class="lazy" src="data:image/gif;' +
  352 + 'base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="' +
  353 + ' data-original=').replace(/<img border="0" src=/g, '<img border="0" class="lazy" ' +
  354 + 'src="data:image/gif;base64,' +
  355 + 'R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="' +
  356 + ' data-original=');
352 }); 357 });
353 }; 358 };
354 359