去掉房间头像

This commit is contained in:
shuaiplus committed 2025-05-04 19:44:35 +08:00
1 parent 0a66e7d7f4
commit d3953b720a
2 files changed
+3 -5

No files matched your search

+2 -4
View File
@@ -138,9 +138,8 @@ function renderRooms(activeId = 0) {
const div = document.createElement("div");
div.className = "room" + (i === activeId ? " active" : "");
div.innerHTML = `
<span class="avatar">${getSvgAvatar("R"+(i+1), 42)}</span>
<div class="info">
<div class="title">Room ${i+1}</div>
<div class="title" style="font-size: 1.18em; font-weight: bold;">#Room ${i+1}</div>
<div class="lastmsg"></div>
</div>
<div class="time"></div>
@@ -165,8 +164,7 @@ function renderMainHeader() {
}
document.getElementById("main-header").innerHTML = `
<div style="display: flex; align-items: center;">
<span class="avatar">${getSvgAvatar(roomName[0] || 'R', 40)}</span>
<div class="group-title">${escapeHTML(roomName)}</div>
<div class="group-title" style="font-size: 1.22em; font-weight: bold;">#${escapeHTML(roomName)}</div>
<span style="margin-left:10px;font-size:13px;color:#888;">${onlineCount} members</span>
</div>
<div class="main-header-actions">
+1 -1
View File
@@ -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;