Authored by 周少峰

channel search sort

... ... @@ -76,10 +76,10 @@ exports.getOutletsIndexData = (params, channel) => {
// 处理底部商品数据
if (result[5].code === 200) {
finalResult.goodsBoard = {
Object.assign(finalResult.goodsBoard, {
sort: Object.assign(publicHandler.handleSaleOptsData(params, result[5].data.total), {newPage: true}),
list: productProcess.processProductList(result[5].data.product_list)
};
});
// 添加锚点
if (finalResult.goodsBoard.sort.sortType) {
... ...
... ... @@ -516,6 +516,8 @@ exports.handleSaleFilterData = (origin, params) => {
// 处理频道数据
for (let i = 0; i < 2; i++) {
dest.gender[i] = {};
dest.gender[i].checked = false;
}
... ...