diff --git a/app/server/public/css/v2.css b/app/server/public/css/v2.css index 2f97c45..f07d2aa 100644 --- a/app/server/public/css/v2.css +++ b/app/server/public/css/v2.css @@ -55,18 +55,18 @@ input, textarea { font: inherit; color: inherit; border: 0; outline: none; backg .header .icon-btn:active { background: var(--surface); } .header-center { flex: 1; min-width: 0; - display: flex; flex-direction: column; align-items: center; justify-content: center; - gap: 1px; text-align: center; + display: flex; align-items: center; justify-content: center; + text-align: center; } .header-title { font-size: 15px; font-weight: 600; line-height: 1.3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + display: flex; align-items: center; gap: 5px; justify-content: center; } -.header-sub { - font-size: 11px; color: var(--gray); line-height: 1.3; - max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; +.header-mode-icon { + width: 17px; height: 17px; flex: none; + fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } -.header-sub .mode { color: var(--active); } /* ================= 主内容区 ================= */ main { flex: 1; min-height: 0; display: flex; flex-direction: column; } diff --git a/app/server/public/v2.html b/app/server/public/v2.html index 28ee6d8..713662c 100644 --- a/app/server/public/v2.html +++ b/app/server/public/v2.html @@ -350,10 +350,12 @@ function renderHeader() { const c = $('header-center'); if (state.view !== 'chat' || !state.sessionId) { c.innerHTML = ''; return; } - // 会话状态改由顶部 phase-bar 状态胶囊展示(自 index 同步);标题下仅保留模式文案 + const modeIcons = { + secretary: '', + vision: '', + }; c.innerHTML = - '