Authored by Targaryen

detail-seo

@@ -51,7 +51,13 @@ const newDetail = { @@ -51,7 +51,13 @@ const newDetail = {
51 pageHeader: headerData, 51 pageHeader: headerData,
52 result: result, 52 result: result,
53 page: 'new-detail', 53 page: 'new-detail',
54 - title: result.goodsName, 54 + title: result.goodsName + result.sortName + '正品 | YOHO!BUY 有货',
  55 + keywords: result.brandName + result.sortName + ',' + result.brandName + '官网专卖店,' +
  56 + result.brandName + '官方授权店,' + result.brandName + '正品,' + result.brandName + '打折,' +
  57 + result.brandName + '折扣店,' +
  58 + result.brandName + '真品,' + result.brandName + '代购',
  59 + description: `YOHO!BUY 有货-${result.brandName}官方授权店,${result.goodsName}图片、报价、介绍。` +
  60 + `YOHO!BUY 有货${result.brandName}官网专卖店提供${result.brandName}正品、${result.brandName}真品、 ${result.brandName}打折、${result.brandName}代购等。`, // eslint-disable-line
55 pageFooter: true, 61 pageFooter: true,
56 localCss: true, 62 localCss: true,
57 appPath: appPath 63 appPath: appPath
@@ -132,6 +132,8 @@ const tool = { @@ -132,6 +132,8 @@ const tool = {
132 132
133 // 底部简介URL链接 133 // 底部简介URL链接
134 dest.introUrl = '/product/detail/intro/' + origin.product_skn; 134 dest.introUrl = '/product/detail/intro/' + origin.product_skn;
  135 + dest.brandName = _.get(origin, 'brand_info.brand_name', '');
  136 + dest.sortName = _.get(origin, 'middle_sort_name', '');
135 137
136 return dest; 138 return dest;
137 }, 139 },