...
|
...
|
@@ -23,7 +23,9 @@ const mayLike = (uid, page, limit, gender, udid, recPos, channel, clientId) => { |
|
|
if (result.data.page_total && page <= result.data.page_total) {
|
|
|
if (result.data.product_list) {
|
|
|
|
|
|
return productProcess.processProductList(result.data.product_list);
|
|
|
return productProcess.processProductList(result.data.product_list, {
|
|
|
showSimilar: true
|
|
|
});
|
|
|
|
|
|
} else {
|
|
|
return false;
|
...
|
...
|
@@ -51,7 +53,9 @@ const mayLikeKids = (page, limit, channel) => { |
|
|
|
|
|
if (result.data.product_list) {
|
|
|
|
|
|
return productProcess.processProductList(result.data.product_list);
|
|
|
return productProcess.processProductList(result.data.product_list, {
|
|
|
showSimilar: true
|
|
|
});
|
|
|
|
|
|
}
|
|
|
} else {
|
...
|
...
|
@@ -77,7 +81,10 @@ const mayLikelife = (page, limit) => { |
|
|
|
|
|
build.show = true;
|
|
|
|
|
|
build.goods = productProcess.processProductList(result.data.product_list.top, {showTags: false});
|
|
|
build.goods = productProcess.processProductList(result.data.product_list.top, {
|
|
|
showTags: false,
|
|
|
showSimilar: true
|
|
|
});
|
|
|
|
|
|
formData.goodsContainer.push(build);
|
|
|
}
|
...
|
...
|
@@ -87,7 +94,10 @@ const mayLikelife = (page, limit) => { |
|
|
|
|
|
build.show = true;
|
|
|
|
|
|
build.goods = productProcess.processProductList(result.data.product_list.new, {showTags: false});
|
|
|
build.goods = productProcess.processProductList(result.data.product_list.new, {
|
|
|
showTags: false,
|
|
|
showSimilar: true
|
|
|
});
|
|
|
|
|
|
formData.goodsContainer.push(build);
|
|
|
}
|
...
|
...
|
|