This commit is contained in:
Nukeap committed 2025-01-20 15:27:54 +03:00
1 parent 701c75539c
commit 03828d965a
2 files changed
+20 -15

No files matched your search

@@ -1,5 +1,5 @@
<template>
<v-row class="pt-2 h-100 w-100 flex-column">
<div class="pt-2 h-100 ">
<template v-if="isVoteCreated">
<v-card class="text-center pa-8" flat>
<v-icon color="success" size="48">mdi-check-circle</v-icon>
@@ -8,25 +8,30 @@
</v-card>
</template>
<template v-else>
<div class="v-col mb-0 pb-0 ">
<div class="bg-green h-100 mb-0 pb-0 ">
<v-stepper height="100%" v-model="step" editable>
<v-stepper-header class="">
<v-stepper class="h-50 d-flex flex-column" v-model="step" editable>
<v-stepper-header class="v-col-auto">
<v-stepper-item :complete="step > 0" step="1">Основная информация</v-stepper-item>
<v-divider></v-divider>
<v-stepper-item :complete="step > 1" step="2">Создание опроса</v-stepper-item>
<v-divider></v-divider>
<v-stepper-item :complete="step > 2" step="3">Подтверждение</v-stepper-item>
</v-stepper-header>
<v-stepper-window class="h-100 flex-column">
<template v-slot:item.1>
<v-card title="Step Two" flat>...</v-card>
</template>
<v-stepper-window class="v-col">
<!-- Основная информация -->
<v-stepper-window-item step="1" class=" v-col flex-row bg-green " >
<v-card class=" v-row flex-column">
<v-card-title class="v-col-auto bg-red">
<v-stepper-window-item step="1" class="h-100 d-flex flex-column bg-yellow h-100" >
<!-- <v-row class="flex-column h-100"> -->
<v-col cols="4" class="bg-green">1</v-col>
<v-col>1</v-col>
<!-- </v-row> -->
<!-- <v-card class=" v-row flex-column">
<v-card-title class="v-col-auto">
<div>Основная информация</div></v-card-title>
<v-card-text class="v-col-auto bg-yellow flex-grow-1">
<v-card-text class="v-col flex-grow-1">
<v-text-field
v-model="form.title"
:rules="[rules.required]"
@@ -65,10 +70,10 @@
</div>
</div>
</v-card-text>
<v-card-actions class="v-col flex-row ">
<v-card-actions class="v-col-4 ">
<v-btn color="teal-darken-4" size="medium" @click="step = 1">Далее</v-btn>
</v-card-actions>
</v-card>
</v-card> -->
</v-stepper-window-item>
<!-- Создание опроса -->
@@ -250,7 +255,7 @@
</v-stepper>
</div>
</template>
</v-row>
</div>
</template>
<script>
+1 -1
View File
@@ -41,7 +41,7 @@
<!-- Конструктор -->
<v-tabs-window-item value="constructor" class="h-100 overflow-auto bg-yellow">
<v-tabs-window-item value="constructor" class="h-100 overflow-auto ">
<VoteConstructor @updating="updating" />
</v-tabs-window-item>
<!-- </v-tabs-window> -->