...
|
...
|
@@ -129,13 +129,13 @@ |
|
|
|
|
|
/* 分享资讯 */
|
|
|
share(title, des, img, id) {
|
|
|
title = title.substr(0,15)+'...';
|
|
|
title = title.length > 15 ? title.substr(0,15)+'...' : title;
|
|
|
img = util.getImgUrl(img, 300, 300, 2);
|
|
|
yoho.goShare({
|
|
|
title: title,
|
|
|
des: des,
|
|
|
img: img,
|
|
|
url: `${location.origin}/editorial/${id}.html?$shareTitle=${title}`
|
|
|
url: `${location.origin}/editorial/${id}.html?shareTitle=${title}`
|
|
|
});
|
|
|
}
|
|
|
},
|
...
|
...
|
|