Authored by yyq

fix title

... ... @@ -211,7 +211,7 @@ const detailIndex = (req, res, next) => {
css: yield css('guang/detail.css'),
gender: gender,
localStyle: processContents.css,
title: detail.getArticle.article_title + '-YOHO!BUY有货',
title: detail.getArticle.article_title + '_潮流资讯-YOHO!BUY有货',
canonical: {
currentHref: `https://m.yohobuy.com/guang/${id}.html`
},
... ...
... ... @@ -22,7 +22,7 @@ exports.index = (req, res, next) => {
return next();
}
return res.render('product/detail', Object.assign({
title: detailData.title,
title: `${detailData.title}-YOHO!BUY有货`,
css: yield css('product/detail.css'),
localStyle: detailData.mipCss,
mipFooter: true,
... ...
... ... @@ -58,7 +58,7 @@ const newDetail = {
JSON.stringify(appParams) +
'}';
let title = `${result.goodsName}_${result.brandName}${result.sortName}--YOHO!BUY 有货`;
let title = `${result.goodsName}_${result.brandName}${result.sortName}-YOHO!BUY 有货`;
let description = result.goodsName + ' 有货网仅售' + result.goodsPrice.currentPrice + '元,购买' +
result.brandName + result.sortName + ',了解' + result.brandName + result.sortName + '商品信息就上有货网!';
... ...