html, body { width: 100%; height: 100%; margin: 0; padding: 0; color: #fff; font-family: 'Alibaba PuHuiTi R'; letter-spacing: 1px; font-size: 16px; } .layout { display: flex; align-items: center; justify-content: center; position: relative; } .layout::before { /* content: "大大的水印"; */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999999999999999; color: rgba(0, 0, 0, 0.1); font-size: 3rem; text-align: center; line-height: 100vh; transform: rotate(-30deg); filter:brightness(0.1); } #main-box { width: 100%; height: 100%; justify-content: space-evenly; } /* 左侧样式 start */ #left-box, #right-box { width: 21.3%; height: 100%; box-sizing: border-box; flex-direction: column; justify-content: space-between; padding-top: 0.85%; } #left-top { width: 100%; height: 39%; background: url("../../img/video/ytkz.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; flex-direction: column; justify-content: space-evenly; } #left-top p { font-size: 14px; margin-top: 5px; } #left-top-one { width: 100%; height: 70%; justify-content: space-evenly; } #one-child, #three-child { width: 20%; height: 100%; } #two-child { width: 52%; height: 100%; padding-top: 10%; box-sizing: border-box; } #yclx, #bdlx, #yczp, #bdzp { width: 100%; height: 50%; flex-direction: column; padding-top: 50%; box-sizing: border-box; } /* 远程录像 */ #yclx button { width: 48px; height: 48px; background: url("../../img/video/ptz_nocheck/yclx_nocheck.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; border: none; cursor: pointer; } /* 本地录像 */ #bdlx button { width: 48px; height: 48px; background: url("../../img/video/ptz_nocheck/bdlx_nocheck.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; border: none; cursor: pointer; } /* 远程抓拍 */ #yczp button { width: 48px; height: 48px; background: url("../../img/video/ptz_nocheck/bdzp_nocheck.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; border: none; cursor: pointer; } /* 本地抓拍 */ #bdzp button { width: 48px; height: 48px; background: url("../../img/video/ptz_nocheck/bdzp_nocheck.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; border: none; cursor: pointer; } #yt { width: 204px; height: 204px; background: url("../../img/video/ptz_nocheck/yt_nocheck.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; border: none; } #yt-left, #yt-center, #yt-right { width: 30%; height: 100%; } #yt-center { flex-direction: column; justify-content: space-around; } #yt button, #left-top-two button { width: 48px; height: 48px; background-color: transparent; cursor: pointer; border: none; } #yt-center button:nth-child(1) { margin-top: -31%; } #yt-center button:nth-child(2) { margin-bottom: -31%; } #left-top-two { width: 92%; height: 26%; justify-content: space-between; } #jj-box, #sf-box, #gq-box { width: 30%; height: 100%; flex-direction: column; } #jj { width: 98px; height: 48px; background: url("../../img/video/ptz_nocheck/jj_nocheck.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; } #sf { width: 98px; height: 48px; background: url("../../img/video/ptz_nocheck/sf_nocheck.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; } #gq { width: 98px; height: 48px; background: url("../../img/video/ptz_nocheck/gq_nocheck.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; } #left-bottom { width: 100%; height: 57.8%; background: url("../../img/video/ball_list.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; } #search-box { width: 100%; height: 50px; margin-top: 12%; } .layui-form .layui-input { width: 80%; margin: 0 10% 0 10%; } #search-img { position: relative; left: -17%; cursor: pointer; } #device-online-box { width: 100%; height: 32px; justify-content: space-evenly; } #device-online-box .device-status { width: 25%; height: 100%; font-weight: 500; font-size: 16px; line-height: 19px; text-align: center; font-style: normal; text-transform: none; } #device-online-box .device-status:nth-child(1) { background: rgba(217, 217, 217, 0.01); box-shadow: inset 2px 2px 4px 0px rgba(121, 255, 255, 0.5); border-radius: 2px 2px 2px 2px; border: 1px solid #79FFFF; color: #79FFFF; } #device-online-box .device-status:nth-child(2) { background: rgba(217, 217, 217, 0.01); box-shadow: inset 2px 2px 4px 0px rgba(121, 255, 255, 0.5); border-radius: 2px 2px 2px 2px; border: 1px solid #79FFFF; color: #79FFFF; opacity: 0.6; } #device-online-box .device-status:nth-child(3) { background: rgba(217, 217, 217, 0.01); box-shadow: inset 2px 2px 4px 0px rgba(255, 84, 61, 0.5); border-radius: 2px 2px 2px 2px; border: 1px solid #FF543D; opacity: 0.6; color: #FF543DFF; } #device-tree { width: 100%; height: calc(88% - 82px); } /* 左侧样式 end */ /* 中侧样式 start */ #center-box { /*width: (54 +21.3)%;*/ width: 75.3%; height: 100%; box-sizing: border-box; padding-top: 0.85%; } #video-box { width: 100%; height: 100%; background: url("../../img/video/spjk.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; } /* 中侧样式 start */ #balla { /* width: 98.5%; height: 98.5%; margin-left: 0.5%; margin-top: 0.5%; float: left; */ width: 100%; height: 100%; padding: 2% 0.1% 0% 0.1%; box-sizing: border-box; float: left; } /*球机视频框*/ .ballsplit { width: 96.9%; height: 99%; /* margin-left: 5%; */ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; overflow-y: hidden; overflow-x: hidden; /* margin: 0.3%; */ } /*视频框样式*/ .ball-content { width: 98%; height: 98%; margin: 1% 1% 0 1%; pointer-events: none; background-color: #000; object-fit: fill; } /* 右侧样式 start */ #voi-photo-box { width: 100%; height: 100%; background: url("../../img/video/wzzp.png") no-repeat 0 0 / 100% 100%; } #voi-null { width: 100%; height: 5%; } #voi-photo { width: 100%; height: 95%; box-sizing: border-box; overflow-y: auto; } .voi-item { width: 100%; height: 250px; margin-bottom: 10px; box-sizing: border-box; padding: 3%; font-size: 15px; } .voi-item>img { object-fit: cover; width: 100%; height: 80%; } .voi-item .voi-info { width: 100%; height: 20%; } .voi-time, .voi-content { width: 50%; height: 100%; justify-content: space-between; } .voi-content { justify-content: end; } /* 右侧样式 start */ /* dtree 样式 start */ .dtree-nav-item { background: linear-gradient(90deg, rgba(153, 255, 255, 0) 0%, rgba(35, 161, 161, 0.5) 49%, rgba(153, 255, 255, 0) 100%); border-radius: 0px 0px 0px 0px; margin: 10px 0 10px 0; } .dtree-laySimple-item:hover { background: linear-gradient(90deg, rgba(153, 255, 255, 0) 0%, rgba(50, 251, 251, 0.6) 49%, rgba(153, 255, 255, 0) 100%) !important; border-radius: 0px 0px 0px 0px; } .dtree-laySimple-item-this { background: linear-gradient(90deg, rgba(153, 255, 255, 0) 0%, rgba(50, 251, 251, 0.6) 49%, rgba(153, 255, 255, 0) 100%) !important; border-radius: 0px 0px 0px 0px; color: rgba(50, 251, 251, 0.6) !important; } .dtree-laySimple-item cite { font-size: 16px !important; } .dtree-laySimple-item:hover cite { color: rgba(50, 251, 251, 0.6) !important; } .dtree-laySimple-ficon { font-size: 14px !important; color: #fff !important; } /* dtree 样式 start */ .nocheckBtn { background-color: #d2d2d2; border: 1px solid #d2d2d2; } .checkBtn { border: 1px solid #2eccbd; background-color: #2eccbd !important; } .toggle-btn button { width: 40px; height: 30px; cursor: pointer; color: #000; font-size: 15px; margin: 0 10px; } #videoBox { width: 100%; height: 92%; flex-wrap: wrap; } .layui-layer-dialog .layui-layer-padding { color: #000 !important; }