From fbcf783d3bc41cefd63689d78cc84a95cb749800 Mon Sep 17 00:00:00 2001 From: chenxing Date: Mon, 28 Sep 2026 15:13:18 +0800 Subject: [PATCH] =?UTF-8?q?[CMS-VISUAL]=20R-45=20=E5=BD=A2=E7=8A=B6?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E8=A1=A5=E5=BC=BA:=20stats=5Fband=20?= =?UTF-8?q?=E8=AE=A1=E6=95=B0=E7=8E=AF=20conic-gradient=20=E8=A3=85?= =?UTF-8?q?=E9=A5=B0=EF=BC=88=E8=AE=BE=E8=AE=A1=E5=8D=A1=20ring-gradient?= =?UTF-8?q?=20=E8=AF=AD=E8=A8=80=E8=90=BD=E7=82=B9=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/themes/common/fragments/home-blocks.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/templates/themes/common/fragments/home-blocks.html b/src/main/resources/templates/themes/common/fragments/home-blocks.html index ce0eba4..8b71e9d 100644 --- a/src/main/resources/templates/themes/common/fragments/home-blocks.html +++ b/src/main/resources/templates/themes/common/fragments/home-blocks.html @@ -98,9 +98,12 @@ main > .plb-anchor > .plb-notice-bar{grid-column:1 / -1} /* ===== docs/20 D 组件库骨架样式(跟随主题变量;campus-glow 等可自持精细版覆盖) ===== */ /* D-4 双语标题:themeParams.titleStyle=bilingual 时副题斜体展示(默认 cn 不展示由渲染端守卫) */ .plb-sub{font-style:italic} -/* D-1 数字计数带 */ +/* D-1 数字计数带(含 R-45 形状语言:conic-gradient 装饰环) */ .plb-stats-row{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px} .plb-stats-row li{text-align:center;padding:14px 8px} +.plb-stats-row li::before{content:"";display:block;width:34px;height:34px;margin:0 auto 8px;border-radius:50%; + background:conic-gradient(from 210deg,var(--plb-primary),#8fd3ff 55%,var(--plb-primary)); + -webkit-mask:radial-gradient(circle,transparent 9px,#000 10px);mask:radial-gradient(circle,transparent 9px,#000 10px)} .plb-num{display:block;font-size:34px;font-weight:700;line-height:1.1;color:var(--plb-primary);font-variant-numeric:tabular-nums} .plb-unit{font-size:14px;font-weight:600;margin-left:2px} .plb-stats-label{display:block;margin-top:6px;color:var(--plb-muted);font-size:13px}