Authored by 陈轩

fix

@@ -216,7 +216,6 @@ @@ -216,7 +216,6 @@
216 216
217 if (article && article.code === 200 && article.data) { 217 if (article && article.code === 200 && article.data) {
218 this.article = article.data; 218 this.article = article.data;
219 - document.title = this.article.articleTitle;  
220 } 219 }
221 220
222 if (content && content.code === 200 && content.data) { 221 if (content && content.code === 200 && content.data) {
@@ -129,6 +129,7 @@ @@ -129,6 +129,7 @@
129 129
130 /* 分享资讯 */ 130 /* 分享资讯 */
131 share(title, des, img, id) { 131 share(title, des, img, id) {
  132 + title = title.substr(0,15)+'...';
132 img = util.getImgUrl(img, 300, 300, 2); 133 img = util.getImgUrl(img, 300, 300, 2);
133 yoho.goShare({ 134 yoho.goShare({
134 title: title, 135 title: title,
@@ -91,11 +91,13 @@ @@ -91,11 +91,13 @@
91 }); 91 });
92 }, 92 },
93 share: function() { 93 share: function() {
  94 + const title = this.article.articleTitle.substr(0,15)+'...';
  95 +
94 yoho.goShare({ 96 yoho.goShare({
95 - title: this.article.articleTitle, 97 + title,
96 des: '优质精选,BLK潮流资讯为你呈现', 98 des: '优质精选,BLK潮流资讯为你呈现',
97 img: util.getImgUrl(this.article.coverImage, 300, 300, 2), 99 img: util.getImgUrl(this.article.coverImage, 300, 300, 2),
98 - url: `${location.origin}/editorial/${this.article.id}.html?shareTitle=${this.article.articleTitle}` 100 + url: `${location.origin}/editorial/${this.article.id}.html?shareTitle=${title}`
99 }); 101 });
100 } 102 }
101 }, 103 },