2022-09-06 12:03:37 +00:00
|
|
|
<template>
|
2023-05-24 09:23:34 +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')">
|
2023-05-24 09:23:34 +00:00
|
|
|
<div v-if="$slots.title" :class="cx('title')">
|
2023-03-24 13:15:30 +00:00
|
|
|
<slot name="title"></slot>
|
|
|
|
</div>
|
2023-05-24 09:23:34 +00:00
|
|
|
<div v-if="$slots.subtitle" :class="cx('subtitle')" v-bind="ptm('subtitle')">
|
2023-03-24 13:15:30 +00:00
|
|
|
<slot name="subtitle"></slot>
|
|
|
|
</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>
|