From 16e678d924922d5217c643362d07958c5f611d0e Mon Sep 17 00:00:00 2001 From: klarkxy <278370456@qq.com> Date: Sun, 12 Apr 2026 15:06:21 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E4=BC=98=E5=8C=96=E6=A0=B7?= =?UTF-8?q?=E4=BE=8B=E5=A4=8D=E5=88=B6=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=88=90=E5=8A=9F=E5=92=8C=E5=A4=B1=E8=B4=A5=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/template/syzoj/problem.php | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/web/template/syzoj/problem.php b/web/template/syzoj/problem.php index 4b71d69..31b72b6 100644 --- a/web/template/syzoj/problem.php +++ b/web/template/syzoj/problem.php @@ -67,7 +67,10 @@ if ($pr_flag) { margin: 0; padding: 48px 18px 16px; overflow: auto; - background: transparent; + background: #ffffff; + border: 1px solid #d8e2f0; + border-radius: 12px; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75); } .sample-box code { @@ -334,6 +337,9 @@ if ($pr_flag) { $showSampleIndex = count($samplePairs) > 1; $singleSampleInput = trim_sample_chunk($sampleInputText); $singleSampleOutput = trim_sample_chunk($sampleOutputText); + $sampleCopyLabel = $MSG_COPY; + $sampleCopySuccessLabel = $MSG_COPY . $MSG_SUCCESS . '!'; + $sampleCopyFailLabel = $MSG_COPY . $MSG_FAIL . '!'; ?> $samplePair) { ?> @@ -342,7 +348,8 @@ if ($pr_flag) {