mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-20 17:48:11 +09:00
36 lines
519 B
Vue
36 lines
519 B
Vue
<template>
|
|
<div v-sticky-container v-panel class="adfeebaf _formBlock">
|
|
<div class="label"><slot name="label"></slot></div>
|
|
<div class="main _formRoot">
|
|
<slot></slot>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
|
|
export default defineComponent({
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.adfeebaf {
|
|
padding: 24px 24px;
|
|
border-radius: var(--radius);
|
|
|
|
> .label {
|
|
font-weight: bold;
|
|
padding: 0 0 16px 0;
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
> .main {
|
|
|
|
}
|
|
}
|
|
</style>
|