From 31aea531d997ff983fa2eb586f5cd1ac149760e5 Mon Sep 17 00:00:00 2001 From: Alfred Date: Fri, 13 Feb 2026 20:06:54 +0800 Subject: [PATCH] =?UTF-8?q?webui:=20=E7=B3=BB=E7=BB=9F=E9=A1=B5=E9=97=B4?= =?UTF-8?q?=E8=B7=9D=E7=BB=9F=E4=B8=80=E3=80=81=E8=AE=BE=E5=A4=87=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E5=88=86=E9=9A=94=E7=BA=BF=E5=AF=B9=E9=BD=90=E3=80=81?= =?UTF-8?q?=E7=BB=88=E7=AB=AF=E7=A7=BB=E9=99=A4=20emoji?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 设备面板:data-widgets-grid 增加 margin-top,使分隔线上下间距一致 - 系统页卡片:.card h3 和 .section h2 的 padding-bottom 统一为 8px - 终端欢迎框:移除 ⛰️ emoji,保持边框 42 字符对齐 --- components/ts_webui/web/css/style.css | 3 ++- components/ts_webui/web/js/terminal.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/ts_webui/web/css/style.css b/components/ts_webui/web/css/style.css index 24294c4..724024a 100644 --- a/components/ts_webui/web/css/style.css +++ b/components/ts_webui/web/css/style.css @@ -1590,7 +1590,7 @@ button.btn-gray:hover, .section h2 { margin-bottom: 16px; - padding-bottom: 14px; + padding-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--text-primary); font-size: 0.9375rem; @@ -7504,6 +7504,7 @@ button.btn-gray:hover, display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; + margin-top: 10px; /* 与 quick-actions-grid 的 padding-bottom 对齐,使分隔线上下间距一致 */ } @media (max-width: 1200px) { diff --git a/components/ts_webui/web/js/terminal.js b/components/ts_webui/web/js/terminal.js index e84c96f..8b4475a 100644 --- a/components/ts_webui/web/js/terminal.js +++ b/components/ts_webui/web/js/terminal.js @@ -128,7 +128,7 @@ class WebTerminal { // 显示欢迎信息 this.writeln('\x1b[1;36m╔══════════════════════════════════════════╗\x1b[0m'); - this.writeln('\x1b[1;36m║\x1b[0m \x1b[1;33m⛰️ TianshanOS Web Terminal\x1b[0m \x1b[1;36m║\x1b[0m'); + this.writeln('\x1b[1;36m║\x1b[0m \x1b[1;33mTianshanOS Web Terminal\x1b[0m \x1b[1;36m║\x1b[0m'); this.writeln('\x1b[1;36m╚══════════════════════════════════════════╝\x1b[0m'); this.writeln(''); this.writeln(typeof t === 'function' ? t('terminal.connecting') : '正在连接到设备...');