...
|
...
|
@@ -103,18 +103,13 @@ define('mobile', function(require, exports) { |
|
|
$('.slide-navigator').hide();
|
|
|
}
|
|
|
|
|
|
//品牌列表点击效果
|
|
|
$('.cooperation-list').on('tap', '.img-box', function() {
|
|
|
$(this).addClass('current').parents('li').siblings().find('.img-box').removeClass('current');
|
|
|
});
|
|
|
|
|
|
//搜索框获得焦点
|
|
|
$('.search-wrap input').on('focus', function() {
|
|
|
var offsetTop = $('.search-wrap').offset().top;
|
|
|
$('.overlay').addClass('show');
|
|
|
$('body,html').animate({
|
|
|
scrollTop: offsetTop
|
|
|
}, 500, function() {
|
|
|
}, function() {
|
|
|
$('.header-download-wrap').removeClass('show');
|
|
|
$('.header-download').removeClass('fix');
|
|
|
});
|
...
|
...
|
|