...
|
...
|
@@ -273,18 +273,20 @@ $('.s-activity', '.s-section').click(function() { |
|
|
});
|
|
|
$('.good-info', '.goods-list').click(function() {
|
|
|
var options;
|
|
|
var url = $(this).find('.good-detail-img').find('.good-thumb').attr('href');
|
|
|
var index = $(this).index();
|
|
|
var tid = $(this).parents('.s-section').data('template-id');
|
|
|
// var url = $(this).find('.good-detail-img').find('.good-thumb').attr('href');
|
|
|
// var index = $(this).index();
|
|
|
// var tid = $(this).parents('.s-section').data('template-id');
|
|
|
var index = $(this).index;
|
|
|
var goodids = $(this).find('.good-thumb').attr('href').match(/"product_skn":([^}]+)/, 'g');
|
|
|
var goodid = goodids && goodids.length === 2 ? goodids[1] : '';
|
|
|
|
|
|
options = {
|
|
|
EVENT: 'YB_STUDENT_VIP_FLR',
|
|
|
C_ID: C_ID,
|
|
|
F_ID: tid || 4,
|
|
|
F_NAME: '学生专享专区',
|
|
|
F_URL: url,
|
|
|
F_INDEX: 4,
|
|
|
I_INDEX: index
|
|
|
EVENT: 'YB_STUDENT_VIP_GDS_LIST',
|
|
|
PRD_NUM: index,
|
|
|
PRD_ID: goodid,
|
|
|
ACTION_ID: 0,
|
|
|
SORT_TYPE: 4,
|
|
|
REC_ID: Date.now()
|
|
|
};
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo(options, true);
|
...
|
...
|
|