...
|
...
|
@@ -31,7 +31,8 @@ swiper = new Swiper('.swiper-container', { |
|
|
lazyLoad($('img.lazy'));
|
|
|
$('.yoho-header').css({
|
|
|
'z-index': 2,
|
|
|
position: 'fixed'
|
|
|
position: 'fixed',
|
|
|
top: 0
|
|
|
});
|
|
|
|
|
|
$(window).scroll(function() {
|
...
|
...
|
@@ -98,10 +99,10 @@ function searchResult() { |
|
|
$.each(v, function(i, brand) {
|
|
|
brandHtml.push('<p><a href="' + brand.url + '">' + brand.name);
|
|
|
if (brand.isNew) {
|
|
|
brandHtml.push('<i class="icon-hot">Hot</i>');
|
|
|
brandHtml.push('<i class="icon-hot">HOT</i>');
|
|
|
}
|
|
|
if (brand.isHot) {
|
|
|
brandHtml.push('<i class="icon-new">New</i>');
|
|
|
brandHtml.push('<i class="icon-new">NEW</i>');
|
|
|
}
|
|
|
brandHtml.push('</a></p>');
|
|
|
});
|
...
|
...
|
@@ -142,7 +143,7 @@ if ($('.brand-search-page').length) { |
|
|
$(this).closest('.search-box').css('width', '12.5rem');
|
|
|
$('.search-action').hide();
|
|
|
}
|
|
|
});
|
|
|
}).focus();
|
|
|
|
|
|
|
|
|
searchBtnHammer = new Hammer($('.search-btn')[0]);
|
...
|
...
|
|