Authored by OF1706

less recommend list none

... ... @@ -72,7 +72,7 @@ exports.getSearchData = (params, channel) => {
header: true
}),
search: {}
};
};
// 获取左侧类目数据
if (result[1].code === 200) {
... ... @@ -85,7 +85,8 @@ exports.getSearchData = (params, channel) => {
});
finalResult.search = {
leftContent: searchHandler.handleSortData(result[1].data.sort, dps, params)
leftContent: searchHandler.handleSortData(result[1].data.sort, dps, params),
isSearch: true
};
}
... ... @@ -262,7 +263,6 @@ exports.getSearchLessProduct = (channel, uid, udid, page) => {
return result;
}
let together = yield searchApi.lessRecommend(channelNum, uid, udid, '100003', 20);
if (page > 5) {
... ...
<div class="product-search-page product-page yoho-page center-content">
<div class="product-search-page {{#if search.isSearch}}search-page{{/if}} product-page yoho-page center-content">
{{# search}}
{{> common/path-nav}}
{{> product/no-result}}
... ...
... ... @@ -100,6 +100,8 @@
{{> product/standard-content}}
{{#if @root.search.isSearch}}
{{#if_cond goods.length '<' 20 }}
<div>
... ... @@ -118,8 +120,10 @@
{{/if_cond}}
{{/if}}
{{> product/latest-walk}}
</div>
{{/ brandAbout}}
</div>
</div>
\ No newline at end of file
... ...
... ... @@ -15,7 +15,8 @@
</div>
<p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p>
</div>
<div class="center-content clearfix">
{{#if isSearch}}<div class="center-content clearfix">
<div class="bottom-tab-line">
<span class="bottom-title" data-type="recommend" data-role="recommend-tab">你可能喜欢</span>
</div>
... ... @@ -28,4 +29,4 @@
<script>getSearchRecommend();</script>
</textarea>
</div>
</div>
</div>{{/if}}
\ No newline at end of file
... ...