...
|
...
|
@@ -145,6 +145,9 @@ let breakingYards = (req, res, next) => { |
|
|
}).then((result) => {
|
|
|
|
|
|
res.render('sale/break-code', Object.assign(params.renderData, result, {
|
|
|
title: '断码商品|断码折扣商品|YOHO!BUY有货',
|
|
|
keywords: '断码商品、断码专区、断码折扣',
|
|
|
description: '有货网为您带断码专区精选商品,大量断码商品,价格优惠幅度大,支持货到付款,让您全面了解潮流断码商品价格、品牌、图片、折扣等方面信息,想网购潮流断码区商品就上有货网!',
|
|
|
localCss: true
|
|
|
}));
|
|
|
}).catch(next);
|
...
|
...
|
@@ -185,6 +188,9 @@ let discountDetail = (req, res, next) => { |
|
|
res.locals.appPath = result.activity && result.activity.cover_url ? `yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.discountmarketpro","params":{"id":"${id}","cover_url":"${result.activity.cover_url.split('?')[0]}","title":"${result.title}"}}` : '';
|
|
|
|
|
|
res.render('sale/discount-detail', Object.assign(params.renderData, result, {
|
|
|
title: `【${result.title}】潮流折扣商品|YOHO!BUY 有货`,
|
|
|
keywords: `${result.title}`,
|
|
|
description: `有货网为您提供大量${result.title}商品,支持货到付款,质量保证,让您全面了解${result.title}商品价格、品牌、图片、折扣等方面信息,想网购${result.title}商品就上有货网!`, // eslint-disable-line
|
|
|
localCss: true
|
|
|
}));
|
|
|
}).catch(next);
|
...
|
...
|
@@ -209,6 +215,9 @@ let vip = (req, res, next) => { |
|
|
|
|
|
saleModel.getVipData(params.channel).then((result) => {
|
|
|
res.render('sale/vip', Object.assign(params.renderData, {
|
|
|
title: 'VIP会员专享|会员专享|YOHO!BUY有货',
|
|
|
keywords: '会员专享,VIP专享,专享商品',
|
|
|
description: '有货网为您带VIP会员专享精选商品,大量潮流品牌商品,VIP价格优惠幅度大,支持货到付款,让您全面了解VIP会员专享商品价格、品牌、图片、折扣等方面信息,想网购VIP会员专享商品就上有货网!', // eslint-disable-line
|
|
|
content: result,
|
|
|
localCss: true
|
|
|
}));
|
...
|
...
|
|