Commit 1d8dcb10 by 李嘉林

分享图片

parent 1c49df39
...@@ -196,7 +196,7 @@ export default { ...@@ -196,7 +196,7 @@ export default {
let shareObj = { let shareObj = {
title: this.liveNoticeInfo.title, title: this.liveNoticeInfo.title,
path: `/pages/lived/main?params=${JSON.stringify(this.params)}`, path: `/pages/lived/main?params=${JSON.stringify(this.params)}`,
imageUrl: this.liveNoticeInfo.coverUrl, imageUrl: this.liveNoticeInfo.shareUrl,
success: function(res) { success: function(res) {
console.log("-----------success"); console.log("-----------success");
// 转发成功之后的回调 // 转发成功之后的回调
...@@ -246,6 +246,9 @@ export default { ...@@ -246,6 +246,9 @@ export default {
this.liveNoticeInfo.coverUrl = this.liveNoticeInfo.coverUrl this.liveNoticeInfo.coverUrl = this.liveNoticeInfo.coverUrl
? DFSImg(this.liveNoticeInfo.coverUrl) ? DFSImg(this.liveNoticeInfo.coverUrl)
: ""; : "";
this.liveNoticeInfo.shareUrl = this.liveNoticeInfo.coverUrl
? DFSImg(this.liveNoticeInfo.coverUrl,500,400)
: "";
this.getGoodsList(); this.getGoodsList();
if (this.liveNoticeInfo.liveBroadcastState == 2) { if (this.liveNoticeInfo.liveBroadcastState == 2) {
// 调直播结束 // 调直播结束
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment