WIP Анимация карточек и переключателя календаря

This commit is contained in:
Daria Golova
2022-12-12 18:14:45 +03:00
parent af01eecda7
commit 39b39d5533
4 changed files with 36 additions and 17 deletions

View File

@@ -63,7 +63,7 @@
transition(name="section", mode="out-in")
.flex.justify-center.items-center(
v-if="sectionDataPresence",
:style="{height: settings[section].voidHeight + 'px'}"
:style="{height: settings[section].voidHeight + 'px'}",
)
base-loader(
:width="60",
@@ -72,6 +72,7 @@
.section-body.flex.flex-col.gap-y-4.px-4(
v-else-if="(this.isData || this.isAddress || this.isAttachments) && !isChange",
:class="{'pt-3 pb-4': isData || isAddress || isAttachments}",
:style="{height: settings[section].voidHeight + 'px'}"
)
.flex.flex-col.gap-y-4
.flex.flex-col(v-for="(item, key) in sectionInfo", class="gap-y-1.5")

View File

@@ -126,7 +126,7 @@ export const detail = {
issued_by_date: "Дата",
},
width: 280,
voidHeight: 242,
voidHeight: 244,
},
snils: {
title: "СНИЛС",