diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue index fa05036..697db5c 100644 --- a/pages/detail/detail.vue +++ b/pages/detail/detail.vue @@ -111,6 +111,15 @@ } }, methods: { + onShareAppMessage() { + return { + title: this.shopInfo.tt, + imageUrl: this.shopInfo.pics[0] + } + }, + onShareTimeline() { + return {} + }, phonecall() { this.showM = true }, diff --git a/utils/share.js b/utils/share.js index 9e0e4d0..f112471 100644 --- a/utils/share.js +++ b/utils/share.js @@ -1,7 +1,7 @@ export default { onShareAppMessage() { return { - title: '分享出去的卡片标题' + title: ' ' } }, onShareTimeline() {