...
|
...
|
@@ -107,11 +107,11 @@ define('mobile', function(require, exports) { |
|
|
$('.search-wrap input').on('focus', function() {
|
|
|
var offsetTop = $('.search-wrap').offset().top;
|
|
|
$('.overlay').addClass('show');
|
|
|
if ($('.header-download').hasClass('fix')) {
|
|
|
offsetTop = $('.header-download').outerHeight();
|
|
|
}
|
|
|
$('body,html').animate({
|
|
|
scrollTop: offsetTop
|
|
|
}, function() {
|
|
|
$('.header-download-wrap').removeClass('show');
|
|
|
$('.header-download').removeClass('fix');
|
|
|
});
|
|
|
});
|
|
|
$('.search-wrap').find('input').on('keyup', function(event) {
|
...
|
...
|
|