精修 WebUI v31:运行状态指示 / tab burst / 截图入场 / 数字千分隔符

logHeader 状态 pill
- logTitle ::before 圆点改 6px 渐变(粉→青)+ 6px primary halo
- ::after 加状态 chip:默认 "PAUSED" muted;body.is-running 时切 "● LIVE"(success 色 + glow border)

侧边导航 burst 反馈
- tab 切换时 sideNav 加 isBurst 类 380ms,触发 ::before 横/纵向 scaleY 1.3 / scaleX 1.6 的脉冲 + 光晕加强(10→18px)
- 同 tab 二次点击不触发;prefers-reduced-motion 下不动

截图入场动画
- preview img 从 opacity 0 + scale(0.985) → opacity 1 + scale(1),280ms 缓出
- 删除一处旧的重复规则

数字千分隔符
- 新增 fmtNum() 工具函数(toLocaleString en-US 千分隔,PID/Trace 不走)
- statLogLen / 9 个福袋统计 / 跳过 / 切换直播间 / 粉丝团等字段全部 fmt 化
- 大数字现在显示 "12,345" 风格,配合 JetBrains Mono tabular-nums 更易读

cache-bust v30 → v31
This commit is contained in:
Codex committed 2026-05-21 12:11:09 +08:00
1 parent 0d01dabb69
commit 9c3cf86f41
3 files changed
+87 -26

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@
} catch (e) {}
})();
</script>
<link rel="stylesheet" href="styles.css?v=console-20260520-theme-v30" />
<link rel="stylesheet" href="styles.css?v=console-20260520-theme-v31" />
</head>
<body>
<div class="app">
@@ -1274,6 +1274,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-v30"></script>
<script src="app.js?v=console-20260520-theme-v31"></script>
</body>
</html>