...
|
...
|
@@ -7,7 +7,8 @@ var $ = require('jquery'), |
|
|
noticeScroll = require('../plugin/notice-scroll');
|
|
|
|
|
|
var $userAvatar = $('.user-avatar'),
|
|
|
$listItem = $('.list-item');
|
|
|
$listItem = $('.list-item'),
|
|
|
$studentVe = $('.students-entry');
|
|
|
var myImage = new Image(),
|
|
|
avatar;
|
|
|
|
...
|
...
|
@@ -29,3 +30,23 @@ $('.yoho-page').on('touchstart', '.list-item, .type-item, .order-title', functio |
|
|
}).on('touchend touchcancel', '.list-item, .type-item, .order-title', function() {
|
|
|
$(this).removeClass('highlight');
|
|
|
});
|
|
|
|
|
|
var getChannel = function() {
|
|
|
var name = window.cookie('_Channel');
|
|
|
|
|
|
return {
|
|
|
boys: 1,
|
|
|
girls: 2,
|
|
|
kids: 3,
|
|
|
lifestyle: 4
|
|
|
}[name] || 1;
|
|
|
};
|
|
|
|
|
|
$studentVe.on('click', function(){
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo({
|
|
|
C_ID: getChannel(),
|
|
|
SRC_ID: 2
|
|
|
}, true);
|
|
|
}
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|