补充前端交互边界注释
This commit is contained in:
@@ -72,6 +72,7 @@ export function renderRoomStatusRow(room, options = {}) {
|
||||
? '<span style="font-size:9px;color:#7090b0;margin-left:3px;">当前</span>'
|
||||
: '<span style="font-size:9px;color:#336699;opacity:.7;margin-left:3px;">当前</span>')
|
||||
: "";
|
||||
// 当前房间不生成跳转事件,避免重复进入同一房间触发无意义刷新。
|
||||
const clickHandler = isCurrent ? "" : buildRoomClickHandler(room.id, options.roomUrlResolver);
|
||||
const badge = room.online > 0
|
||||
? `<span style="background:#e8f5e9;color:#2e7d32;border-radius:8px;padding:0 ${variant === "mobile" ? "6px" : "5px"};font-size:10px;font-weight:bold;white-space:nowrap;flex-shrink:0;">${room.online}${variant === "mobile" ? "" : " "}人</span>`
|
||||
|
||||
Reference in New Issue
Block a user