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
c3cc67e4
authored
2022-12-08 10:13:40 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:大屏展示
1 parent
3a4ab14d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
src/layout/components/Navbar.vue
src/layout/components/Navbar.vue
View file @
c3cc67e
...
...
@@ -8,6 +8,7 @@
<theme
style=
"float: right;height: 26px;width: 26px;margin-top: 26px;"
@
change=
"themeChange"
/>
</div>
<div
class=
"right-menu"
>
<div
class=
"dataView pointer"
@
click=
"handleDataView"
>
大屏展示
</div>
<svg-icon
class=
"function"
icon-class=
'function'
/>
<el-dropdown
class=
"avatar-container right-menu-item hover-effect"
trigger=
"hover"
@
command=
"handleCommand"
>
<div
class=
"avatar-wrapper"
>
...
...
@@ -36,6 +37,10 @@ export default {
}
},
methods
:
{
handleDataView
()
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/dataView'
);
window
.
open
(
href
,
'_blank'
);
},
themeChange
(
val
)
{
this
.
$store
.
dispatch
(
'app/updateTheme'
,
val
)
},
...
...
@@ -62,6 +67,10 @@ export default {
}
}
.dataView
{
color
:
#fff
;
}
.NoticeBar
{
position
:
absolute
;
bottom
:
0
;
...
...
Please
register
or
sign in
to post a comment