购物车编辑 以及加入购物车点击外侧区域组织默认行为
Showing
2 changed files
with
3 additions
and
1 deletions
@@ -236,6 +236,8 @@ $yohoPage.on('touchstart', '.chose-panel', function(e) { | @@ -236,6 +236,8 @@ $yohoPage.on('touchstart', '.chose-panel', function(e) { | ||
236 | 236 | ||
237 | //点击蒙版消失 | 237 | //点击蒙版消失 |
238 | hide(); | 238 | hide(); |
239 | + | ||
240 | + return false; | ||
239 | }); | 241 | }); |
240 | 242 | ||
241 | $yohoPage.on('touchstart', '.color-list .block', function() { | 243 | $yohoPage.on('touchstart', '.color-list .block', function() { |
@@ -44,7 +44,7 @@ function hideSideBar() { | @@ -44,7 +44,7 @@ function hideSideBar() { | ||
44 | openSideNav = false; | 44 | openSideNav = false; |
45 | if ($mobileWrap.hasClass('menu-open')) { | 45 | if ($mobileWrap.hasClass('menu-open')) { |
46 | $mobileWrap.removeClass('menu-open'); | 46 | $mobileWrap.removeClass('menu-open'); |
47 | - $('.overlay').hide(); | 47 | + $overlay.hide(); |
48 | $('.sub-nav').removeClass('show'); | 48 | $('.sub-nav').removeClass('show'); |
49 | $sideNav.removeClass('on'); | 49 | $sideNav.removeClass('on'); |
50 | } | 50 | } |
-
Please register or login to post a comment