From 9aba339d40fb93d31dfb32e6127537ccb8c932b3 Mon Sep 17 00:00:00 2001 From: yuming Date: Tue, 12 May 2026 09:25:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=AD=A3=E5=9C=A8=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E6=98=BE=E7=A4=BA=E6=96=87=E4=BB=B6=E6=80=BB?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 后端 /get_download_list 已返回 total_size,前端补一行渲染。 布局:文件名 | 大小 | 百分比 | 速度 | 控制按钮。 Co-Authored-By: Claude Opus 4.7 (1M context) --- module/templates/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/templates/index.html b/module/templates/index.html index 631f7f7..2913602 100644 --- a/module/templates/index.html +++ b/module/templates/index.html @@ -298,6 +298,8 @@ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dl-pct { font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0; } + /* 总大小:跟速度同级别的次要信息,靠灰度区分 */ + .dl-size { font-size: 11px; color: var(--muted); flex-shrink: 0; } .dl-spd { font-size: 11px; color: var(--muted); flex-shrink: 0; } .prog { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; } .prog-fill { @@ -1785,6 +1787,7 @@
${item.filename}
+ ${item.total_size||''} ${item.download_progress}% ${item.download_speed||''}