Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
6cd48f09
authored
2020-11-23 11:56:46 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
二级菜单吸顶
1 parent
d9e8979a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
18 deletions
src/assets/less/main.less
src/assets/less/main.less
View file @
6cd48f0
...
...
@@ -89,25 +89,33 @@ ol, ul { list-style:none; }
}
//二级菜单样式
.tabs{
>.is-top>.is-top>.el-tabs__nav-scroll{
height: 50px;
background-color: #ffffff;
box-sizing: border-box;
padding-left: 20px;
.el-tabs__active-bar{
display: none;
}
>.el-tabs__nav{
>.el-tabs__item{
border: 1px solid #DEDEDE;
height: 30px;
line-height: 30px;
padding: 0 20px;
margin: 9px 10px 9px 0;
>.is-top{
position: -webkit-fixed;
position: fixed;
top: 60px;
z-index: 999;
width: 100%;
margin-bottom: 0;
>.is-top>.el-tabs__nav-scroll{
height: 50px;
background-color: #ffffff;
box-sizing: border-box;
padding-left: 20px;
.el-tabs__active-bar{
display: none;
}
.is-active{
color: #006CFF;
background-color: #ffffff;
>.el-tabs__nav{
>.el-tabs__item{
border: 1px solid #DEDEDE;
height: 30px;
line-height: 30px;
padding: 0 20px;
margin: 9px 10px 9px 0;
}
.is-active{
color: #006CFF;
background-color: #ffffff;
}
}
}
}
...
...
@@ -123,6 +131,7 @@ ol, ul { list-style:none; }
}
.el-tabs__content{
position: unset;
margin-top: 50px;
}
// 自定义右键菜单样式
.contextmenu {
...
...
Please
register
or
sign in
to post a comment