mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2026-01-23 16:10:21 +08:00
feat: 添加simple、normal、full 等layout布局
This commit is contained in:
@@ -6,12 +6,18 @@
|
||||
- Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
|
||||
--------------------------------->
|
||||
|
||||
<script setup>
|
||||
import SideLogo from './components/SideLogo.vue'
|
||||
import SideMenu from './components/SideMenu.vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<SideLogo border-b="1px solid light_border dark:dark_border" />
|
||||
<SideMenu class="cus-scroll-y mt-4 h-0 flex-1" />
|
||||
<div class="my-12 flex items-center justify-around px-12">
|
||||
<UserAvatar v-if="!appStore.collapsed" />
|
||||
<MenuCollapse />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { UserAvatar, MenuCollapse, SideLogo, SideMenu } from '@/layouts/components'
|
||||
import { useAppStore } from '@/store'
|
||||
|
||||
const appStore = useAppStore()
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user