Authored by 沈志敏

增加下拉曝光事件

@@ -219,6 +219,28 @@ plusstar = { @@ -219,6 +219,28 @@ plusstar = {
219 success: function(data) { 219 success: function(data) {
220 resourcesTp[tabId] = data; 220 resourcesTp[tabId] = data;
221 execResData(data); 221 execResData(data);
  222 +
  223 + // 页面中下拉曝光
  224 + setTimeout(function() {
  225 + if (window._yas && window._yas.sendAppLogs) {
  226 + var actionUrl = [],
  227 + aDom = $('.plusstar-resources').find('a');
  228 +
  229 + aDom.each(function() {
  230 + actionUrl.push($(this).attr('href'));
  231 + });
  232 +
  233 + window._yas.sendAppLogs({
  234 + appop: 'YB_H5_SHOW',
  235 + param: JSON.stringify({
  236 + C_ID: window._ChannelVary[window.cookie('_Channel')] || 1,
  237 + PAGE_URL: window.originUrl,
  238 + PAGE_NAME: window.qs.title || document.title,
  239 + ACTION_URL: actionUrl
  240 + })
  241 + }, true);
  242 + }
  243 + }, 500);
222 }, 244 },
223 error: function() { 245 error: function() {
224 tip.show('网络断开连接了~'); 246 tip.show('网络断开连接了~');