Authored by zhangxiaoru

新品到着店铺类型

... ... @@ -13,9 +13,13 @@
{{else if _isHotShop}}
{{#with this.data}}
{{> hot-shop}}
{{/with}}
{{#if this.reShop}}
{{#with this.data}}
{{> hot-shop}}
{{/with}}
{{/if}}
{{else if _isHotSearchTerm}}
... ... @@ -28,4 +32,4 @@
{{> common/goods}}
{{/if}}
{{/ goods}}
\ No newline at end of file
{{/ goods}}
... ...
... ... @@ -127,6 +127,11 @@ exports.processProductList = (list, options) => {
if (extraAttr) {
product[extraAttr] = true;
if (extraAttr === '_isHotShop' && parseInt(product.data.show_type, 10) === 1) {
product.reShop = true;
}
pruductList.push(product);
}
... ...