2022-09-06 12:03:37 +00:00
|
|
|
<template>
|
2024-01-30 14:35:32 +00:00
|
|
|
<div :class="cx('root')" v-bind="ptm('root')">
|
2023-05-25 14:46:32 +00:00
|
|
|
<div v-if="$slots.header" :class="cx('header')" v-bind="ptm('header')">
|
2022-09-06 12:03:37 +00:00
|
|
|
<slot name="header"></slot>
|
|
|
|
</div>
|
2023-05-25 14:46:32 +00:00
|
|
|
<div :class="cx('body')" v-bind="ptm('body')">
|
2024-01-03 11:06:19 +00:00
|
|
|
<div v-if="$slots.title || $slots.subtitle" :class="cx('caption')" v-bind="ptm('caption')">
|
|
|
|
<div v-if="$slots.title" :class="cx('title')" v-bind="ptm('title')">
|
|
|
|
<slot name="title"></slot>
|
|
|
|
</div>
|
|
|
|
<div v-if="$slots.subtitle" :class="cx('subtitle')" v-bind="ptm('subtitle')">
|
|
|
|
<slot name="subtitle"></slot>
|
|
|
|
</div>
|
2023-03-24 13:15:30 +00:00
|
|
|
</div>
|
2023-05-24 09:23:34 +00:00
|
|
|
<div :class="cx('content')" v-bind="ptm('content')">
|
2022-09-06 12:03:37 +00:00
|
|
|
<slot name="content"></slot>
|
|
|
|
</div>
|
2023-05-25 14:46:32 +00:00
|
|
|
<div v-if="$slots.footer" :class="cx('footer')" v-bind="ptm('footer')">
|
2022-09-06 12:03:37 +00:00
|
|
|
<slot name="footer"></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-05-22 22:03:28 +00:00
|
|
|
import BaseCard from './BaseCard.vue';
|
2023-03-24 13:15:30 +00:00
|
|
|
|
2022-09-06 12:03:37 +00:00
|
|
|
export default {
|
2023-03-24 13:15:30 +00:00
|
|
|
name: 'Card',
|
2023-05-22 22:03:28 +00:00
|
|
|
extends: BaseCard
|
2022-09-14 11:26:01 +00:00
|
|
|
};
|
2022-09-06 12:03:37 +00:00
|
|
|
</script>
|