Authored by 沈志敏

增加下拉曝光事件

... ... @@ -219,6 +219,28 @@ plusstar = {
success: function(data) {
resourcesTp[tabId] = data;
execResData(data);
// 页面中下拉曝光
setTimeout(function() {
if (window._yas && window._yas.sendAppLogs) {
var actionUrl = [],
aDom = $('.plusstar-resources').find('a');
aDom.each(function() {
actionUrl.push($(this).attr('href'));
});
window._yas.sendAppLogs({
appop: 'YB_H5_SHOW',
param: JSON.stringify({
C_ID: window._ChannelVary[window.cookie('_Channel')] || 1,
PAGE_URL: window.originUrl,
PAGE_NAME: window.qs.title || document.title,
ACTION_URL: actionUrl
})
}, true);
}
}, 500);
},
error: function() {
tip.show('网络断开连接了~');
... ...