From 266c7278841d2cbae5e9ab969ffd2efae1d0dda5 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 06 九月 2024 10:08:55 +0800 Subject: [PATCH] renwu --- packageBookService/pages/bookServices/detail/components/teachResource/index.js | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/teachResource/index.js b/packageBookService/pages/bookServices/detail/components/teachResource/index.js index 379bab2..fe2a9d0 100644 --- a/packageBookService/pages/bookServices/detail/components/teachResource/index.js +++ b/packageBookService/pages/bookServices/detail/components/teachResource/index.js @@ -19,19 +19,22 @@ }, data: { showRejectDialog: false, - confirmBtn: { content: "鐭ラ亾浜�", variant: "base" }, + confirmBtn: { + content: "鐭ラ亾浜�", + variant: "base" + }, }, methods: { copy() { wx.setClipboardData({ - data: "11", + data: "https://jsek.bnuic.com/home/#/home/index", success: function (res) { - wx.showToast({ title: "澶嶅埗鎴愬姛" }); + wx.showToast({ + title: "澶嶅埗鎴愬姛" + }); }, fail: function (res) { - wx.showToast({ - title: "澶辫触", - }); + console.log(res); }, }); }, @@ -53,5 +56,8 @@ showRejectDialog: false, }); }, + uploadBtn() { + this.triggerEvent("uploadFile", true); + }, }, -}); +}); \ No newline at end of file -- Gitblit v1.9.1