Showing
1 changed file
with
15 additions
and
0 deletions
@@ -40,3 +40,18 @@ $('.yoho-page').on('touchstart', '.list-item, .type-item, .order-title', functio | @@ -40,3 +40,18 @@ $('.yoho-page').on('touchstart', '.list-item, .type-item, .order-title', functio | ||
40 | }).on('touchend touchcancel', '.list-item, .type-item, .order-title', function() { | 40 | }).on('touchend touchcancel', '.list-item, .type-item, .order-title', function() { |
41 | $(this).removeClass('highlight'); | 41 | $(this).removeClass('highlight'); |
42 | }); | 42 | }); |
43 | + | ||
44 | +// 埋点 | ||
45 | +$('.res-c').on('click', 'a', function() { | ||
46 | + window._yas.sendCustomInfo({ | ||
47 | + | ||
48 | + // op: 'YB_CHOOSE_FOR_YOU_Y', | ||
49 | + // appop: isAppOp ? 'YB_CHOOSE_FOR_YOU' : '', // app内打开wap的埋点场合 | ||
50 | + // param: JSON.stringify(parameter), | ||
51 | + // REC_POSE: RECPOSE, | ||
52 | + // PRD_ID: $(this).closest('.good-info').data('id'), | ||
53 | + // PRD_NUM: index % pageNum === 0 ? pageNum : index % pageNum, | ||
54 | + // ACTION_ID: 1, | ||
55 | + // PAGE_NUM: Math.ceil(index / pageNum) | ||
56 | + }, true); | ||
57 | +}); |
-
Please register or login to post a comment