<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>
