...
|
...
|
@@ -162,7 +162,6 @@ if ($brandMore.length > 0) { |
|
|
|
|
|
// 【品牌】加载更多品牌数据
|
|
|
function checkMoreBrands(callback) {
|
|
|
|
|
|
var squery = window.location.search;
|
|
|
|
|
|
// /product/search/filter/brands?callback=?
|
...
|
...
|
@@ -170,6 +169,17 @@ function checkMoreBrands(callback) { |
|
|
var brandsHtml;
|
|
|
var params = (location.search || '').substr(1);
|
|
|
|
|
|
// 直出brands list取消异步加载,目前只用于5.6全球购商品列表
|
|
|
if (!moreBrandLoaded && $filterBrands.find('.brand-panel').length) {
|
|
|
moreBrandLoaded = true;
|
|
|
|
|
|
// init brand vars
|
|
|
$brandInput = $filterBrands.find('#brand-search-input');
|
|
|
$brandPanel = $filterBrands.find('.brand-panel');
|
|
|
$brandAttrs = $brandPanel.find('.attr');
|
|
|
$brandsIndex = $('.brands-index');
|
|
|
}
|
|
|
|
|
|
if (squery && squery.length > 0) {
|
|
|
url += squery + '&callback=?';
|
|
|
} else {
|
...
|
...
|
|