Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IT-monitor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
IT-monitor
Commits
cc459800
Commit
cc459800
authored
May 25, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
机房可视化
parent
77666217
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
index.vue
src/layout/components/Sidebar/index.vue
+41
-0
No files found.
src/layout/components/Sidebar/index.vue
View file @
cc459800
...
...
@@ -14,6 +14,10 @@
>
<sidebar-item
v-for=
"route in permission_routes"
:key=
"route.path"
:item=
"route"
:base-path=
"route.path"
/>
</el-menu>
<div
onclick=
"handleWindowOpen()"
class=
"menuLinkDiv"
>
<i
class=
"el-icon-view"
/>
<span
class=
"menuLink"
>
机房可视化
</span>
</div>
</el-scrollbar>
</div>
</
template
>
...
...
@@ -49,8 +53,45 @@ export default {
isCollapse
()
{
return
!
this
.
sidebar
.
opened
}
},
mounted
()
{
window
.
handleWindowOpen
=
this
.
handleWindowOpen
},
methods
:
{
handleWindowOpen
()
{
window
.
open
(
'http://47.110.242.76:8088/'
)
}
}
}
</
script
>
<
style
lang=
"scss"
>
.sidebar-menu
{
.menuLinkDiv
{
height
:
56px
;
line-height
:
56px
;
font-size
:
14px
;
//padding: 0 20px;
list-style
:
none
;
box-sizing
:
border-box
;
white-space
:
nowrap
;
cursor
:
pointer
;
position
:
relative
;
.el-icon-view
{
position
:
relative
;
top
:
3px
;
margin-left
:
17px
;
margin-right
:
15px
;
font-size
:
20px
;
color
:
rgb
(
255
,
255
,
255
);
}
.menuLink
{
line-height
:
56px
;
font-size
:
14px
;
color
:
rgb
(
255
,
255
,
255
);
}
&
:hover
{
background
:
#1A2137
;
}
}
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment