new
This commit is contained in:
@@ -152,6 +152,22 @@
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/* 座位标签样式 */
|
||||
.bubble-seat {
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
right: -8px;
|
||||
background: linear-gradient(135deg, #ff6b6b, #ff4757);
|
||||
color: white;
|
||||
font-size: 0.65rem;
|
||||
font-weight: bold;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
|
||||
white-space: nowrap;
|
||||
border: 2px solid rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
|
||||
/* Central Spotlight Card */
|
||||
.spotlight-container {
|
||||
position: absolute;
|
||||
@@ -530,6 +546,14 @@
|
||||
<div class="bubble-avatar" style="font-size: ${fontSize}">${bubbleContent}</div>
|
||||
`;
|
||||
|
||||
// 显示座位信息(如果启用且用户有座位号)
|
||||
if (WALL_CONFIG.show_seating === true && user.location) {
|
||||
const seatElement = document.createElement('div');
|
||||
seatElement.className = 'bubble-seat';
|
||||
seatElement.textContent = user.location;
|
||||
this.element.appendChild(seatElement);
|
||||
}
|
||||
|
||||
// Interaction: Click to show in spotlight
|
||||
this.element.style.cursor = 'pointer';
|
||||
this.element.addEventListener('click', (e) => {
|
||||
|
||||
Reference in New Issue
Block a user