From ea54ea2c20214a8ab4ceb96bbe673c29c6a8e2a6 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Wed, 25 Jun 2025 16:42:45 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=83=AD=E7=82=B9-=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/hotforum/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/hotforum/Index.vue b/src/views/hotforum/Index.vue index 01a755fa..373e2857 100644 --- a/src/views/hotforum/Index.vue +++ b/src/views/hotforum/Index.vue @@ -9,7 +9,7 @@
- +
From 12c1bdb1a89a8fdd750e104983a93c3b5497d184 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Fri, 27 Jun 2025 16:53:34 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=80=83=E8=AF=95?= =?UTF-8?q?=E9=99=90=E5=88=B6=E5=8A=A0=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/exam/ExamList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/exam/ExamList.vue b/src/views/exam/ExamList.vue index 2c281834..450bbba6 100644 --- a/src/views/exam/ExamList.vue +++ b/src/views/exam/ExamList.vue @@ -954,7 +954,7 @@ export default { }, findPapers() { let params={ - pageSize:200, + pageSize:10000, name:'' } apiPaper.querypaper(params).then((res) => { From 1af286f5e008f4e46952aeff67164f45f36cf14c Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Mon, 30 Jun 2025 13:22:34 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=A4=96=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/study/coursenew.vue | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index cc6143a8..bee1f86d 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -91,8 +91,9 @@
@@ -1683,7 +1684,21 @@ this.trueFalse = false } }, + copyUrl(currentUrl) { + const urlToCopy = currentUrl; + + navigator.clipboard.writeText(urlToCopy) + .then(() => { + this.$message.success('链接已成功复制到剪贴板'); + }) + .catch(err => { + this.$message.error('复制失败,请手动复制:' + urlToCopy); + console.error('复制错误:', err); + }); + }, }, + + } @@ -2368,4 +2383,16 @@ height: 200px; background: url('../../../public/images/couresdetail.png'); } + .copy-button { + background-color: #409EFF; + color: white; + border: none; + padding: 8px 12px; + border-radius: 4px; + cursor: pointer; + } + + .copy-button:hover { + background-color: #66b1ff; + }