...
|
...
|
@@ -457,7 +457,7 @@ function search(opt) { |
|
|
|
|
|
if (nav.reload) {
|
|
|
|
|
|
var goodList = [];
|
|
|
var goodList = [], wordContents = [];
|
|
|
|
|
|
$(data).each(function(i, goodInfo) {
|
|
|
if ($(goodInfo).hasClass('good-info')) {
|
...
|
...
|
@@ -465,7 +465,10 @@ function search(opt) { |
|
|
goodIds.push($(goodInfo).data('good-id'));
|
|
|
} else if ($(goodInfo).hasClass('total')) {
|
|
|
total = $(goodInfo).data('id');
|
|
|
} else if ($(goodInfo).hasClass('word-content')) {
|
|
|
wordContents.push(goodInfo);
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
yasparm = Object.assign(yasparm, {
|
...
|
...
|
@@ -489,7 +492,7 @@ function search(opt) { |
|
|
goodList.splice(0, 4);
|
|
|
$container.append(goodList);
|
|
|
} else {
|
|
|
$container.html(goodList);
|
|
|
$container.html([].concat(wordContents, goodList));
|
|
|
}
|
|
|
lazyLoad($container.find('.lazy'));
|
|
|
} else {
|
...
|
...
|
|