Authored by zhangxiaoru

new去除商品标签,下载条代码丢失补齐,数据加载到底部不请求

... ... @@ -35,7 +35,8 @@ const newGoods = (req, res, next) => {
dayLimit: 1,
discount: '',
cartUrl: helpers.urlFormat('/cart/index/index', null),
pageFooter: true
pageFooter: true,
showDownloadApp: true
});
}).catch(next);
};
... ...
... ... @@ -71,7 +71,7 @@ const getNewFocus = (channel) => {
const getSearchData = (params) => {
return _searchGoods(params).then((result) => {
if (result && result.code === 200) {
return productProcess.processProductList(result.data.product_list || []);
return productProcess.processProductList(result.data.product_list || [], {showTags: false});
} else {
logger.error('get product search api return code is not 200');
return [];
... ...
... ... @@ -41,3 +41,5 @@
{{> common/suspend-cart}}
</div>
{{download-app}}
... ...
... ... @@ -33,6 +33,8 @@ var now = new Date(),
month = now.getMonth() + 1,
date = now.getDate();
require('../../common/footer');
var $listNav = $('#list-nav'),
// 导航数据信息
... ... @@ -221,7 +223,7 @@ function search(opt) {
break;
}
if (data === ' ') {
if (data === ' ' || data === '') {
nav.end = true;
if (nav.reload) {
$container.html(noResult);
... ...