Authored by 郭成尧

list-temp

... ... @@ -363,7 +363,7 @@ const listNew = (req, res, next) => {
desc: categoryIntroRedis[1]
} : null;
res.render('search/goods-list', Object.assign({
res.render('search/list-new', Object.assign({
_noLazy: true, // 首屏不使用lazyload
module: 'product',
page: 'search-list-new',
... ... @@ -375,9 +375,7 @@ const listNew = (req, res, next) => {
}),
goodList: params,
firstPageGoods: responseResult || [],
showDownloadApp: true,
pageFooter: true,
category: true,
localCss: true,
appPath: appPath,
categoryIntro: categoryIntro
... ...
{{!-- 列表专用模板 --}}
<div class="good-list-page yoho-page">
{{# goodList}}
{{!-- tab--}}
{{> product/filter-tab-new}}
{{!-- tab end --}}
<div id="goods-container" class="goods-container">
{{#@root.introText}}
<p class="intro-text">{{@root.introText}}</p>
{{/@root.introText}}
<div class="default-goods container clearfix">
{{#@root.firstPageGoods.list}}
{{> product/recommend-goods}}
{{/@root.firstPageGoods.list}}
</div>
<div class="search-divide hide">正在加载...</div>
{{!-- 筛选 --}}
{{> common/filter}}
{{!-- 筛选 end --}}
</div>
{{/ goodList}}
</div>
{{!-- SEO 关键词 --}}
{{#categoryIntro}}
<div class="seo-data">
<h1>{{title}}</h1>{{desc}}
</div>
{{/categoryIntro}}
{{!-- SEO 关键词 end --}}
... ...