From a18418674d4da87ebba7822b159e05c3833f75ca Mon Sep 17 00:00:00 2001 From: Isaaczhr Date: Fri, 6 Jun 2025 01:41:37 +0800 Subject: [PATCH 1/2] style: add hover effect for choose box MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 存在小问题:做过的题目的选项仍然会有悬浮效果 应该需要和 src\pages\TestView2.vue 323-326 行的优化建议一起修正 --- src/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/style.css b/src/style.css index 41ecf30..2f65d4c 100644 --- a/src/style.css +++ b/src/style.css @@ -227,6 +227,11 @@ body { transition: all .2s; } +.v-choose-box:hover { + border-color: #83b7e5; + background-color: #eeeeee; +} + .v-choose-box.chosen { border-color: #1780db; background-color: #ddd; From 9ce0252fd071054f8617916acfcb2f86e25b9792 Mon Sep 17 00:00:00 2001 From: Isaaczhr Date: Fri, 6 Jun 2025 02:11:32 +0800 Subject: [PATCH 2/2] style: enable text selection for body and choose box --- src/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/style.css b/src/style.css index 2f65d4c..c616f47 100644 --- a/src/style.css +++ b/src/style.css @@ -198,6 +198,7 @@ body { font-weight: 400; word-break: break-all; white-space: break-spaces !important; + user-select: text; } .v-problem-secTitle { @@ -225,6 +226,7 @@ body { box-shadow: 0 1px 2px rgba(0, 0, 0, .2); cursor: pointer; transition: all .2s; + user-select: text; } .v-choose-box:hover {