refactor(components): blankLayout引入GlobalContent

This commit is contained in:
Soybean
2021-11-24 23:44:39 +08:00
parent 32aa5ee75a
commit 1ffb75afce
63 changed files with 64 additions and 50 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>