From 5ed5053bfd1ec99839cf7cc83e8ff48cb95f7d40 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 3 Jun 2026 10:39:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BE=E5=88=86=E6=AF=94=E5=90=8E?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E2=86=91=E2=86=93=E7=AE=AD=E5=A4=B4=E6=8C=87?= =?UTF-8?q?=E7=A4=BA=E8=B6=8B=E5=8A=BF=E6=96=B9=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/stat_today_amount.ui | 2 +- wwwroot/stat_today_usage.ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/stat_today_amount.ui b/wwwroot/stat_today_amount.ui index ad3bf12..a30cac5 100644 --- a/wwwroot/stat_today_amount.ui +++ b/wwwroot/stat_today_amount.ui @@ -78,7 +78,7 @@ { "widgettype": "Text", "options": { - "text": "{{trend.percentage|round(1)}}%", + "text": "{{trend.percentage|round(1)}}%{% if trend.trend == 'up' %} ↑{% elif trend.trend == 'down' %} ↓{% endif %}", "fontSize": "12px", "fontWeight": "600", "color": "{% if trend.trend == 'up' %}#22c55e{% elif trend.trend == 'down' %}#ef4444{% else %}#94a3b8{% endif %}" diff --git a/wwwroot/stat_today_usage.ui b/wwwroot/stat_today_usage.ui index 12361f4..179a9b2 100644 --- a/wwwroot/stat_today_usage.ui +++ b/wwwroot/stat_today_usage.ui @@ -79,7 +79,7 @@ { "widgettype": "Text", "options": { - "text": "{{trend.percentage|round(1)}}%", + "text": "{{trend.percentage|round(1)}}%{% if trend.trend == 'up' %} ↑{% elif trend.trend == 'down' %} ↓{% endif %}", "fontSize": "12px", "fontWeight": "600", "color": "{% if trend.trend == 'up' %}#22c55e{% elif trend.trend == 'down' %}#ef4444{% else %}#94a3b8{% endif %}"