generated from VLADIMIR/template_frontend
Добавить стол организаторов на карту
This commit is contained in:
@@ -934,14 +934,18 @@ useSimplePolling(() => {
|
||||
:key="`${item.kind}-${item.itemId}`"
|
||||
class="map-item"
|
||||
: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':
|
||||
item.kind === 'team' && teamsNeedingApplications.has(item.itemId),
|
||||
},
|
||||
]"
|
||||
: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
|
||||
v-if="item.kind === 'team'"
|
||||
@@ -1637,6 +1641,10 @@ useSimplePolling(() => {
|
||||
background-color: #355b75;
|
||||
}
|
||||
|
||||
.map-organizer-desk {
|
||||
background-color: #48633a;
|
||||
}
|
||||
|
||||
.map-team {
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user