...
|
...
|
@@ -12,7 +12,7 @@ var filter = require('../../plugin/filter'); |
|
|
var $goodsContainer = $('#goods-container'),
|
|
|
$ngc = $($goodsContainer.children().get(0)),
|
|
|
$pgc = $($goodsContainer.children().get(1)),
|
|
|
$dgc = $($goodsContainer.children().get(2));
|
|
|
$dgc = $($goodsContainer.children().get(2)),
|
|
|
$all = $($goodsContainer.children().get(3));
|
|
|
|
|
|
var winH = $(window).height();
|
...
|
...
|
@@ -27,7 +27,6 @@ var defaultOpt = { |
|
|
price: $('#price').val(),
|
|
|
discount: $('#discount').val(),
|
|
|
limit: $('#limit').val(),
|
|
|
dayLimit: $('#dayLimit').val(),
|
|
|
channel: $('#channel').val(),
|
|
|
p_d: $('#p_d').val()
|
|
|
};
|
...
|
...
|
@@ -74,7 +73,6 @@ function search(opt) { |
|
|
ext,
|
|
|
att,
|
|
|
nav, navType,
|
|
|
dayLimit,
|
|
|
page;
|
|
|
|
|
|
if (opt) {
|
...
|
...
|
@@ -153,16 +151,12 @@ function search(opt) { |
|
|
//导航类别
|
|
|
if ($pre === undefined || $pre.hasClass('today')) {
|
|
|
navType = 'today';
|
|
|
dayLimit = 1;
|
|
|
} else if ($pre.hasClass('week')) {
|
|
|
navType = 'week';
|
|
|
dayLimit = 2;
|
|
|
} else if ($pre.hasClass('sale')) {
|
|
|
navType = 'sale';
|
|
|
dayLimit = 3;
|
|
|
}else if ($pre.hasClass('all')) {
|
|
|
} else if ($pre.hasClass('all')) {
|
|
|
navType = 'all';
|
|
|
dayLimit = 4;
|
|
|
}
|
|
|
|
|
|
nav = navInfo[navType];
|
...
|
...
|
@@ -177,7 +171,6 @@ function search(opt) { |
|
|
}
|
|
|
|
|
|
$.extend(setting, defaultOpt, {
|
|
|
dayLimit: dayLimit,
|
|
|
page: page
|
|
|
});
|
|
|
|
...
|
...
|
|