diff --git a/resources/views/chat/partials/scripts.blade.php b/resources/views/chat/partials/scripts.blade.php index 4066a52..52ff9da 100644 --- a/resources/views/chat/partials/scripts.blade.php +++ b/resources/views/chat/partials/scripts.blade.php @@ -80,8 +80,8 @@ const border = isCurrent ? '#aac5f0' : '#e0eaf5'; const nameColor = isCurrent ? '#336699' : (closed ? '#bbb' : '#444'); const badge = room.online > 0 ? - `${room.online} 人` : - ``; + `${room.online} 人` : + ``; const currentTag = isCurrent ? `当前` : ''; @@ -95,7 +95,7 @@ transition:background .15s;" onmouseover="if(${!isCurrent}) this.style.background='#ddeeff';" onmouseout="this.style.background='${bg}';"> - + ${room.name}${currentTag} ${badge}