Showing
3 changed files
with
5 additions
and
3 deletions
@@ -211,7 +211,8 @@ const detailIndex = (req, res, next) => { | @@ -211,7 +211,8 @@ const detailIndex = (req, res, next) => { | ||
211 | mipId: id, | 211 | mipId: id, |
212 | mipPublishTime: mipDate(detail.getArticle.publish_time * 1000), | 212 | mipPublishTime: mipDate(detail.getArticle.publish_time * 1000), |
213 | mipPic: detail.getArticle.cover_image ? detail.getArticle.cover_image.split('?')[0] : '', | 213 | mipPic: detail.getArticle.cover_image ? detail.getArticle.cover_image.split('?')[0] : '', |
214 | - mipDes: detail.getArticle.article_summary | 214 | + mipDes: detail.getArticle.article_summary, |
215 | + mipUrl: `https://m.yohobuy.com${req.originalUrl}` | ||
215 | }, data)); | 216 | }, data)); |
216 | })().catch(next); | 217 | })().catch(next); |
217 | }; | 218 | }; |
@@ -47,7 +47,8 @@ | @@ -47,7 +47,8 @@ | ||
47 | line-height: 30px; | 47 | line-height: 30px; |
48 | font-size: 20px; | 48 | font-size: 20px; |
49 | color: #000; | 49 | color: #000; |
50 | - font-weight: bold; | 50 | + font-weight: bold; |
51 | + clear: both; | ||
51 | } | 52 | } |
52 | .article-info .view-c { | 53 | .article-info .view-c { |
53 | color: #b0b0b0; | 54 | color: #b0b0b0; |
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | <script type="application/ld+json"> | 14 | <script type="application/ld+json"> |
15 | { | 15 | { |
16 | "@context": "https://ziyuan.baidu.com/contexts/cambrian.jsonld", | 16 | "@context": "https://ziyuan.baidu.com/contexts/cambrian.jsonld", |
17 | - "@id": "https://m.yohobuy.com/mip/guang/info/{{mipId}}.html", | 17 | + "@id": "{{mipUrl}}", |
18 | "appid": "1583402501013173", | 18 | "appid": "1583402501013173", |
19 | "title": "{{title}} | Yoho!Buy有货 | 潮流购物逛不停", | 19 | "title": "{{title}} | Yoho!Buy有货 | 潮流购物逛不停", |
20 | "images": [ | 20 | "images": [ |
-
Please register or login to post a comment