Authored by rqq

common.js

... ... @@ -191,7 +191,7 @@ function reMarginFooter(fixedElement) {
a.async = 1;
a.src = j;
m.parentNode.insertBefore(a, m);
})(window, document, 'script', ('https:' == document.location.protocol ? 'https' : 'http') + '://' + 'cdn.yoho.cn/yas-jssdk/1.0.15/yas.js', '_yas');
})(window, document, 'script', ('https:' === document.location.protocol ? 'https' : 'http') + '://' + 'cdn.yoho.cn/yas-jssdk/1.0.15/yas.js', '_yas');
(function() {
var uid = getUid();
... ... @@ -201,7 +201,19 @@ function reMarginFooter(fixedElement) {
window._ozuid = uid;//暴露ozuid
if (window._yas) {
window._yas(1 * new Date(), '1.0.15', 'yohobuy_m', uid, '', '');
window._yas(1 * new Date(), '1.0.14', 'yohobuy_m', uid, '', '');
$('.buriedpoint').each(function() {
$(this).click(function(e) {
var bpIdArr = $(this).data('bpId').split('_');
var jsonData = {
page: bpIdArr[0],
floor: bpIdArr[1],
data: bpIdArr[2]
};
window._yas.sendCustomInfo(jsonData, bpIdArr[3]);
});
});
}
}());
... ...