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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -5,8 +5,8 @@
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Вечерний детектив</title>
<script type="module" crossorigin src="/assets/index-Cf9_tofY.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-B9MCa_bO.css">
<script type="module" crossorigin src="/assets/index-CGk6CiX8.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Bl5HbzRP.css">
</head>
<body>
<div id="app"></div>
+19 -15
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">
<div class="title-block">
<span class="team-name-block">
{{ team.name }}
<n-button class="team-url" @click="toTeamStory(team.id!, team.password!)">
</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%;
}