From 6ea9054b8b9ff530dcee6cd84ef7925d9b48e559 Mon Sep 17 00:00:00 2001 From: qianyu Date: Fri, 4 Sep 2026 13:37:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=BD=E4=B8=BB=E6=95=B0=E4=B8=8E=E4=BB=8A?= =?UTF-8?q?=E6=97=A5=E8=BF=9B=E8=B4=A6=E5=B9=B6=E5=85=A5=E7=A2=97=E5=8D=A1?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/layout.html | 4 ++++ templates/site.html | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/layout.html b/templates/layout.html index 01e887c..c5d5423 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -104,6 +104,10 @@ h1{font-size:24px;margin:0 0 8px;line-height:1.3} .stat.main .bowlcoins .px-coin{width:18px;height:18px;flex:none} .stat.main .bowlcoins small{margin-left:0} .stat .px-bowl{width:48px;height:auto;flex:none} +.stat.main .sub2{display:flex;flex-direction:column;gap:6px;align-self:stretch;justify-content:center;flex:none;padding-left:12px;border-left:2px dashed rgba(30,30,46,.3);font-family:var(--pf);color:var(--ink);text-align:right} +.stat.main .sub2 span{display:flex;align-items:baseline;justify-content:flex-end;gap:5px;white-space:nowrap} +.stat.main .sub2 i{font-style:normal;font-size:11px;opacity:.7}.stat.main .sub2 b{font-size:16px;font-weight:400}.stat.main .sub2 small{font-size:11px;opacity:.7} +@media(max-width:430px){.stat.main .v{font-size:30px}.stat.main .bowlcoins{font-size:18px}.stat.main{gap:8px}.stat .px-bowl{width:40px}} /* 表单 */ label{display:block;font-size:13px;color:var(--ink);font-weight:600;margin:14px 0 6px} form>label:first-child,.grid2>div>label:first-child{margin-top:0} diff --git a/templates/site.html b/templates/site.html index 1d45696..190f7bf 100644 --- a/templates/site.html +++ b/templates/site.html @@ -26,9 +26,8 @@
-
{{template "bowlicon"}}
碗里已有
{{fmtAmt .Stats.TotalE8}}{{.Site.Currency}}{{template "coin"}}{{.Coins}}钢镚
-
施主
{{.Stats.Donors}}人
-
今日进账
+{{fmtAmt .Stats.TodayE8}}
+
{{template "bowlicon"}}
碗里已有
{{fmtAmt .Stats.TotalE8}}{{.Site.Currency}}{{template "coin"}}{{.Coins}}钢镚
+
施主{{.Stats.Donors}}人今日+{{fmtAmt .Stats.TodayE8}}