Add support for collapse navigator and global config (#33)

This commit is contained in:
AceDataCloud committed 2024-01-07 19:05:16 +08:00
1 parent 9a18b417f6
commit 439be1797d
20 files changed
+305 -50

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ export default defineComponent({
<style lang="scss" scoped>
.main {
width: calc(100% - 60px);
flex: 1;
display: flex;
flex-direction: row;
.side {
+4 -5
View File
@@ -1,8 +1,6 @@
<template>
<div class="wrapper">
<div class="left">
<navigator />
</div>
<navigator class="navigator" />
<div class="main">
<side-panel class="side" />
<router-view class="operation" />
@@ -46,11 +44,12 @@ export default defineComponent({
height: 100%;
display: flex;
flex-direction: row;
.left {
width: 60px;
.navigator {
height: 100%;
border-right: 1px solid var(--el-border-color);
}
.main {
height: 100%;
width: calc(100% - 60px);
-1
View File
@@ -25,7 +25,6 @@ export default defineComponent({
flex-direction: row;
overflow: hidden;
.navigator {
width: 60px;
height: 100%;
border-right: 1px solid var(--el-border-color);
}
+1 -1
View File
@@ -60,8 +60,8 @@ export default defineComponent({
<style lang="scss" scoped>
.main {
flex: 1;
height: 100%;
width: calc(100% - 60px);
display: flex;
flex-direction: row;
.menu {