From 7a71449e05781245e2409093a481f83e07afb7aa Mon Sep 17 00:00:00 2001 From: MKStoler1024 <158786854+MKStoler1024@users.noreply.github.com> Date: Thu, 16 Jan 2025 07:43:29 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E8=80=83=E8=AF=95?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E9=A2=9C=E8=89=B2=E5=92=8C=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E9=80=8F=E6=98=8E=E5=BA=A6=E4=BB=A5=E6=94=B9=E5=96=84=E8=A7=86?= =?UTF-8?q?=E8=A7=89=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exam/script.js | 2 +- exam/styles.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exam/script.js b/exam/script.js index b1d2567..7e9142a 100644 --- a/exam/script.js +++ b/exam/script.js @@ -92,7 +92,7 @@ document.addEventListener("DOMContentLoaded", () => { } statusElem.textContent = "状态: 进行中"; - statusElem.style.color = "green"; + statusElem.style.color = "#5ba838"; } else if (nextExam) { currentSubjectElem.textContent = `下一场科目: ${nextExam.name}`; examTimingElem.textContent = `起止时间: ${formatTimeWithoutSeconds(new Date(nextExam.start).toLocaleTimeString('zh-CN', { hour12: false }))} - ${formatTimeWithoutSeconds(new Date(nextExam.end).toLocaleTimeString('zh-CN', { hour12: false }))}`; diff --git a/exam/styles.css b/exam/styles.css index cc6ed38..90b054a 100644 --- a/exam/styles.css +++ b/exam/styles.css @@ -60,9 +60,9 @@ body { padding: 20px; max-width: 1400px; /* 增加主体部分宽度 */ margin: auto; - background-color: rgba(31, 31, 31, 0.8); /* 使用rgba设置背景透明度 */ + background-color: rgba(31, 31, 31, 0.5); /* 使用rgba设置背景透明度 */ border-radius: 8px; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); + box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); } h1 {