Authored by 梁志锋

update

... ... @@ -18,6 +18,8 @@ swiper = new Swiper('.swiper-container', {
});
lazyLoad($('img.lazy'));
$('.yoho-header').css({'z-index':2,'position':'fixed'});
$('.banner-top').css('padding-top','90px');
\ No newline at end of file
$('.yoho-header').css({
'z-index': 2,
position: 'fixed'
});
$('.banner-top').css('padding-top', '90px');
\ No newline at end of file
... ...
... ... @@ -20,7 +20,7 @@ var winH = $(window).height();
var defaultOpt = {
gender: $('#gender').val(),
brand: $('#brand').val(),
sort: $('#sort').val(),
msort: $('#msort').val(),
color: $('#color').val(),
size: $('#size').val(),
price: $('#price').val(),
... ... @@ -54,8 +54,8 @@ var $listNav = $('#list-nav'),
$pre, //纪录进入筛选前的active项
searching;
$pgc.addClass('hide');
$dgc.addClass('hide');
$pgc.addClass('hide');
$dgc.addClass('hide');
/**
* 筛选注册的回调,筛选子项点击后逻辑
... ... @@ -94,9 +94,9 @@ function search(opt) {
brand: opt.id
};
break;
case 'sort':
case 'msort':
ext = {
sort: opt.id
msort: opt.id
};
break;
case 'color':
... ... @@ -322,5 +322,4 @@ $(window).scroll(function() {
$(document).height() - 0.25 * $goodsContainer.height()) {
search();
}
});
\ No newline at end of file
});
\ No newline at end of file
... ...
... ... @@ -48,8 +48,8 @@
<input id="gender" type="hidden" value={{gender}}>
{{/if}}
{{#if sort}}
<input id="sort" type="hidden" value={{sort}}>
{{#if msort}}
<input id="msort" type="hidden" value={{msort}}>
{{/if}}
{{#if color}}
... ...