From 65bf725eab906f7b1967f1f4394c940055860cd6 Mon Sep 17 00:00:00 2001 From: kicer Date: Wed, 22 Jul 2026 11:10:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=B6=88=E6=81=AF=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/public/index.html | 202 +++++++++++++++++++-------------------- server/server.js | 100 ++++++++++--------- 2 files changed, 145 insertions(+), 157 deletions(-) diff --git a/server/public/index.html b/server/public/index.html index 1b60f97..1879d5a 100644 --- a/server/public/index.html +++ b/server/public/index.html @@ -18,7 +18,7 @@ .icon-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .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 { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; cursor: pointer; position: relative; } .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; } .chat-info { flex: 1; min-width: 0; } @@ -26,6 +26,12 @@ .last-msg { font-size: 14px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chat-time { font-size: 12px; color: #aaa; margin-left: 8px; white-space: nowrap; } + .edit-room-btn { + position: absolute; right: 40px; top: 50%; transform: translateY(-50%); + background: none; border: none; cursor: pointer; display: flex; align-items: center; padding: 8px; + } + .edit-room-btn svg { width: 18px; height: 18px; stroke: #888; fill: none; stroke-width: 2; } + .summary-card { background: #f0f7ff; margin: 8px; border-radius: 12px; padding: 14px 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; } .summary-card h4 { font-size: 16px; font-weight: 500; } .summary-card .summary-preview { font-size: 14px; color: #555; } @@ -174,6 +180,20 @@ + + +