feat: 项目结构重构优化
This commit is contained in:
1 parent
65ad4fe59f
commit
aa374dd2ba
164 files changed
+11305
-3103
No files matched your search
@@ -0,0 +1,43 @@
|
||||
<template>
|
||||
<div class="navbar">
|
||||
<div class="flex-y-center">
|
||||
<!-- è�œå�•折å� 按钮 -->
|
||||
<Hamburger :is-active="isSidebarOpened" @toggle-click="toggleSideBar" />
|
||||
<!-- �包屑导�-->
|
||||
<Breadcrumb />
|
||||
</div>
|
||||
<!-- 导航æ �æ“�作区åŸ?-->
|
||||
<div class="navbar__actions">
|
||||
<LayoutToolbar />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useAppStore } from "@/store";
|
||||
import Hamburger from "@/components/Hamburger/index.vue";
|
||||
import Breadcrumb from "@/components/Breadcrumb/index.vue";
|
||||
|
||||
const appStore = useAppStore();
|
||||
|
||||
const isSidebarOpened = computed(() => appStore.sidebar.opened);
|
||||
|
||||
function toggleSideBar() {
|
||||
appStore.toggleSidebar();
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.navbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: $navbar-height;
|
||||
|
||||
&__actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user