From 41b8071b3053541fa51d7ac12fb6856da64cdc80 Mon Sep 17 00:00:00 2001 From: lnn19986213 <1667908750@qq.com> Date: Thu, 21 Mar 2024 13:25:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pagesD/xskz/details.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pagesD/xskz/details.vue b/src/pagesD/xskz/details.vue index 853bcd5..a144c9b 100644 --- a/src/pagesD/xskz/details.vue +++ b/src/pagesD/xskz/details.vue @@ -74,6 +74,12 @@ this.id = op.id this.getData() }, + onShow() { + wx.showShareMenu({ + withShareTicket: true, + menus: ['shareAppMessage', 'shareTimeline'] + }) + }, methods: { onBindplay() { // this.player.play() @@ -91,9 +97,7 @@ }, getData() { this.http - .request("/exhibition/details", { - id: this.id - }, "GET") + .request("/exhibition/details/" + this.id, {}, "GET") .then((res) => { if (res.code == 200) { this.type = res.data.type