Merge branch 'hotfix/cart' into 'gray'
Hotfix/cart See merge request !1317
Showing
2 changed files
with
4 additions
and
2 deletions
@@ -32,7 +32,7 @@ let goodObj = { | @@ -32,7 +32,7 @@ let goodObj = { | ||
32 | $('.good-item').on('click', '.edit-size-info', function(e) { | 32 | $('.good-item').on('click', '.edit-size-info', function(e) { |
33 | self.sizeInfoClick(e); | 33 | self.sizeInfoClick(e); |
34 | }); | 34 | }); |
35 | - $('.good-item').on('click', '.name,.color-size-row,.img', function(e) { | 35 | + $('.good-item').on('touchend', '.name,.color-size-row,.img', function(e) { |
36 | self.goodClick(e); | 36 | self.goodClick(e); |
37 | }); | 37 | }); |
38 | $('.good-item').on('click', '.bottom .re-add', function(e) { | 38 | $('.good-item').on('click', '.bottom .re-add', function(e) { |
@@ -301,8 +301,10 @@ $yohoPage.on('touchstart', '.tap-hightlight', function() { | @@ -301,8 +301,10 @@ $yohoPage.on('touchstart', '.tap-hightlight', function() { | ||
301 | $(this).removeClass('highlight'); | 301 | $(this).removeClass('highlight'); |
302 | }); | 302 | }); |
303 | 303 | ||
304 | -$('.nav-home').on('touchstart', function() { | 304 | +$('.nav-home').on('touchstart', function(e) { |
305 | $('.homebuttom').toggleClass('hide'); | 305 | $('.homebuttom').toggleClass('hide'); |
306 | + e.preventDefault(); | ||
307 | + e.stopPropagation(); | ||
306 | }); | 308 | }); |
307 | 309 | ||
308 | // 点击关闭头部菜单 | 310 | // 点击关闭头部菜单 |
-
Please register or login to post a comment