Authored by zhangxiaoru

new

... ... @@ -34,8 +34,6 @@
{{# is_solded}}
<p class="out-tag">已售罄</p>
{{/ is_solded}}
</div>
<div class="good-detail-text">
<div class="name">
... ...
... ... @@ -73,7 +73,7 @@ const getSearchData = (params) => {
if (result && result.code === 200) {
let newList = {};
newList.list = productProcess.processProductList(result.data.product_list || [], {showTags: false});
newList.list = productProcess.processProductList(result.data.product_list || [], {showTags: true});
if (parseInt(params.page) === 1) {
newList.total = result.data.total;
... ...
... ... @@ -143,10 +143,13 @@ exports.processProductList = (list, options) => {
tags[tag] = true;
});
tags.is_solded = true;
//tags.is_solded = true;
// product.tags = tags;
product.tags = tags;
if (tags.is_solded === true) {
product.is_solded = true;
}
... ...