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"> <link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Вечерний детектив</title> <title>Вечерний детектив</title>
<script type="module" crossorigin src="/assets/index-Cf9_tofY.js"></script> <script type="module" crossorigin src="/assets/index-CGk6CiX8.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-B9MCa_bO.css"> <link rel="stylesheet" crossorigin href="/assets/index-Bl5HbzRP.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
+20 -16
View File
@@ -158,16 +158,24 @@ async function confirmDeleteTeam() {
<div v-for="team in game.teams" class="team-block"> <div v-for="team in game.teams" class="team-block">
<div class="team-content-block"> <div class="team-content-block">
<div class="team-name-block"> <div class="title-block">
{{ team.name }} <span class="team-name-block">
<n-button class="team-url" @click="toTeamStory(team.id!, team.password!)"> {{ team.name }}
</span>
<div>
Поездки: {{ team.actionsCount }}
</div>
</div>
<n-flex justify="end">
<n-button @click="toTeamStory(team.id!, team.password!)">
Подсмотреть игру Подсмотреть игру
</n-button> </n-button>
<n-button class="team-url" type="error" ghost @click="deleteTeam(team)"> <n-button type="error" ghost @click="deleteTeam(team)">
Удалить команду Удалить
</n-button> </n-button>
</div> </n-flex>
<div>Поездки: {{ team.actionsCount }}</div>
<n-button v-for="application in team.applications" :key="application.name" class="link-button" <n-button v-for="application in team.applications" :key="application.name" class="link-button"
@click="giveApplication(team, application)"> @click="giveApplication(team, application)">
Выдать: {{ application.name }} Выдать: {{ application.name }}
@@ -283,14 +291,6 @@ async function confirmDeleteTeam() {
border: 1px solid #63e2b7; border: 1px solid #63e2b7;
} }
.team-url {
margin-left: 10px;
}
.team-url:hover {
cursor: pointer;
}
.team-content-block { .team-content-block {
padding: 20px; padding: 20px;
} }
@@ -312,8 +312,12 @@ async function confirmDeleteTeam() {
width: 20px; width: 20px;
} }
.title-block {
margin-bottom: 20px;
}
.link-button { .link-button {
margin-top: 10px; margin-top: 20px;
width: 100%; width: 100%;
} }