...
|
...
|
@@ -39,6 +39,9 @@ $categoryNavItem.on('click', function(e) { |
|
|
|
|
|
var query = {};
|
|
|
|
|
|
$('.category a').removeClass('active');
|
|
|
$(this).addClass('active');
|
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
|
querys.forEach(function(value) {
|
...
|
...
|
@@ -55,7 +58,6 @@ $categoryNavItem.on('click', function(e) { |
|
|
});
|
|
|
|
|
|
// 触发第一个search
|
|
|
|
|
|
if ($categoryNavItem.length > 0) {
|
|
|
$categoryNavItem.eq(0).trigger('click');
|
|
|
}
|
...
|
...
|
@@ -76,7 +78,7 @@ if ($('#list-nav').length > 0) { |
|
|
if ($('.back-ground-white').length > 10) {
|
|
|
$('.more-activity').show();
|
|
|
$('.back-ground-white').each(function(index, e) {
|
|
|
if(index > 9) {
|
|
|
if (index > 9) {
|
|
|
e.hide();
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -85,7 +87,7 @@ if ($('.back-ground-white').length > 10) { |
|
|
$('.more-activity').click(function() {
|
|
|
$('.more-activity').hide();
|
|
|
$('.back-ground-white').each(function(index, e) {
|
|
|
if(index > 9) {
|
|
|
if (index > 9) {
|
|
|
e.show();
|
|
|
}
|
|
|
});
|
...
|
...
|
|