From c192e381734b9caf173c90bb9141dff0326785ee Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期四, 17 七月 2025 14:20:11 +0800 Subject: [PATCH] 京师智教小程序的专题活动模块 不做点击进入页面提示复制链接 点击时直接提示“请移步PC端查看” --- packageBookService/pages/bookServices/linkPage/index.js | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packageBookService/pages/bookServices/linkPage/index.js b/packageBookService/pages/bookServices/linkPage/index.js index 138f131..dec1070 100644 --- a/packageBookService/pages/bookServices/linkPage/index.js +++ b/packageBookService/pages/bookServices/linkPage/index.js @@ -78,19 +78,18 @@ /** * 鐢ㄦ埛鐐瑰嚮鍙充笂瑙掑垎浜� */ - onShareAppMessage() { - - }, + onShareAppMessage() {}, + onShareTimeline() {}, copyPath() { wx.setClipboardData({ data: this.data.path, - success: () => { + success: (res) => { wx.showToast({ icon: 'success', title: '澶嶅埗鎴愬姛', }) }, - fail: () => { + fail: (res) => { wx.showToast({ icon: 'error', title: '璇烽噸璇�', -- Gitblit v1.9.1