| | |
| | | // import fTemplate from "@/components/common/fTemplate"; |
| | | // import localSeparate from "@/components/camera/localSeparate"; |
| | | |
| | | //import bus from "@/main"; |
| | | import bus from "@/plugin/bus"; |
| | | //import TreeDataPool from "@/Pool/TreeData"; |
| | | |
| | | export default { |
| | |
| | | }, |
| | | mounted() { |
| | | this.$nextTick(() => { |
| | | // bus.$on("addCameraOnTree", node => { |
| | | // this.handAddDevice(node); |
| | | // }); |
| | | // bus.$on("addDirOnTree", node => { |
| | | // this.handAddDIr(node); |
| | | // }); |
| | | // this.TreeDataPool.clean(); |
| | | bus.$on("addCameraOnTree", node => { |
| | | this.handAddDevice(node); |
| | | }); |
| | | bus.$on("addDirOnTree", node => { |
| | | this.handAddDIr(node); |
| | | }); |
| | | this.TreeDataPool.clean(); |
| | | }); |
| | | |
| | | let _this = this |
| | |
| | | .el-tabs--border-card { |
| | | height: 100%; |
| | | width: 100%; |
| | | &.video-tab{ |
| | | &>.el-tabs__header{ |
| | | &.video-tab { |
| | | & > .el-tabs__header { |
| | | position: fixed; |
| | | top:0; |
| | | |
| | | width:100%; |
| | | z-index:999; |
| | | top: 0; |
| | | |
| | | width: 100%; |
| | | z-index: 999; |
| | | height: 54px; |
| | | overflow-y: hidden; |
| | | } |
| | | } |
| | | .el-tabs__header { |
| | | |
| | | .is-active { |
| | | color: #3d68e1 !important; |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | .video-tab>.el-tabs__content { |
| | | .video-tab > .el-tabs__content { |
| | | width: 100%; |
| | | margin-top: 52px; |
| | | //height: calc(100% - 52px); |