Authored by yyq

help tdk

... ... @@ -283,21 +283,31 @@ module.exports = class extends global.yoho.BaseModel {
}
});
let ht;
if (params.keywords) {
nav = [
{
name: '搜索结果'
}
];
ht = `${params.keywords}`;
} else {
nav = _this._getNav(params.id, menuData, params.url);
ht = _.last(nav).name;
}
return {
nav: nav,
data: {
menuData: menuData,
contData: contData
contData: contData,
seoData: {
title: `有货${ht}-帮助中心-YOHO!BUY有货 100%正品保证`,
keywords: `${ht},有货${ht},有货${ht}帮助中心`,
description: `有货${ht}YOHO!BUY有货帮助中心${ht}频道,提供有关${ht}相关问题解答。YOHO!BUY有货100%品牌正品保证,支持货到付款。`
}
}
};
}
... ...