Add support for collapse navigator and global config (#33)
This commit is contained in:
1 parent
9a18b417f6
commit
439be1797d
20 files changed
+305
-50
No files matched your search
@@ -53,7 +53,7 @@ export default defineComponent({
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.main {
|
||||
width: calc(100% - 60px);
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
.side {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user