You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cz-hjjc-oa/src/layout/CardContainer.vue

37 lines
642 B

<template>
<div>
<el-card shadow="always">
<template #header>
<slot name="header">
<div>
<Icon :icon="$route.meta.icon"></Icon>
<span style="font-weight: 600;letter-spacing: 1px;">{{ $route.meta.title }}</span>
</div>
</slot>
</template>
<template #default>
<slot></slot>
</template>
</el-card>
</div>
</template>
<script>
import Icon from "@/layout/components/Sidebar/Icon.vue"
export default {
components: {
Icon
},
data() {
return {}
},
methods: {},
computed: {}
}
</script>
<style scoped lang="scss">
</style>