Добавить стол организаторов на карту

This commit is contained in:
2026-09-21 18:28:43 +07:00
parent af6eb62a8e
commit 75295ecb2b
+10 -2
View File
@@ -934,14 +934,18 @@ useSimplePolling(() => {
:key="`${item.kind}-${item.itemId}`" :key="`${item.kind}-${item.itemId}`"
class="map-item" class="map-item"
:class="[ :class="[
item.kind === 'screen' ? 'map-screen' : 'map-team', item.kind === 'screen'
? 'map-screen'
: item.kind === 'organizer_desk'
? 'map-organizer-desk'
: 'map-team',
{ {
'map-team-needs-applications': 'map-team-needs-applications':
item.kind === 'team' && teamsNeedingApplications.has(item.itemId), item.kind === 'team' && teamsNeedingApplications.has(item.itemId),
}, },
]" ]"
:style="{ left: `${item.x || 0}px`, top: `${item.y || 0}px` }" :style="{ left: `${item.x || 0}px`, top: `${item.y || 0}px` }"
@pointerdown.stop="item.kind === 'screen' && startMapDrag(item, $event)" @pointerdown.stop="item.kind !== 'team' && startMapDrag(item, $event)"
> >
<div <div
v-if="item.kind === 'team'" v-if="item.kind === 'team'"
@@ -1637,6 +1641,10 @@ useSimplePolling(() => {
background-color: #355b75; background-color: #355b75;
} }
.map-organizer-desk {
background-color: #48633a;
}
.map-team { .map-team {
background-color: #222; background-color: #222;
} }