Authored by 梁志锋

update

... ... @@ -21,8 +21,6 @@ var requestFrame,
$logotrans = $('.home-header .logo'),
isen = true;
var noResult = '<p class="no-result">未找到相关搜索结果</p>';
require('./maybe-like');
lazyLoad($('img.lazy'));
... ...
... ... @@ -31,7 +31,6 @@ if (kidsType) {
} else {
gender = $('.mobile-wrap').hasClass('boys-wrap') ? '1,3' : '2,3',
url = '/product/recom/maylike?gender=' + gender;
boygirl_flag = true;
}
$curNav = $navList.children('.focus');
... ... @@ -77,9 +76,7 @@ $(window).scroll(function () {
success: function(data) {
if (data === ' ') {
loading = true;
alert('haha');
if (gender) {
var url;
if (gender === '1,3') {
url = '/boys/bottomBanner';
} else {
... ... @@ -97,7 +94,7 @@ $(window).scroll(function () {
}
});
}
}
return;
}
$goodList.append(data);
... ...
... ... @@ -217,8 +217,8 @@ function search(opt) {
lazyLoad($('.lazy'));
filter.registerCbFn(search);
// loading.initLoadingMask();
// loading.initLoadingMask();
//导航栏点击逻辑说明:
//1.点击非active项时切换active状态
//2.价格和折扣active状态时继续点击切换排序
... ...
... ... @@ -244,6 +244,7 @@ function search(opt) {
lazyLoad($('.lazy'));
filter.registerCbFn(search);
// loading.initLoadingMask();
//导航栏点击逻辑说明:
... ...