Authored by Targaryen

product-pool-support

... ... @@ -148,11 +148,17 @@ let _jsonp = function(el, param, cond){
}
}
} else {
goods.each(function(indx, el) {
el = $(el);
_replaceData(el, cond, _getProductData(res), wh, fp);
for (let i = 1; i < res.length; i++) {
goods.last().after(goods.clone());
}
let $newGoods = el.find('.feature-product-info');
$newGoods.each(function(indx, perProduct) {
let $perProduct = $(perProduct);
_replaceData($perProduct, cond, _getProductData(res), wh, fp);
});
goods.removeClass('novisible');
$newGoods.removeClass('novisible');
loading.hide();
}
}, function(){
... ...