From 70913f9edd7ca264ea3991a57498f567b70fd68a Mon Sep 17 00:00:00 2001 From: liuxuewen <947752894@qq.com> Date: Wed, 3 Jan 2024 15:36:57 +0800 Subject: [PATCH] =?UTF-8?q?change:=20=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/about.html | 2 +- templates/modules/widgets/about-widgets/statistics-map.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/about.html b/templates/about.html index 913455c2..df1baa62 100644 --- a/templates/about.html +++ b/templates/about.html @@ -70,7 +70,7 @@ c = ((new Date).getTime() - a) / (i - a) * 100, u = c <= 100 ? c + "%" : "100%", m = c <= 100 ? c.toFixed(0) + "%" : "已达标 "; - n.style.setProperty("--past-time-percentage", c + "%"), t.style.setProperty("--progress-percentage", u), o.textContent = m, o.style.left = `calc(${c}% - 33px)`, r.textContent = "" + new Date(a).toLocaleDateString(), s.textContent = "" + new Date(i).toLocaleDateString(), setTimeout(() => { + n.style.setProperty("--past-time-percentage", c + "%"), t.style.setProperty("--progress-percentage", u), o.textContent = m, o.style.left = `calc(${c}% - 3rem)`, r.textContent = "" + new Date(a).toLocaleDateString(), s.textContent = "" + new Date(i).toLocaleDateString(), setTimeout(() => { o.style.visibility = "visible" }, 2500); })() diff --git a/templates/modules/widgets/about-widgets/statistics-map.html b/templates/modules/widgets/about-widgets/statistics-map.html index 43786aa9..1b9d1558 100644 --- a/templates/modules/widgets/about-widgets/statistics-map.html +++ b/templates/modules/widgets/about-widgets/statistics-map.html @@ -92,6 +92,7 @@ .author-content-item.map:hover .map-title { bottom: -100%; + border-radius: 0 0 1rem 1rem; } .author-content-item.map .map-title b {