This commit is contained in:
2026-09-10 03:17:06 +07:00
parent e95a5423b5
commit a16acfb2cc
45 changed files with 57 additions and 43 deletions
+9 -1
View File
@@ -155,7 +155,9 @@ onUnmounted(() => {
<template v-else>
<div v-if="!state?.gameId" class="screen-center">
<n-card class="qr-card" title="Подключение экрана">
<n-qr-code v-if="qrValue" :value="qrValue" :size="260" />
<div v-if="qrValue" class="screen-qr">
<n-qr-code :value="qrValue" :size="260" :padding="0" />
</div>
<p>Отсканируйте QR телефоном организатора и выберите игру.</p>
<n-button v-if="!prepared" type="primary" @click="prepareScreen">Подготовить экран</n-button>
</n-card>
@@ -186,6 +188,12 @@ onUnmounted(() => {
font-size: 28px;
}
.screen-qr {
background: #fff;
line-height: 0;
padding: 12px;
}
.screen-center {
align-items: center;
display: flex;