...
|
...
|
@@ -343,20 +343,6 @@ const listNew = (req, res, next) => { |
|
|
title: categoryIntroRedis[0],
|
|
|
desc: categoryIntroRedis[1]
|
|
|
} : null;
|
|
|
let appPath = 'yohobuy://yohobuy.com/goapp';
|
|
|
|
|
|
if (params.gender && params.category_id) {
|
|
|
let appParams = {
|
|
|
gender: params.gender,
|
|
|
title: params.seoTitle,
|
|
|
category_id: params.category_id,
|
|
|
actiontype: params.actiontype || '1'
|
|
|
};
|
|
|
|
|
|
appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.list","params":' +
|
|
|
JSON.stringify(appParams) +
|
|
|
'}';
|
|
|
}
|
|
|
|
|
|
res.render('search/list-new', Object.assign({
|
|
|
_noLazy: true, // 首屏不使用lazyload
|
...
|
...
|
@@ -372,7 +358,6 @@ const listNew = (req, res, next) => { |
|
|
firstPageGoods: responseResult || [],
|
|
|
pageFooter: true,
|
|
|
localCss: true,
|
|
|
appPath: appPath,
|
|
|
categoryIntro: categoryIntro
|
|
|
}, seoRenderData));
|
|
|
})().catch(next);
|
...
|
...
|
|