From 1f6bc4789b8db6f0186e0250a6016e4c3e6ed8fd Mon Sep 17 00:00:00 2001 From: kicer Date: Wed, 29 Jul 2026 07:27:20 +0800 Subject: [PATCH] =?UTF-8?q?v2.8.1,=20=E5=9F=BA=E6=9C=AC=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/public/css/style.css | 9 ++------- server/public/index.html | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/server/public/css/style.css b/server/public/css/style.css index 108cd74..caf9b93 100644 --- a/server/public/css/style.css +++ b/server/public/css/style.css @@ -8,13 +8,11 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans- .header-left h2 { font-size: 18px; font-weight: 500; } .icon-btn { background: none; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 50%; } .icon-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } - - - +.chat-item:nth-child(even) {background-color: #e8f0fe;} .chat-list { flex: 1; overflow-y: auto; padding-bottom: 8px; } .chat-item { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; cursor: pointer; } .chat-item:active { background: #f9f9f9; } -.avatar { width: 44px; height: 44px; border-radius: 50%; background: #e0e0e0; margin-right: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; color: #555; flex-shrink: 0; } +.avatar { width: 44px; height: 44px; border-radius: 50%; background: #2a5298; margin-right: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; color: #fff; flex-shrink: 0; } .chat-info { flex: 1; min-width: 0; } .chat-name { font-size: 16px; font-weight: 500; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .last-msg { font-size: 14px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } @@ -23,11 +21,9 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans- .room-actions { display: flex; gap: 4px; margin-top: 4px; } .edit-room-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; padding: 2px; } .edit-room-btn svg { width: 16px; height: 16px; stroke: #888; fill: none; stroke-width: 2; } - .summary-card { background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%); margin: 8px; border-radius: 12px; padding: 14px 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; border: 1px solid #b8d4f8; } .summary-card h4 { font-size: 16px; font-weight: 500; } .summary-card .summary-preview { font-size: 14px; color: #555; } - .chat-window { display: flex; flex-direction: column; height: 100%; } .chat-header { background: #2a5298; color: #fff; padding: 0 16px; display: flex; align-items: center; min-height: 48px; } .header .back-btn { margin-right: 12px; } @@ -48,7 +44,6 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans- .msg-bubble th { background: #f0f0f0; } .msg-bubble pre { background: #f0f0f0; padding: 8px; border-radius: 4px; overflow-x: auto; } .msg-bubble code { background: #f0f0f0; padding: 2px 4px; border-radius: 3px; font-size: 14px; } - .input-area { padding: 8px 12px; border-top: 1px solid #eee; display: flex; align-items: center; background: #fff; gap: 8px; } .input-area textarea { flex: 1; border: 1px solid #ddd; border-radius: 12px; padding: 10px 12px; font-size: 16px; outline: none; resize: none; min-height: 40px; max-height: 120px; overflow-y: hidden; line-height: 1.4; } .file-upload-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 4px; } diff --git a/server/public/index.html b/server/public/index.html index 2faf408..04482ed 100644 --- a/server/public/index.html +++ b/server/public/index.html @@ -237,7 +237,7 @@