html, body, #map{ margin: 0; padding: 0; list-style: none; text-transform: none; font-family: "微软雅黑"; width: 100%; height: 100%; min-height: 900px; position: relative; overflow: hidden; } #carListDiv, #carTraListDiv{ position: fixed; top: 5%; left: 1%; background-color: #fff; width: 28%; height: 60%; box-shadow: darkgrey 0px 0px 5px 2px; padding: 1%; } #alarmList{ position: fixed; top: 5%; right: 1%; background-color: #fff; width: 23%; height: 60%; box-shadow: darkgrey 0px 0px 5px 2px; padding: 0.5%; } .alarmListTop{ margin-top: 10px; margin-bottom: 50px; } .alarmListTop img{ width:22px; height:24px; cursor:pointer; float: left; } .alarmListTop span{ color: #3079EA; font-size: 16px; font-weight: bold; margin-left: 10px; line-height: 25px; display: flex; float: left; } #alarmTable tbody { display: block; height: calc( 1080px - 615px ); overflow-y: scroll; } #alarmTable thead, #alarmTable tbody tr { display: table; width: 100%; table-layout: fixed; } #alarmTable tr th:first-child, #alarmTable tr td:first-child { width: 34%; text-align:center; vertical-align:middle; } #alarmTable tr th:first-child+th, #alarmTable tr td:first-child+td { width: 46%; text-align:center; vertical-align:middle; } #alarmTable tr th:first-child+th+th, #alarmTable tr td:first-child+td+td { width: 20%; text-align:center; vertical-align:middle; } #carTraList tbody { display: block; height: calc( 1080px - 675px ); overflow-y: scroll; } #carTraList thead, #carTraList tbody tr { display: table; width: 100%; table-layout: fixed; } #carTraList tr th:first-child, #carTraList tr td:first-child { width: 30%; text-align:center; vertical-align:middle; } #carTraList tr th:first-child+th, #carTraList tr td:first-child+td { width: 30%; text-align:center; vertical-align:middle; } #carTraList tr th:first-child+th+th, #carTraList tr td:first-child+td+td { width: 20%; text-align:center; vertical-align:middle; } #carTraList tr th:first-child+th+th+th, #carTraList tr td:first-child+td+td+td { width: 20%; text-align:center; vertical-align:middle; } #cartratoolList{ position: fixed; top: 5%; right: 1%; background-color: #fff; width: 16%; height: 4%; box-shadow: darkgrey 0px 0px 5px 2px; padding: 0.5%; } #amapSearchDiv{ position: fixed; top: 5%; right: 1%; background-color: #fff; width: 20%; height: 80%; box-shadow: darkgrey 0px 0px 5px 2px; padding: 0.5%; } #amapSearchFrame{ width: 100%; height: 7%; } #amapSearchContent{ width: 100%; height: 90%; overflow-y: auto; } #toolList{ position: fixed; background-color: #fff; left: 0.5%; bottom: 1%; height: 40px; box-shadow: darkgrey 0px 0px 5px 1.5px; } .toolModule{ border-top: 0.5px solid rgba(202, 201, 201, 0.73); border-left: 0.5px solid rgba(202, 201, 201, 0.73); border-bottom: 0.5px solid rgba(202, 201, 201, 0.73); padding: 10px; float: left; } .toolModule img{ width: 20px; height: 20px; cursor:pointer; } .minimize{ float: right; cursor: pointer; position: absolute; top: 15px; right: 15px; } .maximize{ display: none; float: right; cursor: pointer; position: absolute; } .tdcolorA{ width: 25%; } .tdcolor{ width: 75%; color: #0096ff; } /*搜索框样式*/ .search { padding: 10px 0; } .searchVal,.searchBtn { border: none; outline: none; } .searchVal { width: 100%; height: 42px; padding-left: 13px; } .searchBtn { height: 42px; width: 42px; cursor: pointer; position: absolute; } .bar input { border: 0.5px solid rgba(202, 201, 201, 0.73); padding-left: 15px; border-radius: 5px; background: transparent; top: 0; right: 0; } .bar button { background: #3079EA; border-radius: 0 5px 5px 0; width: 90px; top: 0; right: -15px; font-size: 14px; color: #F9F0DA; } /*复写Layui样式*/ .layui-table-page .layui-laypage { margin: 0 !important; width: 100%; } .layui-elem-quote{ background-color: #fff; } .layui-table-body{ overflow-x: hidden; } .layui-table-view .layui-table[lay-skin=line]{ width: 100%; } .layui-table-body:hover{ overflow-x:auto; } .layui-form-select { width: 150px; } /*复写高德地图样式*/ .amap_lib_placeSearch{ border: 0px !important; } /*去掉高德地图logo,去掉高德的版本号*/ .amap-logo{ display: none !important; } .amap-copyright { display: none !important; } /*蓝色滚动条样式*/ ::-webkit-scrollbar { width: 7px; /*滚动条宽度*/ height: 7px; /*滚动条高度*/ background-color: white; } ::-webkit-scrollbar-thumb { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background-color: rgba(234, 233, 239, 0.55); /*滚动条的背景颜色*/ } @media (max-width:1620px) and (max-height:1050px){ /*#carListDiv { width: 29.8%;}*/ #alarmTable tbody {height: calc( 1080px - 660px );} } @media (max-width:1600px) and (max-height:900px){ /*#carListDiv { width: 29.8%;}*/ #alarmTable tbody {height: calc( 1080px - 660px );} } @media (max-width:1366px) and (max-height:768px){ /*#carListDiv { width: 29.8%;}*/ #alarmTable tbody {height: calc( 1080px - 660px );} } @media (max-width:1280px) and (max-height:1024px){ /*#carListDiv { width: 29.8%;}*/ #alarmTable tbody {height: calc( 1080px - 660px );} } @media (max-width:1280px) and (max-height:800px){ /*#carListDiv { width: 29.8%;}*/ #alarmTable tbody {height: calc( 1080px - 660px );} } /*@media (max-width:1600px) and (max-height:850px) { }*/