Showing
3 changed files
with
11 additions
and
5 deletions
@@ -73,13 +73,13 @@ if (addToCartHammer) { | @@ -73,13 +73,13 @@ if (addToCartHammer) { | ||
73 | addToCartHammer.on('tap', function(e) { | 73 | addToCartHammer.on('tap', function(e) { |
74 | chosePanel.show(); | 74 | chosePanel.show(); |
75 | 75 | ||
76 | - //统计代码:用于统计用户加入购物车的动作 | ||
77 | - if (window._yas) { | ||
78 | - window._yas.sendCustomInfo({ | 76 | + //统计代码:用于统计用户加入购物车的动作 |
77 | + if (window._yas) { | ||
78 | + window._yas.sendCustomInfo({ | ||
79 | pd: productId, | 79 | pd: productId, |
80 | by: 1 | 80 | by: 1 |
81 | }, true); | 81 | }, true); |
82 | - } | 82 | + } |
83 | 83 | ||
84 | }); | 84 | }); |
85 | } | 85 | } |
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | var $ = require('jquery'), | 7 | var $ = require('jquery'), |
8 | lazyLoad = require('yoho.lazyload'); | 8 | lazyLoad = require('yoho.lazyload'); |
9 | 9 | ||
10 | -var chosePanel = require('./chose-panel'); | 10 | +//var chosePanel = require('./chose-panel'); |
11 | 11 | ||
12 | lazyLoad($('.lazy')); | 12 | lazyLoad($('.lazy')); |
13 | 13 |
@@ -171,3 +171,9 @@ $('.advance-buy').on('touchend', function() { | @@ -171,3 +171,9 @@ $('.advance-buy').on('touchend', function() { | ||
171 | }); | 171 | }); |
172 | 172 | ||
173 | 173 | ||
174 | +$('.chose').on('touchend', function() { | ||
175 | + | ||
176 | + //var id = $(this).closest('.gift-advance-good').data('id'); | ||
177 | + chosePanel.show(); | ||
178 | +}); | ||
179 | + |
-
Please register or login to post a comment