Authored by zhangxiaoru

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

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