From 2dd45854c176b3a88b8d225f4312c4430df0ee29 Mon Sep 17 00:00:00 2001 From: hubian <908234780@qq.com> Date: Wed, 29 Apr 2026 22:38:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=8E=E5=8F=B0=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=AD=90=E7=B1=BB=E5=88=AB=E7=AD=9B=E9=80=89=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=80=89=E4=B8=AD=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加"全部"按钮,点击可清除筛选 - 选中状态:蓝色背景白色文字 - 未选中状态:白色背景灰色文字+边框 - 用户点击后能看到明显的视觉变化 - 根据当前筛选值动态更新按钮样式 --- templates/admin.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/templates/admin.html b/templates/admin.html index 1420f6b..7ca8022 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -534,9 +534,21 @@ container.innerHTML = ''; return; } - container.innerHTML = cat.subcategories.map(sub => ` - + ` + cat.subcategories.map(sub => ` + `).join(''); }