Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
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
34318b99
authored
2023-03-14 16:13:03 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:样式修改
1 parent
02c931f0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
42 deletions
src/layout/components/Navbar.vue
src/layout/components/Navbar.vue
View file @
34318b9
...
...
@@ -19,11 +19,11 @@
</div>
</
template
>
<
script
>
import
sidebarLeft
from
"./Sidebar/sidebarLeft"
;
import
sidebarRight
from
"./Sidebar/sidebarRight"
;
import
{
logout
}
from
"@/api/login.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
import
sidebarLeft
from
"./Sidebar/sidebarLeft"
;
import
sidebarRight
from
"./Sidebar/sidebarRight"
;
import
{
logout
}
from
"@/api/login.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
components
:
{
sidebarLeft
,
sidebarRight
,
...
...
@@ -57,89 +57,89 @@
});
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
/
deep
/
.el-menu--horizontal
{
/
deep
/
.el-menu--horizontal
{
display
:
flex
;
align-items
:
center
;
}
}
.menubg
{
.menubg
{
height
:
34px
;
width
:
130px
;
width
:
130px
!important
;
text-align
:
center
;
color
:
#ffffff
;
margin-right
:
20px
;
background
:
url("~@/image/navbar.png")
no-repeat
;
background-size
:
100%
100%
;
}
}
/
deep
/
.el-menu-item
{
/
deep
/
.el-menu-item
{
@extend
.menubg;
}
}
/
deep
/
.el-submenu
{
/
deep
/
.el-submenu
{
@extend
.menubg;
}
}
/
deep
/
.el-submenu__title
{
/
deep
/
.el-submenu__title
{
height
:
34px
;
color
:
#ffffff
;
}
}
/
deep
/
.el-submenu__title
span
{
/
deep
/
.el-submenu__title
span
{
font-size
:
14px
;
}
}
.sidebarLeft
{
.sidebarLeft
{
position
:
relative
;
top
:
13px
;
width
:
30%
;
}
}
/
deep
/
.el-menu
{
/
deep
/
.el-menu
{
display
:
flex
;
justify-content
:
space-between
;
}
width
:
100%
;
}
/
deep
/
.el-menu-item
{
/
deep
/
.el-menu-item
{
flex
:
1
;
width
:
100%
;
}
}
.sidebarRight
{
.sidebarRight
{
position
:
relative
;
top
:
13px
;
width
:
30%
;
padding-left
:
20px
;
}
}
//
导航选中背景色
.xuanzhong
{
//
导航选中背景色
.xuanzhong
{
background
:
url("~@/image/selNavbar.png")
no-repeat
;
background-size
:
100%
100%
;
color
:
#ffffff
!important
;
font-weight
:
700
;
}
}
/
deep
/
.el-menu-item
:hover
{
/
deep
/
.el-menu-item
:hover
{
@extend
.xuanzhong;
}
}
/
deep
/
.el-submenu__title
:hover
{
/
deep
/
.el-submenu__title
:hover
{
@extend
.xuanzhong;
}
}
/
deep
/
.el-menu--horizontal
.el-menu-item
:not
(
.is-disabled
)
:focus
{
/
deep
/
.el-menu--horizontal
.el-menu-item
:not
(
.is-disabled
)
:focus
{
@extend
.xuanzhong;
}
}
/
deep
/
.el-menu-item.is-active
{
/
deep
/
.el-menu-item.is-active
{
@extend
.xuanzhong;
}
.navbar
{
}
.navbar
{
height
:
$
headerHeight
;
overflow
:
hidden
;
position
:
relative
;
...
...
@@ -258,5 +258,5 @@
}
}
}
}
}
</
style
>
...
...
Please
register
or
sign in
to post a comment