...
|
...
|
@@ -14,6 +14,7 @@ var swiper, |
|
|
$brandText,
|
|
|
$brandHref,
|
|
|
$brandList = $('.brand-list');
|
|
|
var $icon = $('.search-icon');
|
|
|
|
|
|
var searchH = $('.newbrand-search').outerHeight(),
|
|
|
headerH = $('.yoho-header').outerHeight(),
|
...
|
...
|
@@ -142,9 +143,11 @@ if ($('.brand-search-page').length) { |
|
|
$('.history').css('display', 'none');
|
|
|
if ($keyword.val().length) {
|
|
|
searchResult();
|
|
|
$icon.css('color', '#000');
|
|
|
$(this).closest('.search-box').css('width', '11.25rem');
|
|
|
$('.search-action').show();
|
|
|
} else {
|
|
|
$icon.css('color', '#b2b2b2');
|
|
|
$(this).closest('.search-box').css('width', '12.5rem');
|
|
|
$('.search-action').hide();
|
|
|
}
|
...
|
...
|
|