...
|
...
|
@@ -17,8 +17,8 @@ let $brandList, |
|
|
$newBrandWall,
|
|
|
$recommandBrandWall,
|
|
|
$icon = $('.search-icon'),
|
|
|
$genderItem = $('.genderNav li'),
|
|
|
$brandItem = $('.brandNav li'),
|
|
|
$genderItem = $('.gender-nav li'),
|
|
|
$brandItem = $('.brand-nav li'),
|
|
|
$searchAction = $('.search-action'),
|
|
|
$homebuttom = $('.homebuttom'),
|
|
|
$newSearch = $('.newbrand-search'),
|
...
|
...
|
@@ -258,7 +258,7 @@ function searchResult() { |
|
|
|
|
|
(function() {
|
|
|
if ($('.banner-top').length === 0) {
|
|
|
let h1 = $('.genderNav').height();
|
|
|
let h1 = $('.gender-nav').height();
|
|
|
let h2 = $('.newbrand-search').height();
|
|
|
|
|
|
$('.hot-brands').css('padding-top', (h1 + h2) + 'px');
|
...
|
...
|
@@ -295,7 +295,7 @@ function searchResult() { |
|
|
$brandItem.on('click', function() {
|
|
|
let index = $(this).data('id');
|
|
|
|
|
|
$('.brandNav ul .active').removeClass('active');
|
|
|
$('.brand-nav ul .active').removeClass('active');
|
|
|
$(this).addClass('active');
|
|
|
if (index === 0) {
|
|
|
$recommandBrandWall.not('.hide').addClass('hide');
|
...
|
...
|
|