diff --git a/src/views/sevenLargeScreen/videoManagement/index.vue b/src/views/sevenLargeScreen/videoManagement/index.vue index c5b3351..5f10891 100644 --- a/src/views/sevenLargeScreen/videoManagement/index.vue +++ b/src/views/sevenLargeScreen/videoManagement/index.vue @@ -4,7 +4,9 @@
-
+ + +
@@ -61,11 +63,16 @@ import { ref, onMounted, onBeforeUnmount, getCurrentInstance, nextTick, Ref } fr import { ElMessage } from "element-plus"; import { GlobalStore } from "@/stores"; import { selectProjectVideoListApi, getSafeHatSessionApi, getVideoItemInfoApi } from "@/api/modules/video"; +const store = GlobalStore(); +const defaultProps = { + children: "list", + label: (data: any, node: any) => node.data.name +}; + let videoType = ref("") as any; let ysyParams = ref({} as any); let shipinList = ref([] as any); -const store = GlobalStore(); const playWndBox = ref(null); let playWndHeight = ref(""); let playWndWidth = ref(""); @@ -125,7 +132,7 @@ const checkVideo = async (item: any) => { const getVideoList = async () => { let res: any = await selectProjectVideoListApi({ projectSn: store.sn, - all: 1 + // all: 1 // all=1查全部 }); shipinList.value = res.result.videoList; @@ -475,4 +482,49 @@ const previewVideo = (data: string | null) => { background-size: 100% 100%; } } +// element-plus组件样式 +:deep() { + .el-tree { + background-color: transparent; + } + .el-tree>.el-tree-node:focus > .el-tree-node__content { + // background-color: #141E2B; + background: url("@/assets/images/dustNoise/listImg.png") no-repeat; + background-size: 100% 100%; + } + .el-tree>.el-tree-node>.el-tree-node__content { + // background-color: #141E2B; + background: url("@/assets/images/dustNoise/listImg.png") no-repeat; + background-size: 100% 100%; + position: relative; + z-index: 10; + } + .el-tree-node__children .el-tree-node__content { + background-color: transparent; + } + .el-tree-node__children .el-tree-node { + margin-top: 3%; + } + .el-tree>.el-tree-node>.el-tree-node__content:hover { + // background-color: #141E2B; + background: url("@/assets/images/dustNoise/listImg.png") no-repeat; + background-size: 100% 100%; + } + .el-tree-node__label{ + color: white; + font-size: 16px; + margin-bottom: 1px; + } + .el-tree>.el-tree-node>.el-tree-node__content>.el-tree-node__label { + margin-left: 8%; + } + .el-tree>.el-tree-node>.el-tree-node__content>.el-tree-node__expand-icon { + color: white; + font-size: 16px; + position: absolute; + right: 0; + top: 0; + } +} +