From 2199f887256b30a3a706ae6f2d5884be5495bb9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E6=B4=81?= <209192278@qq.com> Date: Tue, 5 Dec 2023 16:08:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=93=E6=B4=81=20:=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=88=86=E4=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/detail/detail.vue | 9 +++++++++ utils/share.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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() {