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