Authored by 郝肖肖

搜索结果无商品数据返回 去除最近加载提示

... ... @@ -248,8 +248,8 @@ promotion = getQueryString('promotion');
if ($fsgc.children().length > 0) {
var fsgcgoods = [],
firstop,
firstyasparm = {};
firstop,
firstyasparm = {};
$fsgc.find('.good-info').each(function() {
var fsgcgood = $(this).data('good-id');
... ... @@ -575,10 +575,9 @@ function search(opt) {
if (data === '' || (data.list && data.list.length <= 0)) {
nav.end = true;
$('.search-divide').remove();
if (nav.reload) {
if (data.total === 0) {
$('.search-divide').remove();
$container.html(noResult);
}
... ...