精修 WebUI 第十七轮:sticky 章节 / 语义着色 / 搜索计数 / 空状态升级

- sectionTitle 改 sticky 在长 panel 内吸附顶部,背景渐变 + 6px 模糊;cardTitle/summary 不变
- 福袋统计语义着色:参与成功/中奖 → success;失败 → error;未中奖 → muted;通过 .stateOk/.stateError/.stateWarn/.stateMuted 类切换
- 配置搜索右侧加实时匹配计数徽章("X 项");搜索清空时隐藏
- 空状态占位升级:从单色边框圆点 → 28px 聊天泡 SVG icon (currentColor mask) + 双行布局,更显设计
- cache-bust v19 → v20
This commit is contained in:
Codex committed 2026-05-21 09:29:38 +08:00
1 parent 51d8d53a2b
commit 632951d004
3 files changed
+67 -10

No files matched your search

+3 -2
View File
@@ -15,7 +15,7 @@
} catch (e) {}
})();
</script>
<link rel="stylesheet" href="styles.css?v=console-20260520-theme-v19" />
<link rel="stylesheet" href="styles.css?v=console-20260520-theme-v20" />
</head>
<body>
<div class="app">
@@ -193,6 +193,7 @@
<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>
</span>
<input id="configSearch" type="search" placeholder="搜索配置项 (按标签 / 提示文本)" autocomplete="off" />
<span id="configSearchCount" class="workspaceSearchCount" hidden></span>
<kbd class="workspaceSearchKbd" aria-hidden="true"><span id="configSearchKbdMod">Ctrl</span> K</kbd>
<button id="configSearchClear" type="button" class="workspaceSearchClear" aria-label="清空搜索" hidden>
<svg viewBox="0 0 24 24" width="12" height="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
@@ -1258,6 +1259,6 @@
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m18 15-6-6-6 6"/></svg>
</button>
<script src="app.js?v=console-20260520-theme-v19"></script>
<script src="app.js?v=console-20260520-theme-v20"></script>
</body>
</html>