Merge branch 'develop' of http://git.dev.yoho.cn/web/yohood.git into develop
Showing
1 changed file
with
1 additions
and
6 deletions
@@ -103,18 +103,13 @@ define('mobile', function(require, exports) { | @@ -103,18 +103,13 @@ define('mobile', function(require, exports) { | ||
103 | $('.slide-navigator').hide(); | 103 | $('.slide-navigator').hide(); |
104 | } | 104 | } |
105 | 105 | ||
106 | - //品牌列表点击效果 | ||
107 | - $('.cooperation-list').on('tap', '.img-box', function() { | ||
108 | - $(this).addClass('current').parents('li').siblings().find('.img-box').removeClass('current'); | ||
109 | - }); | ||
110 | - | ||
111 | //搜索框获得焦点 | 106 | //搜索框获得焦点 |
112 | $('.search-wrap input').on('focus', function() { | 107 | $('.search-wrap input').on('focus', function() { |
113 | var offsetTop = $('.search-wrap').offset().top; | 108 | var offsetTop = $('.search-wrap').offset().top; |
114 | $('.overlay').addClass('show'); | 109 | $('.overlay').addClass('show'); |
115 | $('body,html').animate({ | 110 | $('body,html').animate({ |
116 | scrollTop: offsetTop | 111 | scrollTop: offsetTop |
117 | - }, 500, function() { | 112 | + }, function() { |
118 | $('.header-download-wrap').removeClass('show'); | 113 | $('.header-download-wrap').removeClass('show'); |
119 | $('.header-download').removeClass('fix'); | 114 | $('.header-download').removeClass('fix'); |
120 | }); | 115 | }); |
-
Please register or login to post a comment