Commit 4a38f66d authored by 王晓倩's avatar 王晓倩

视频监控图标

parent 290dbc7a
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
:filter-node-method="filterNode" :filter-node-method="filterNode"
ref="tree" ref="tree"
default-expand-all default-expand-all
prefix="el-icon-video-play"
@node-click="nodeClick" @node-click="nodeClick"
style="background-color: white; color: #606266" style="background-color: white; color: #606266"
> >
...@@ -97,11 +96,17 @@ ...@@ -97,11 +96,17 @@
line-height: calc((100vh - 130px)/2); line-height: calc((100vh - 130px)/2);
color: white; color: white;
} }
.nodeImg1{ .el-icon-video-camera{
background: url("../../../assets/images/video1.png") no-repeat center; background-repeat: no-repeat;
background-position: center;
background-image: url("../../../assets/images/video1.png");
background-size: 20px;
} }
.nodeImg2{ .el-icon-video-play{
background: url("../../../assets/images/video2.png") no-repeat center; background-repeat: no-repeat;
background-position: center;
background-image: url("../../../assets/images/video2.png");
background-size: 20px;
} }
</style> </style>
...@@ -120,7 +125,7 @@ ...@@ -120,7 +125,7 @@
{ {
name: "企业视频监控", name: "企业视频监控",
level: 0, level: 0,
icon: "nodeImg1", icon: "el-icon-video-camera",
childList: [] childList: []
} }
], ],
...@@ -145,19 +150,19 @@ ...@@ -145,19 +150,19 @@
that.treeData[0].childList = [ that.treeData[0].childList = [
{ {
name: "视频监控1", name: "视频监控1",
icon: "nodeImg2", icon: "el-icon-video-play",
deviceCode: "34020000001110000003_0200000004", deviceCode: "34020000001110000003_0200000004",
},{ },{
name: "视频监控2", name: "视频监控2",
icon: "nodeImg2", icon: "el-icon-video-play",
deviceCode: "34020000001110000003_0200000005", deviceCode: "34020000001110000003_0200000005",
},{ },{
name: "视频监控3", name: "视频监控3",
icon: "nodeImg2", icon: "el-icon-video-play",
deviceCode: "stream_36_0", deviceCode: "stream_36_0",
},{ },{
name: "视频监控4", name: "视频监控4",
icon: "nodeImg2", icon: "el-icon-video-play",
deviceCode: "stream_37_0", deviceCode: "stream_37_0",
} }
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment