This commit is contained in:
2026-08-01 03:40:13 +07:00
parent 8ccc17a03a
commit 5629333ce3
4 changed files with 24 additions and 20 deletions
+20 -16
View File
@@ -158,16 +158,24 @@ async function confirmDeleteTeam() {
<div v-for="team in game.teams" class="team-block">
<div class="team-content-block">
<div class="team-name-block">
{{ team.name }}
<n-button class="team-url" @click="toTeamStory(team.id!, team.password!)">
<div class="title-block">
<span class="team-name-block">
{{ team.name }}
</span>
<div>
Поездки: {{ team.actionsCount }}
</div>
</div>
<n-flex justify="end">
<n-button @click="toTeamStory(team.id!, team.password!)">
Подсмотреть игру
</n-button>
<n-button class="team-url" type="error" ghost @click="deleteTeam(team)">
Удалить команду
<n-button type="error" ghost @click="deleteTeam(team)">
Удалить
</n-button>
</div>
<div>Поездки: {{ team.actionsCount }}</div>
</n-flex>
<n-button v-for="application in team.applications" :key="application.name" class="link-button"
@click="giveApplication(team, application)">
Выдать: {{ application.name }}
@@ -283,14 +291,6 @@ async function confirmDeleteTeam() {
border: 1px solid #63e2b7;
}
.team-url {
margin-left: 10px;
}
.team-url:hover {
cursor: pointer;
}
.team-content-block {
padding: 20px;
}
@@ -312,8 +312,12 @@ async function confirmDeleteTeam() {
width: 20px;
}
.title-block {
margin-bottom: 20px;
}
.link-button {
margin-top: 10px;
margin-top: 20px;
width: 100%;
}