|
@@ -33,6 +33,7 @@ const _pageArticleContent = (articleContent, isApp, gender) => { |
|
@@ -33,6 +33,7 @@ const _pageArticleContent = (articleContent, isApp, gender) => { |
33
|
if (i < len) {
|
33
|
if (i < len) {
|
34
|
let build = {};
|
34
|
let build = {};
|
35
|
let art = articleContent[i];
|
35
|
let art = articleContent[i];
|
|
|
36
|
+
|
36
|
// 文字
|
37
|
// 文字
|
37
|
if (art.text && art.text.data && art.text.data.text) {
|
38
|
if (art.text && art.text.data && art.text.data.text) {
|
38
|
build.text = art.text.data.text;
|
39
|
build.text = art.text.data.text;
|
|
@@ -307,6 +308,7 @@ const index = (req, res, next) => { |
|
@@ -307,6 +308,7 @@ const index = (req, res, next) => { |
307
|
// guang双头部的问题 20160601
|
308
|
// guang双头部的问题 20160601
|
308
|
// 正确的URL
|
309
|
// 正确的URL
|
309
|
data.guang.author.url = helpers.https(`${detail.getAuthor.url}&openby:yohobuy={"action":"go.h5","params":{"param":{},"share":"","id":${detail.getAuthor.author_id},"type":0,"islogin":"N","url":"${detail.getAuthor.url}"}}`);
|
310
|
data.guang.author.url = helpers.https(`${detail.getAuthor.url}&openby:yohobuy={"action":"go.h5","params":{"param":{},"share":"","id":${detail.getAuthor.author_id},"type":0,"islogin":"N","url":"${detail.getAuthor.url}"}}`);
|
|
|
311
|
+
|
310
|
// 错误的URL
|
312
|
// 错误的URL
|
311
|
// data.guang.author.url = helpers.https(`${detail.getAuthor.url}&openby:yohobuy={"action":"go.h5","params":{"param":{"id":"${detail.getAuthor.author_id}"},"share":"","id":${detail.getAuthor.author_id},"type":0,"islogin":"N","url":"${helpers.urlFormat('/author/index', {}, 'guang')}"}}`);
|
313
|
// data.guang.author.url = helpers.https(`${detail.getAuthor.url}&openby:yohobuy={"action":"go.h5","params":{"param":{"id":"${detail.getAuthor.author_id}"},"share":"","id":${detail.getAuthor.author_id},"type":0,"islogin":"N","url":"${helpers.urlFormat('/author/index', {}, 'guang')}"}}`);
|
312
|
}
|
314
|
}
|
|
@@ -349,6 +351,7 @@ const index = (req, res, next) => { |
|
@@ -349,6 +351,7 @@ const index = (req, res, next) => { |
349
|
data.description = detail.getArticle.article_summary;
|
351
|
data.description = detail.getArticle.article_summary;
|
350
|
data.description_more = true;
|
352
|
data.description_more = true;
|
351
|
}
|
353
|
}
|
|
|
354
|
+
|
352
|
// 标识有微信分享
|
355
|
// 标识有微信分享
|
353
|
data.hasWxShare = true;
|
356
|
data.hasWxShare = true;
|
354
|
res.render('info/index', Object.assign({
|
357
|
res.render('info/index', Object.assign({
|