2021-09-30 00:50:45 +09:00
|
|
|
<template>
|
2022-01-04 15:36:14 +09:00
|
|
|
<div class="vrtktovh _formBlock">
|
2021-09-30 00:50:45 +09:00
|
|
|
<div class="label"><slot name="label"></slot></div>
|
2021-11-28 20:07:37 +09:00
|
|
|
<div class="main _formRoot">
|
2021-09-30 00:50:45 +09:00
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2021-12-30 21:47:48 +09:00
|
|
|
<script lang="ts" setup>
|
2021-09-30 00:50:45 +09:00
|
|
|
</script>
|
|
|
|
|
2022-12-27 18:01:06 +09:00
|
|
|
<style lang="scss">
|
2021-09-30 00:50:45 +09:00
|
|
|
.vrtktovh {
|
|
|
|
border-top: solid 0.5px var(--divider);
|
2021-11-28 20:07:37 +09:00
|
|
|
border-bottom: solid 0.5px var(--divider);
|
|
|
|
|
|
|
|
& + .vrtktovh {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2021-09-30 00:50:45 +09:00
|
|
|
|
|
|
|
> .label {
|
|
|
|
font-weight: bold;
|
2022-01-04 15:36:14 +09:00
|
|
|
margin: 1.5em 0 16px 0;
|
2021-11-28 20:07:37 +09:00
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-09-30 00:50:45 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
> .main {
|
2022-01-04 15:36:14 +09:00
|
|
|
margin: 1.5em 0;
|
2021-09-30 00:50:45 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|