微信小程序商品/直播分享支持封面图片

feat/task1-c-wallet
devil 2020-11-21 20:49:59 +08:00
parent be66fd705a
commit 2fd55c806f
2 changed files with 4 additions and 2 deletions

View File

@ -877,7 +877,8 @@ Page({
return {
title: this.data.goods.title+'-'+app.data.application_title,
desc: app.data.application_describe,
path: '/pages/goods-detail/goods-detail?goods_id=' + this.data.goods.id +'&referrer='+user_id
path: '/pages/goods-detail/goods-detail?goods_id=' + this.data.goods.id +'&referrer='+user_id,
imageUrl: this.data.goods.images
};
},
});

View File

@ -138,7 +138,8 @@ Page({
return {
title: name,
desc: app.data.application_describe,
path: '/pages/plugins/weixinliveplayer/detail/detail?id=' + did + '&referrer=' + user_id
path: '/pages/plugins/weixinliveplayer/detail/detail?id=' + did + '&referrer=' + user_id,
imageUrl: this.data.detail.share_img || ''
};
},
});