2021-09-29 15:50:45 +00:00
|
|
|
<template>
|
|
|
|
<div class="adhpbeou">
|
|
|
|
<div class="label" @click="focus"><slot name="label"></slot></div>
|
|
|
|
<div class="content">
|
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
<div class="caption"><slot name="caption"></slot></div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2022-09-05 09:51:23 +00:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { } from 'vue';
|
2021-09-29 15:50:45 +00:00
|
|
|
|
2022-09-05 09:51:23 +00:00
|
|
|
function focus() {
|
|
|
|
// TODO
|
|
|
|
}
|
2021-09-29 15:50:45 +00:00
|
|
|
</script>
|
|
|
|
|
2022-12-27 09:29:39 +00:00
|
|
|
<style lang="scss" scoped>
|
2021-09-29 15:50:45 +00:00
|
|
|
.adhpbeou {
|
|
|
|
> .label {
|
|
|
|
font-size: 0.85em;
|
2021-11-28 11:07:37 +00:00
|
|
|
padding: 0 0 8px 0;
|
2021-09-29 15:50:45 +00:00
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .caption {
|
2021-11-28 11:07:37 +00:00
|
|
|
font-size: 0.85em;
|
|
|
|
padding: 8px 0 0 0;
|
2021-09-29 15:50:45 +00:00
|
|
|
color: var(--fgTransparentWeak);
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|