Authored by 郭成尧

list-temp

@@ -363,7 +363,7 @@ const listNew = (req, res, next) => { @@ -363,7 +363,7 @@ const listNew = (req, res, next) => {
363 desc: categoryIntroRedis[1] 363 desc: categoryIntroRedis[1]
364 } : null; 364 } : null;
365 365
366 - res.render('search/goods-list', Object.assign({ 366 + res.render('search/list-new', Object.assign({
367 _noLazy: true, // 首屏不使用lazyload 367 _noLazy: true, // 首屏不使用lazyload
368 module: 'product', 368 module: 'product',
369 page: 'search-list-new', 369 page: 'search-list-new',
@@ -375,9 +375,7 @@ const listNew = (req, res, next) => { @@ -375,9 +375,7 @@ const listNew = (req, res, next) => {
375 }), 375 }),
376 goodList: params, 376 goodList: params,
377 firstPageGoods: responseResult || [], 377 firstPageGoods: responseResult || [],
378 - showDownloadApp: true,  
379 pageFooter: true, 378 pageFooter: true,
380 - category: true,  
381 localCss: true, 379 localCss: true,
382 appPath: appPath, 380 appPath: appPath,
383 categoryIntro: categoryIntro 381 categoryIntro: categoryIntro
  1 +{{!-- 列表专用模板 --}}
  2 +<div class="good-list-page yoho-page">
  3 + {{# goodList}}
  4 + {{!-- tab--}}
  5 + {{> product/filter-tab-new}}
  6 + {{!-- tab end --}}
  7 + <div id="goods-container" class="goods-container">
  8 + {{#@root.introText}}
  9 + <p class="intro-text">{{@root.introText}}</p>
  10 + {{/@root.introText}}
  11 + <div class="default-goods container clearfix">
  12 + {{#@root.firstPageGoods.list}}
  13 + {{> product/recommend-goods}}
  14 + {{/@root.firstPageGoods.list}}
  15 + </div>
  16 + <div class="search-divide hide">正在加载...</div>
  17 + {{!-- 筛选 --}}
  18 + {{> common/filter}}
  19 + {{!-- 筛选 end --}}
  20 + </div>
  21 +{{/ goodList}}
  22 +</div>
  23 +{{!-- SEO 关键词 --}}
  24 +{{#categoryIntro}}
  25 +<div class="seo-data">
  26 + <h1>{{title}}</h1>{{desc}}
  27 +</div>
  28 +{{/categoryIntro}}
  29 +{{!-- SEO 关键词 end --}}