2021-09-29 18:50:45 +03:00
|
|
|
<template>
|
2021-11-28 13:07:37 +02:00
|
|
|
<div v-size="{ max: [500] }" v-sticky-container class="vrtktovh _formBlock">
|
2021-09-29 18:50:45 +03:00
|
|
|
<div class="label"><slot name="label"></slot></div>
|
2021-11-28 13:07:37 +02:00
|
|
|
<div class="main _formRoot">
|
2021-09-29 18:50:45 +03:00
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { defineComponent } from 'vue';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
|
|
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.vrtktovh {
|
2021-11-28 13:07:37 +02:00
|
|
|
margin: 0;
|
2021-09-29 18:50:45 +03:00
|
|
|
border-top: solid 0.5px var(--divider);
|
2021-11-28 13:07:37 +02:00
|
|
|
border-bottom: solid 0.5px var(--divider);
|
|
|
|
padding: 24px 0;
|
|
|
|
|
|
|
|
& + .vrtktovh {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2021-09-29 18:50:45 +03:00
|
|
|
|
|
|
|
> .label {
|
|
|
|
font-weight: bold;
|
2021-11-28 13:07:37 +02:00
|
|
|
padding: 0 0 16px 0;
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-09-29 18:50:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
> .main {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|