Authored by Lynnic

修改clickt为touchend事件

@@ -38,7 +38,7 @@ if (0 === $('.goodsDiscount .discount-folder').children().length) { @@ -38,7 +38,7 @@ if (0 === $('.goodsDiscount .discount-folder').children().length) {
38 } 38 }
39 39
40 //goods-discount下拉按钮点击事件 40 //goods-discount下拉按钮点击事件
41 -$('.goodsDiscount .dropdown').on('touchend', function() { 41 +$('.goodsDiscount .dropdown').on('touchend', function(e) {
42 if ($discountFolder.is(':hidden')) { 42 if ($discountFolder.is(':hidden')) {
43 $discountArrow.removeClass('icon-down').addClass('icon-up').html(''); 43 $discountArrow.removeClass('icon-down').addClass('icon-up').html('');
44 $discountFolder.slideDown(); 44 $discountFolder.slideDown();
@@ -46,5 +46,7 @@ $('.goodsDiscount .dropdown').on('touchend', function() { @@ -46,5 +46,7 @@ $('.goodsDiscount .dropdown').on('touchend', function() {
46 $discountArrow.removeClass('icon-up').addClass('icon-down').html(''); 46 $discountArrow.removeClass('icon-up').addClass('icon-down').html('');
47 $discountFolder.slideUp(); 47 $discountFolder.slideUp();
48 } 48 }
  49 +
  50 + return false;
49 }); 51 });
50 require('./like'); 52 require('./like');