feat(projects): 添加侧边菜单

This commit is contained in:
Soybean
2022-01-11 08:22:31 +08:00
parent 371fad4f26
commit e25afe2fad
34 changed files with 1887 additions and 391 deletions

View File

@ -1,9 +1,18 @@
<template>
<dark-mode-container class="global-sider flex-y-center h-full"></dark-mode-container>
<dark-mode-container class="global-sider flex-col-stretch h-full">
<global-logo :show-title="!app.siderCollapse" :style="{ height: theme.header.height + 'px' }" />
<sider-menu class="flex-1-hidden" />
</dark-mode-container>
</template>
<script setup lang="ts">
import { DarkModeContainer } from '@/components';
import { useAppStore, useThemeStore } from '@/store';
import GlobalLogo from '../GlobalLogo/index.vue';
import { SiderMenu } from './components';
const app = useAppStore();
const theme = useThemeStore();
</script>
<style scoped>
.global-sider {