Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
a74568a4
authored
2023-04-27 15:28:01 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:头部样式的修改
1 parent
c94a2161
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
26 deletions
.gitignore
src/layout/components/Navbar.vue
.gitignore
View file @
a74568a
...
...
@@ -23,3 +23,5 @@ yarn-error.log*
*.sw?
package-lock.json
public/config.json
...
...
src/layout/components/Navbar.vue
View file @
a74568a
...
...
@@ -9,17 +9,16 @@
</div>
<div
class=
"right-menu"
>
<svg-icon
class=
"function"
icon-class=
'function'
/>
<el-dropdown
class=
"avatar-container right-menu-item hover-effect"
trigger=
"hover"
@
command=
"handleCommand"
>
<!--
<el-dropdown
class=
"avatar-container right-menu-item hover-effect"
trigger=
"hover"
@
command=
"handleCommand"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"a"
>
个人中心
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
-->
<div
class=
"avatar-wrapper"
>
<span
style=
"padding-right:10px"
>
{{
name
}}
</span>
<img
:src=
"avatar + '?imageView2/1/w/80/h/80'"
class=
"user-avatar"
/>
<!--
<i
class=
"el-icon-caret-bottom"
/>
-->
</div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"a"
>
个人中心
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<svg-icon
class=
"shutdown"
@
click
.
native=
"logout"
icon-class=
'shutdown'
/>
</div>
...
...
@@ -28,12 +27,12 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
NoticeBar
from
'@/components/NoticeBar/index'
import
{
import
{
mapGetters
}
from
'vuex'
import
NoticeBar
from
'@/components/NoticeBar/index'
import
{
getHomeNoticeList
}
from
"@/api/user"
export
default
{
}
from
"@/api/user"
export
default
{
components
:
{
NoticeBar
},
...
...
@@ -91,21 +90,21 @@ export default {
}
}
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.navbar-con
{
.navbar-con
{
position
:
relative
;
}
}
.NoticeBar
{
.NoticeBar
{
position
:
absolute
;
bottom
:
0
;
}
}
.el-dropdown-menu
{
.el-dropdown-menu
{
padding
:
0
!important
;
border
:
1px
solid
#EBEEF
5
;
border
:
1px
solid
#ebeef
5
;
box-shadow
:
0
2px
10px
0
rgba
(
0
,
0
,
0
,
0.12
);
border-radius
:
4px
0
0
4px
4px
;
...
...
@@ -115,14 +114,14 @@ export default {
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#4A4A4A
;
color
:
#4a4a4a
;
width
:
140px
;
height
:
36px
;
line-height
:
36px
;
}
.el-dropdown-menu__item
:nth-child
(
6
)
{
border-top
:
1px
solid
#EBEEF
5
;
border-top
:
1px
solid
#ebeef
5
;
}
.popper__arrow
{
...
...
@@ -133,12 +132,12 @@ export default {
.el-dropdown-menu__item
:not
(
.is-disabled
)
:hover
,
.el-dropdown-menu__item
:focus
{
background
:
#F6F7F9
;
color
:
#4A4A4A
;
background
:
#f6f7f9
;
color
:
#4a4a4a
;
}
}
}
.navbar
{
.navbar
{
height
:
$
headerHeight
;
overflow
:
hidden
;
position
:
relative
;
...
...
@@ -157,7 +156,7 @@ export default {
.backdrop
{
flex
:
1
;
width
:
60%
;
background
:
url('../../image/backdrop.png'
)
;
background
:
url("../../image/backdrop.png"
)
;
background-size
:
100%
100%
;
height
:
$
headerHeight
;
}
...
...
@@ -248,6 +247,7 @@ export default {
display
:
flex
;
height
:
40px
;
align-items
:
center
;
color
:
#ffffff
;
.user-avatar
{
cursor
:
pointer
;
...
...
@@ -265,5 +265,5 @@ export default {
}
}
}
}
}
</
style
>
...
...
Please
register
or
sign in
to post a comment