2021-07-31 22:45:28 +00:00
|
|
|
<template>
|
2021-12-04 23:18:46 +00:00
|
|
|
<v-card
|
|
|
|
color="background"
|
|
|
|
flat
|
|
|
|
class="pb-2"
|
|
|
|
:class="{
|
|
|
|
'mt-8': section,
|
|
|
|
}"
|
|
|
|
>
|
2021-11-25 23:17:02 +00:00
|
|
|
<v-card-title class="headline pl-0 py-0">
|
2021-10-04 02:38:45 +00:00
|
|
|
<v-icon v-if="icon !== ''" left>
|
|
|
|
{{ icon }}
|
|
|
|
</v-icon>
|
|
|
|
{{ title }}
|
|
|
|
</v-card-title>
|
2021-11-25 23:17:02 +00:00
|
|
|
<v-card-text v-if="$slots.default" class="pt-2 pl-0">
|
2021-10-09 21:08:23 +00:00
|
|
|
<p class="pb-0 mb-0">
|
|
|
|
<slot />
|
|
|
|
</p>
|
|
|
|
</v-card-text>
|
2021-12-04 23:18:46 +00:00
|
|
|
<v-divider class="mb-3"></v-divider>
|
2021-07-31 22:45:28 +00:00
|
|
|
</v-card>
|
|
|
|
</template>
|
|
|
|
|
2022-01-09 06:15:23 +00:00
|
|
|
<script lang="ts">
|
|
|
|
import { defineComponent } from "@nuxtjs/composition-api";
|
|
|
|
|
|
|
|
export default defineComponent({
|
2021-07-31 22:45:28 +00:00
|
|
|
props: {
|
|
|
|
title: {
|
|
|
|
type: String,
|
2022-08-15 21:55:51 +00:00
|
|
|
required: true,
|
2021-08-07 00:28:12 +00:00
|
|
|
},
|
2021-10-04 02:38:45 +00:00
|
|
|
icon: {
|
|
|
|
type: String,
|
|
|
|
default: "",
|
|
|
|
},
|
2021-12-04 23:18:46 +00:00
|
|
|
section: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false,
|
|
|
|
},
|
2021-08-07 00:28:12 +00:00
|
|
|
},
|
2022-01-09 06:15:23 +00:00
|
|
|
});
|
2021-07-31 22:45:28 +00:00
|
|
|
</script>
|