Commit 1a49b247 by 胡锦波

1. init scrollbar 外壳交互优化处理

parent 2d7faa0d
Showing with 11 additions and 6 deletions
<template> <template>
<el-scrollbar class="container-scrollbar-main">
<div class="manager-container d-flex flex-column"> <div class="manager-container d-flex flex-column">
<div class="flex-none"> <div class="flex-none">
<CommonHeader></CommonHeader> <CommonHeader></CommonHeader>
...@@ -17,11 +18,14 @@ ...@@ -17,11 +18,14 @@
justify-content-center justify-content-center
" "
> >
<router-view class="router-page flex-fill"></router-view> <router-view
class="router-page flex-fill"
></router-view>
</div> </div>
</el-scrollbar> </el-scrollbar>
</div> </div>
</div> </div>
</el-scrollbar>
</template> </template>
<script lang="ts"> <script lang="ts">
...@@ -37,10 +41,10 @@ ...@@ -37,10 +41,10 @@
@import "~@/css/variables.less"; @import "~@/css/variables.less";
.manager-container { .manager-container {
height: 100%; height: 100%;
min-width: 1200px;
.root-contaniner { .root-contaniner {
height: calc(100vh - 64px); height: calc(100vh - 64px);
min-width: 1200px;
} }
.main-container { .main-container {
...@@ -62,18 +66,19 @@ ...@@ -62,18 +66,19 @@
height: 100%; height: 100%;
} }
.container-scrollbar-left, /deep/ .container-scrollbar-left,
.container-scrollbar-right { /deep/ .container-scrollbar-main,
/deep/ .container-scrollbar-right {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
/deep/ .el-scrollbar__wrap { > .el-scrollbar__wrap {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex: 1 1 auto; flex: 1 1 auto;
height: 100%; height: 100%;
.el-scrollbar__view { > .el-scrollbar__view {
height: 100%; height: 100%;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment