refactor(components): basicLayout布局组件重构完成:根据NavMode拆分为多个布局组件

This commit is contained in:
Soybean
2021-11-20 20:14:02 +08:00
parent 0e0d559d2f
commit ffe987832f
110 changed files with 743 additions and 1713 deletions

View File

@ -0,0 +1,20 @@
<template>
<n-layout-footer class="bg-white dark:bg-dark">
<div class="footer-height flex-center">Copyright ©2021 Soybean Admin</div>
</n-layout-footer>
</template>
<script lang="ts" setup>
import { computed } from 'vue';
import { NLayoutFooter } from 'naive-ui';
import { useThemeStore } from '@/store';
const theme = useThemeStore();
const footerHeight = computed(() => `${theme.footerStyle.height}px`);
</script>
<style scoped>
.footer-height {
height: v-bind(footerHeight);
}
</style>