...
|
...
|
@@ -6,9 +6,6 @@ var $ = require('yoho-jquery'), |
|
|
|
|
|
var _weChatInterface = '//m.yohobuy.com/life/getSignPackage',
|
|
|
wx = window.wx,
|
|
|
yas = window.yas || {
|
|
|
sendCustomInfo: function() {}
|
|
|
},
|
|
|
C_ID,
|
|
|
getChannel;
|
|
|
|
...
|
...
|
@@ -199,22 +196,30 @@ if (typeof wx !== 'undefined') { |
|
|
wx.onMenuShareWeibo(shareData);
|
|
|
});
|
|
|
}
|
|
|
if ($('.s-verify-fail').size()) {
|
|
|
yas.sendCustomInfo({
|
|
|
|
|
|
setTimeout(function() {
|
|
|
if ($('.s-verify-fail').size()) {
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo({
|
|
|
EVENT: 'YB_STUDENT_ATTCT_RESULT',
|
|
|
C_ID: C_ID,
|
|
|
SRC_ID: 5,
|
|
|
ATTCT_RES: 1,
|
|
|
FAILURE_CAUSE: ''
|
|
|
}, true);
|
|
|
} else {
|
|
|
}
|
|
|
} else {
|
|
|
// 埋点 学生营销宣传首页
|
|
|
yas.sendCustomInfo({
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo({
|
|
|
EVENT: 'YB_STUDENT_HOME',
|
|
|
C_ID: C_ID,
|
|
|
SRC_ID: 1
|
|
|
}, true);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}, 3000);
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
...
|
@@ -234,9 +239,11 @@ $('.swiper-slide', '.banner-top').click(function() { |
|
|
F_INDEX: 1,
|
|
|
I_INDEX: index
|
|
|
};
|
|
|
yas.sendCustomInfo(options, false);
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo(options, true);
|
|
|
}
|
|
|
|
|
|
// return false;
|
|
|
// return false;
|
|
|
});
|
|
|
$('.s-activity', '.s-section').click(function() {
|
|
|
var options;
|
...
|
...
|
@@ -253,7 +260,9 @@ $('.s-activity', '.s-section').click(function() { |
|
|
F_INDEX: 3,
|
|
|
I_INDEX: index
|
|
|
};
|
|
|
yas.sendCustomInfo(options, false);
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo(options, true);
|
|
|
}
|
|
|
});
|
|
|
$('.good-info', '.goods-list').click(function() {
|
|
|
var options;
|
...
|
...
|
@@ -270,5 +279,9 @@ $('.good-info', '.goods-list').click(function() { |
|
|
F_INDEX: 4,
|
|
|
I_INDEX: index
|
|
|
};
|
|
|
yas.sendCustomInfo(options, false);
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo(options, true);
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
...
|
...
|
|