Authored by zhangxiaoru

list埋点

... ... @@ -552,12 +552,14 @@ function search(opt) {
FILTER_VALUE: FILTER_VALUE
});
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: optype,
param: JSON.stringify(yasparm)
}, true);
}
setTimeout(function() {
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: optype,
param: JSON.stringify(yasparm)
}, true);
}
}, 200)
} else {
num = $container.find('.good-info').length;
$container.append(data);
... ... @@ -585,12 +587,14 @@ function search(opt) {
FILTER_VALUE: FILTER_VALUE
});
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: optype,
param: JSON.stringify(yasparm)
}, true);
}
setTimeout(function() {
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: optype,
param: JSON.stringify(yasparm)
}, true);
}
}, 200)
// lazy good-infos who append in
lazyLoad($container.find('.good-info:gt(' + (num - 1) + ') .lazy'));
... ... @@ -1098,5 +1102,5 @@ $('#goods-container').on('click', '.good-info', function() {
}, true);
}
// return false;
return false;
});
... ...