...
|
...
|
@@ -195,6 +195,9 @@ const _getPreBrandTopData = (args, type) => { |
|
|
};
|
|
|
|
|
|
data.preferenceBrands.imgBrand = item;
|
|
|
if (type === 'kids') {
|
|
|
data.preferenceBrands.sliderColor = '#7AD3F8';
|
|
|
}
|
|
|
|
|
|
_setChannelType(data.preferenceBrands, type);
|
|
|
|
...
|
...
|
@@ -739,7 +742,9 @@ const getNewArrival = channel => { |
|
|
result = [];
|
|
|
|
|
|
_.forEach(sortList, (it, index) => {
|
|
|
if (res[index].data.product_list && res[index].data.product_list.length === sortList[index].viewNum) {
|
|
|
if (res[index].data &&
|
|
|
res[index].data.product_list &&
|
|
|
res[index].data.product_list.length === sortList[index].viewNum) {
|
|
|
data = data.concat(res[index].data.product_list);
|
|
|
}
|
|
|
});
|
...
|
...
|
|