From d3953b720af9e3df791d2adaa35c2aa0a36e05d5 Mon Sep 17 00:00:00 2001 From: shuaiplus <2327005759@qq.com> Date: Sun, 4 May 2025 19:44:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=88=BF=E9=97=B4=E5=A4=B4?= =?UTF-8?q?=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/main.js | 6 ++---- web/style.css | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/web/main.js b/web/main.js index 5f698c8..7106b24 100644 --- a/web/main.js +++ b/web/main.js @@ -138,9 +138,8 @@ function renderRooms(activeId = 0) { const div = document.createElement("div"); div.className = "room" + (i === activeId ? " active" : ""); div.innerHTML = ` - ${getSvgAvatar("R"+(i+1), 42)}
-
Room ${i+1}
+
#Room ${i+1}
@@ -165,8 +164,7 @@ function renderMainHeader() { } document.getElementById("main-header").innerHTML = `
- ${getSvgAvatar(roomName[0] || 'R', 40)} -
${escapeHTML(roomName)}
+
#${escapeHTML(roomName)}
${onlineCount} members
diff --git a/web/style.css b/web/style.css index a3746e9..06b4c79 100644 --- a/web/style.css +++ b/web/style.css @@ -80,7 +80,7 @@ body { .room { display: flex; align-items: center; - padding: 10px 16px; + padding: 15px 15px; border-bottom: 1px solid #eee; cursor: pointer; background: #f6f6f6;