...
|
...
|
@@ -38,9 +38,12 @@ const list = { |
|
|
let nav = [DataHelper.getChannelNav(channel)];
|
|
|
|
|
|
if (data.filter) {
|
|
|
data.filter.standard = data.standard;
|
|
|
data.filter.groupSort = DataHelper.sortConvert(allSort.data.sort);
|
|
|
retData.filter = DataHelper.filterHandle(data.filter, q);
|
|
|
retData.filter.showPrice = data.total > 10;
|
|
|
retData.filter.showInfo = (retData.filter.style && retData.filter.style.length > 0)
|
|
|
|| (data.standard && data.standard.length > 0); //eslint-disable-line
|
|
|
nav = _.concat(nav, retData.filter.nav);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -96,9 +99,12 @@ const list = { |
|
|
let data = camelCase(listData.data);
|
|
|
|
|
|
if (data.filter) {
|
|
|
data.filter.standard = data.standard;
|
|
|
data.filter.groupSort = DataHelper.sortConvert(sortData.data.sort);
|
|
|
retData.filter = DataHelper.filterHandle(data.filter, q);
|
|
|
retData.filter.showPrice = data.total > 10;
|
|
|
retData.filter.showInfo = (retData.filter.style && retData.filter.style.length > 0)
|
|
|
|| (data.standard && data.standard.length > 0); //eslint-disable-line
|
|
|
}
|
|
|
|
|
|
retData.navPath = {
|
...
|
...
|
|