From 3bda268cb8126092f5d0d3aa23873f9256d85c10 Mon Sep 17 00:00:00 2001 From: ykaayk Date: Tue, 8 Sep 2026 17:11:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0Cookie=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E5=92=8C=E5=88=86=E7=BB=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加搜索框支持按Tag名称实时过滤 - 根据Tag冒号前缀自动分组(格式: xx1:xxxx2) - 支持分组折叠/展开功能 - 分组显示数量统计 Co-Authored-By: Claude Sonnet 4.5 --- web/index.html | 213 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 188 insertions(+), 25 deletions(-) diff --git a/web/index.html b/web/index.html index ed72fdf..6119d5d 100644 --- a/web/index.html +++ b/web/index.html @@ -377,6 +377,80 @@ line-height: 1.6; } + .search-box { + margin-bottom: 20px; + position: relative; + } + + .search-input { + width: 100%; + padding: 12px 40px 12px 16px; + border: 2px solid #e0e0e0; + border-radius: 8px; + font-size: 16px; + transition: border-color 0.3s; + } + + .search-input:focus { + outline: none; + border-color: #667eea; + } + + .search-icon { + position: absolute; + right: 12px; + top: 50%; + transform: translateY(-50%); + color: #999; + font-size: 20px; + } + + .group-header { + background: #f8f9fa; + padding: 15px 20px; + margin: 15px 0 10px 0; + border-radius: 8px; + cursor: pointer; + display: flex; + justify-content: space-between; + align-items: center; + transition: background 0.3s; + } + + .group-header:hover { + background: #e9ecef; + } + + .group-title { + font-size: 18px; + font-weight: bold; + color: #333; + } + + .group-count { + color: #999; + font-size: 14px; + margin-left: 10px; + } + + .group-toggle { + font-size: 20px; + color: #667eea; + transition: transform 0.3s; + } + + .group-toggle.collapsed { + transform: rotate(-90deg); + } + + .group-content { + display: block; + } + + .group-content.collapsed { + display: none; + } + .api-docs { background: white; border-radius: 12px; @@ -443,7 +517,12 @@

📋 数据列表

- + +
+ +
正在加载...
@@ -516,6 +595,8 @@