From db17ad27bf7665030fd6422925f38cc720b29876 Mon Sep 17 00:00:00 2001 From: LufsX Date: Wed, 25 Sep 2024 16:10:45 +0800 Subject: [PATCH] chore: adjust style --- RANK.html | 11 +++++++---- RANK.md | 11 +++++++---- get_scores.js | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/RANK.html b/RANK.html index 106c4c5..403f513 100644 --- a/RANK.html +++ b/RANK.html @@ -20,7 +20,7 @@

挑战赛数据展示

该页面展示所有提交成功的得分(包括零分)。

数据非实时刷新,可能有最长五分钟的延迟。

-

详细日志点击「查看详情」即可。

+

详细信息点击「查看详情」即可查看。

评测结果

@@ -39,12 +39,15 @@ - + + diff --git a/RANK.md b/RANK.md index ea77de8..b33ce09 100644 --- a/RANK.md +++ b/RANK.md @@ -4,7 +4,7 @@ 数据非实时刷新,可能有最长**五分钟**的延迟。 -详细日志点击「查看详情」即可。 +详细信息点击「查看详情」即可查看。 ## 评测结果 @@ -25,12 +25,15 @@ - + + diff --git a/get_scores.js b/get_scores.js index 875f996..6139d03 100644 --- a/get_scores.js +++ b/get_scores.js @@ -46,7 +46,7 @@ function showDetailsModal(index) { fetch("https://rank.intcplab.cn/get_scores") .then((response) => response.json()) .then((data) => { - modalDetails.innerHTML = data[index].details; + modalDetails.innerHTML = data[index].details + "

"; modal.style.display = "block"; }); }