Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
胡锦波
/
org-manager-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1a49b247
authored
Apr 07, 2022
by
胡锦波
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1. init scrollbar 外壳交互优化处理
parent
2d7faa0d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
src/views/pages/main.vue
src/views/pages/main.vue
View file @
1a49b247
<
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%
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment