...
|
...
|
@@ -144,6 +144,10 @@ function getPageGoods(info) { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (info.data && coverChannel) {
|
|
|
info.data.coverChannel = coverChannel;
|
|
|
}
|
|
|
|
|
|
searching = true;
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
...
|
...
|
@@ -525,6 +529,10 @@ function search(opt) { |
|
|
ext = {
|
|
|
gender: opt.id
|
|
|
};
|
|
|
|
|
|
if (coverChannel) {
|
|
|
ext.coverChannel = opt.id;
|
|
|
}
|
|
|
break;
|
|
|
case 'brand':
|
|
|
ext = {
|
...
|
...
|
@@ -584,6 +592,12 @@ function search(opt) { |
|
|
//不需要重新加载并且数据请求结束
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
//封面图,defaultOpt对象也有可能包含coverChannel,但defaultOpt优先级高
|
|
|
if (coverChannel) {
|
|
|
setting.coverChannel = coverChannel;
|
|
|
}
|
|
|
|
|
|
$.extend(setting, defaultOpt, {
|
|
|
type: navType,
|
|
|
order: nav.order,
|
...
|
...
|
@@ -598,9 +612,7 @@ function search(opt) { |
|
|
setting.shop_id = shopId;
|
|
|
}
|
|
|
|
|
|
if (coverChannel) {
|
|
|
setting.coverChannel = coverChannel;
|
|
|
}
|
|
|
|
|
|
|
|
|
searching = true;
|
|
|
loading.showLoadingMask();
|
...
|
...
|
|