h5 3.0.4 YW-584 modify
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -66,7 +66,7 @@ $('.sub-nav').each(function() { | @@ -66,7 +66,7 @@ $('.sub-nav').each(function() { | ||
66 | 66 | ||
67 | //二级导航样式控制 | 67 | //二级导航样式控制 |
68 | $('.sub-nav').on('mouseenter', 'li', function() { | 68 | $('.sub-nav').on('mouseenter', 'li', function() { |
69 | - $(this).siblings().removeClass('current'); | 69 | + $(this).addClass('current').siblings().removeClass('current'); |
70 | }); | 70 | }); |
71 | 71 | ||
72 | //头部banner轮播 | 72 | //头部banner轮播 |
-
Please register or login to post a comment