...
|
...
|
@@ -484,6 +484,21 @@ function setDownloadBar() { |
|
|
_hmt.push(['_trackEvent', '顶部下载条目', '微信里面关注']);
|
|
|
}
|
|
|
});
|
|
|
|
|
|
var miniAppOpen = document.getElementById('mini-app-open');
|
|
|
ev.addEventHandler(miniAppOpen, 'click', function(){
|
|
|
if (_hmt && _hmt.push) {
|
|
|
_hmt.push(['_trackEvent', '打开小程序按钮', '打开']);
|
|
|
}
|
|
|
});
|
|
|
|
|
|
var miniAppClose = document.getElementById('mini-app-close');
|
|
|
ev.addEventHandler(miniAppClose, 'click', function(){
|
|
|
if (_hmt && _hmt.push) {
|
|
|
_hmt.push(['_trackEvent', '打开小程序按钮', '关闭']);
|
|
|
}
|
|
|
});
|
|
|
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -766,4 +781,4 @@ if (navigator.userAgent.indexOf('YohoBuy-android-yas') > -1) { |
|
|
});
|
|
|
}
|
|
|
|
|
|
module.exports = _yas; |
|
|
\ No newline at end of file |
|
|
module.exports = _yas; |
...
|
...
|
|