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
10d41344
authored
2020-11-11 11:10:47 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
tabs选项卡样式全局修改
1 parent
0a7f68d6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
2 deletions
src/assets/less/main.less
src/views/systemZD/index.vue
src/views/systemZRZ/index.vue
src/views/systemZRZ/lpb/index.vue
src/assets/less/main.less
View file @
10d4134
...
...
@@ -71,3 +71,28 @@ ol, ul { list-style:none; }
::-webkit-scrollbar-track {
border-radius: 0;
}
//二级菜单样式
.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-active{
color: #006CFF;
background-color: #ffffff;
}
}
}
}
\ No newline at end of file
...
...
src/views/systemZD/index.vue
View file @
10d4134
<
template
>
<div
class=
"content_box"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tabs
v-model=
"activeName"
class=
"tabs"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"地籍调查表"
name=
"djdcb"
><zddcb></zddcb></el-tab-pane>
<el-tab-pane
label=
"面积分摊表"
name=
"mjftb"
><mjftb></mjftb></el-tab-pane>
<el-tab-pane
label=
"界址点"
name=
"jzd"
><jzd></jzd></el-tab-pane>
...
...
src/views/systemZRZ/index.vue
View file @
10d4134
<
template
>
<div
ref=
"lpb"
class=
"content_box"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tabs
v-model=
"activeName"
class=
"tabs"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"自然幢信息"
name=
"zrzxx"
><zrzxx></zrzxx></el-tab-pane>
<el-tab-pane
label=
"业主共有"
name=
"yzgy"
><yzgy></yzgy></el-tab-pane>
<el-tab-pane
label=
"登记簿"
name=
"djb"
><djb></djb></el-tab-pane>
...
...
src/views/systemZRZ/lpb/index.vue
View file @
10d4134
...
...
@@ -53,12 +53,16 @@ export default {
}
/
deep
/
.el-tabs--card
>
.el-tabs__header
{
background-color
:
#FAFAFA
;
border-top
:
1px
solid
#E4E7ED
;
}
/
deep
/
.el-tabs--card
>
.el-tabs__header
.el-tabs__item.is-active
{
background-color
:
#fff
;
border-top
:
2px
solid
#006CFF
;
height
:
42px
;
}
/
deep
/
.el-tabs__item
{
border-top
:
0
;
}
.el-tabs
{
height
:
100%
;
display
:
flex
;
...
...
Please
register
or
sign in
to post a comment