...
|
...
|
@@ -519,6 +519,9 @@ ev.addEventHandler(document, 'deviceready', function(e) { |
|
|
href && actionUrl.push(href);
|
|
|
|
|
|
ev.addEventHandler(aDom[i], 'click', function(e) {
|
|
|
var target = e.currentTarget,
|
|
|
furl = target.getAttribute('href');
|
|
|
|
|
|
// 上报曝光事件
|
|
|
_yas.sendAppLogs({
|
|
|
appop: 'YB_H5_PAGE_FLR_C',
|
...
|
...
|
@@ -526,25 +529,23 @@ ev.addEventHandler(document, 'deviceready', function(e) { |
|
|
C_ID: window.qs.yh_channel || util.getChannel() || 1,
|
|
|
PAGE_URL: window.originUrl,
|
|
|
PAGE_NAME: window.qs.title || document.title,
|
|
|
F_URL: e.currentTarget.getAttribute('href')
|
|
|
F_URL: furl
|
|
|
})
|
|
|
}, true);
|
|
|
|
|
|
if ('feature.yoho.cn' === document.domain) { // feature.yoho.cn场合
|
|
|
var operid = e.currentTarget.getAttribute('operid');
|
|
|
var operid = target.getAttribute('operid');
|
|
|
if (operid) {
|
|
|
var param = e.currentTarget.getAttribute('param');
|
|
|
var needcid = e.currentTarget.getAttribute('needcid');
|
|
|
|
|
|
if (needcid) {
|
|
|
param = JSON.parse(param);
|
|
|
param.C_ID = window.qs.yh_channel;
|
|
|
param = JSON.stringify(param);
|
|
|
}
|
|
|
var param = target.getAttribute('param');
|
|
|
|
|
|
param = JSON.parse(param);
|
|
|
param.C_ID = window.qs.yh_channel;
|
|
|
param.F_URL = furl;
|
|
|
|
|
|
// 上报点击事件
|
|
|
_yas.sendAppLogs({
|
|
|
appop: operid,
|
|
|
param: param
|
|
|
param: JSON.stringify(param)
|
|
|
}, true);
|
|
|
}
|
|
|
}
|
...
|
...
|
|