fix: 工作空间面板定位、中文乱码、快捷键、帮助文档

- 工作空间面板 top 改用 CSS 变量 --nav-height,JS 动态计算 header+model-bar 实际高度
- Windows 下 spawn 子进程前加 chcp 65001 切换 UTF-8 代码页,修复中文乱码
- 补全 Ctrl+K(知识库)、Ctrl+M(记忆面板)快捷键,防止 Ctrl+M 默认行为冲突
- 帮助弹框内容全面更新,修正工作空间为常驻显示,补充 Ctrl+N、布局说明等
- Token 统计图标从 emoji 🪙 改为内联 SVG,兼容所有 Windows 字体
This commit is contained in:
thzxx
2026-04-08 16:29:22 +08:00
parent 68c5571dd8
commit 8783cd9b59
5 changed files with 81 additions and 23 deletions
+8 -1
View File
@@ -383,6 +383,13 @@ html, body {
user-select: none;
}
.token-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
opacity: 0.8;
}
/* ═══ 模型选择栏 ═══ */
.model-bar {
display: flex;
@@ -2667,7 +2674,7 @@ html, body {
.workspace-panel {
position: fixed;
top: 92px; /* header(44px) + border(1px) + model-bar(46px) + border(1px) */
top: var(--nav-height, 92px); /* JS 动态计算 header + model-bar 实际高度 */
right: 0;
bottom: 0;
width: 480px;