Authored by 王水玲

星潮bug 修改

... ... @@ -59,9 +59,12 @@ const _processIndexData = (list) => {
// 首页资源位数据处理
if (list.ads) {
_.forEach(list.ads.data, (data) => {
let urlObj = url.parse(data.url);
let appUrl = `&openby:yohobuy{"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"${ urlObj.protocol + '//' + urlObj.host + urlObj.pathname}","param":${JSON.stringify(qs.parse(urlObj.query))}}}`.replace(/\//g, '\/'); // eslint-disable-line
formatData.ads.push({
src: data.src,
url: data.url
url: data.url + appUrl
});
});
}
... ...
This diff could not be displayed because it is too large.
... ... @@ -223,7 +223,7 @@ function setIndexAction() {
return false;
});
$('.artice-imgs-area img').on('load', function() {
$('img').on('load', function() {
starIScroll.iScroll.refresh();
});
}
... ...