refactor: 简化unocss集成

This commit is contained in:
张传龙
2022-06-11 16:55:36 +08:00
parent b5ac614943
commit 67d966e096
10 changed files with 290 additions and 145 deletions

View File

@@ -18,6 +18,7 @@
<n-layout style="background-color: #f5f6fb" :style="`height: calc(100% - ${useTheme.header.height}px)`">
<AppTags v-if="useTheme.tags.visible" />
<AppMain
class="cur-scroll"
:style="{
height: `calc(100% - ${useTheme.tags.visible ? useTheme.tags.height : 0}px)`,
overflow: 'auto',