|
@@ -7,7 +7,7 @@
|
|
</div>
|
|
</div>
|
|
<el-aside class="local_aside" v-loading="menuLoading">
|
|
<el-aside class="local_aside" v-loading="menuLoading">
|
|
<el-container style="height: 100%">
|
|
<el-container style="height: 100%">
|
|
- <header style="padding: 13px 15px; border-bottom: 1px solid var(--el-border-color-light)">
|
|
|
|
|
|
+ <header style="padding: 10px 12px; border-bottom: 1px solid var(--el-border-color-light)">
|
|
<el-input v-model="menuFilterText" placeholder="输入关键字进行过滤" clearable></el-input>
|
|
<el-input v-model="menuFilterText" placeholder="输入关键字进行过滤" clearable></el-input>
|
|
</header>
|
|
</header>
|
|
<el-main class="nopadding">
|
|
<el-main class="nopadding">
|
|
@@ -46,7 +46,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<el-container class="container-bg">
|
|
<el-container class="container-bg">
|
|
- <el-main ref="mainRef" class="nopadding" style="padding: 20px">
|
|
|
|
|
|
+ <el-main ref="mainRef">
|
|
<save ref="saveRef" :menu="menuList" @success-cb="getMenu()"></save>
|
|
<save ref="saveRef" :menu="menuList" @success-cb="getMenu()"></save>
|
|
</el-main>
|
|
</el-main>
|
|
</el-container>
|
|
</el-container>
|
|
@@ -217,10 +217,7 @@ onMounted(() => {
|
|
.custom-tree-node:hover .do {
|
|
.custom-tree-node:hover .do {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
-.content-warp {
|
|
|
|
- // 300 + 28
|
|
|
|
- width: calc(100% - 328px);
|
|
|
|
-}
|
|
|
|
|
|
+
|
|
.aside-wrap {
|
|
.aside-wrap {
|
|
background-color: var(--el-bg-color);
|
|
background-color: var(--el-bg-color);
|
|
.local_aside {
|
|
.local_aside {
|
|
@@ -234,4 +231,20 @@ onMounted(() => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+@media (max-width: 750px) {
|
|
|
|
+ .pageWrap {
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ overflow-y: auto;
|
|
|
|
+ :deep(.aside-wrap) {
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
+ margin-right: 0;
|
|
|
|
+ .local_aside {
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+ .trigger-bar {
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
</style>
|
|
</style>
|