From 6c54b9ec99f0747a28f2c279bac771554c5fb58c Mon Sep 17 00:00:00 2001 From: kicer Date: Thu, 3 Sep 2026 15:53:45 +0800 Subject: [PATCH] =?UTF-8?q?v2:=20=E8=BE=93=E5=85=A5=E5=8C=BA=E5=8A=A0?= =?UTF-8?q?=E5=8F=B7=E5=8F=B3=E4=BE=A7=E6=96=B0=E5=A2=9E=E8=93=9D=E8=89=B2?= =?UTF-8?q?=E5=9C=86=E5=BD=A2=E5=8F=91=E9=80=81=E6=8C=89=E9=92=AE(?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=8F=91=E9=80=81=E6=96=87=E6=9C=AC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/server/public/css/style.css | 13 +++++++++++++ app/server/public/index.html | 14 ++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/app/server/public/css/style.css b/app/server/public/css/style.css index 9666030..4ebbd64 100644 --- a/app/server/public/css/style.css +++ b/app/server/public/css/style.css @@ -292,6 +292,19 @@ footer { flex: none; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0 color: var(--ink); } .plus-btn:active { background: #e4e6ec; } +/* 右侧操作组:加号 + 发送,靠右排列 */ +.input-actions-right { + display: flex; align-items: center; + margin-left: auto; +} +/* 发送按钮:蓝底白向上箭头 */ +.send-btn { + flex: none; width: 36px; height: 36px; border-radius: 50%; + display: flex; align-items: center; justify-content: center; + background: var(--active); color: #fff; + box-shadow: 0 2px 6px rgba(57, 100, 254, 0.35); +} +.send-btn:active { opacity: 0.85; } /* ================= 历史记录抽屉 ================= */ #scrim { diff --git a/app/server/public/index.html b/app/server/public/index.html index 4435893..ba22823 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -69,10 +69,15 @@ 深度思考 - - +
+ + + +
@@ -1117,6 +1122,7 @@ ta.addEventListener('keydown', e => { if (e.key === 'Enter' && !e.shiftKey) { e.preventDefault(); send(); } }); + $('send-btn').addEventListener('click', () => send()); // 发送按钮与 Enter 行为一致 // 深度思考开关(仅本地视觉状态,后端无 reasoning 参数) $('deep-think-btn').addEventListener('click', () => {