html, body { width: 100%; height: 100%; margin: 0; padding: 0; font-family: 'Microsoft YaHei'; letter-spacing: 1px; } .layout { display: flex; align-items: center; justify-content: start; box-sizing: border-box; } #content { width: 100%; height: 100%; background-color: #fff; justify-content: space-around; } #left-box, #center-box, #right-box { width: 31%; height: 99%; box-sizing: border-box; } #left-box { flex-direction: column; width: 35%; } #workPermit, #riskConsumption { width: 100%; height: 49%; box-sizing: border-box; } .xkNum { display: flex; margin-left: 60px; } .xkNum p { padding: 0 15px 0 0; font-size: 15px; } .content-title { width: 100%; height: 36px; } .content-title p { font-size: 20px; font-weight: bold; font-family: 'Alibaba PuHuiTi R'; } .search-box { width: 100%; height: 50px; } .table-box { width: 100%; height: calc(100% - 86px); } .classTable { width: 100%; table-layout: fixed; text-align: center; border-collapse: collapse; border-spacing: 0; box-sizing: border-box; height: 100%; } .classTable tr td { font-size: 15px; border-bottom: 1px solid #7c7878; height: 40px; color: #262626; } .classTable thead tr:nth-of-type(1) { background-color: #f0f0f0; height: 40px; } .classTable thead tr:nth-of-type(1) td { font-size: 15px; } .classTable tbody { display: block; /* height: 260px; */ height: 32vh; overflow-y: auto; } .classTable thead, .classTable tbody tr { display: table; width: 100%; table-layout: fixed; } .classTable thead { width: calc(100% - 5px); } .classTable tbody tr { width: 100%; cursor: pointer; } #permitTable tr td:nth-child(1) { width: 10%; } #permitTable tr td:nth-child(2) { width: 20%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; } #permitTable tr td:nth-child(3) { width: 25%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; } #permitTable tr td:nth-child(4), #permitTable tr td:nth-child(5), #permitTable tr td:nth-child(6) { width: 15%; } #riskConsumptionTable tr td:nth-child(1) { width: 10%; } #riskConsumptionTable tr td:nth-child(2) { width: 20%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; } #riskConsumptionTable tr td:nth-child(3){ width: 20%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; } #riskConsumptionTable tr td:nth-child(4), #riskConsumptionTable tr td:nth-child(5), #riskConsumptionTable tr td:nth-child(6), #riskConsumptionTable tr td:nth-child(7){ width: 15%; } #btn-box { width: 100%; height: 40px; justify-content: right; } #essCondition-box { width: 100%; height: calc(100% - 80px); overflow-y: auto; } .essCondition-table { width: 100%; table-layout: fixed; text-align: center; border-collapse: collapse; border-spacing: 0; box-sizing: border-box; min-height: 60px; margin-top: 5px; } .essCondition-table tr td { font-size: 15px; border: 1px solid #7c7878; height: 40px; color: #262626; } .essCondition-table tr:nth-child(1) { height: 60px; background-color: #f0f0f0; } .essCondition-table tr:nth-child(1) td:nth-child(1) { text-align: left; } .td-info { width: 100%; height: 100%; align-items: center; } .td-info img { cursor: pointer; display: none; } .radio-box { width: 100%; height: 100%; align-items: center; justify-content: center; } .radio-box-child { width: 30%; height: 100%; align-items: center; justify-content: space-evenly; } .access, .access-td { color: #0fbe0f !important; } .noAccess, .no-access-td { color: red !important; } .permit-info { width: 100%; flex-direction: column; align-items: self-start; } .permit-info button { width: 80px; height: 36px; border-radius: 2px; color: #fff; border: none; margin-right: 20px; cursor: pointer; } #no-ticket-file { width: 100%; height: 100%; justify-content: center; } #no-ticket-file p { font-size: 28px; } hr { border-bottom: 1px solid #7f838a !important; width: 100%; } /* layui 样式设置 start */ .layui-form-label { font-size: 15px; width: 86px; color: #595959; padding: 9px 6px; display: flex; align-items: center; justify-content: center; } .layui-form-item .layui-inline { margin: 0; } .layui-table-body { margin-right: 0px; } .layui-input, .layui-select, .layui-textarea { color: #595959 !important; border: 1px solid #d9d9d9 !important; height: 36px; font-size: 15px; background-color: transparent; padding: 3px 6px; } .layui-form-select dl dd, .layui-form-select dl dt { padding: 0 10px; line-height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #595959; } .layui-input:hover, .layui-select:hover, .layui-textarea:hover { border: 1px solid #595959 !important; } .layui-input:focus, .layui-select:focus, .layui-textarea:focus { border: 1px solid #595959 !important; } .layui-form-item .layui-inline .layui-input-inline { width: 200px } .layui-form-item { margin-bottom: 0; } .layui-form-select .layui-edge { border-top-color: #595959; } .layui-input::-webkit-input-placeholder, .layui-textarea::-webkit-input-placeholder { color: #fff; } .layui-input::-moz-placeholder, .layui-textarea::-webkit-input-placeholder { color: #fff; } .layui-input::-ms-input-placeholder, .layui-textarea::-webkit-input-placeholder { color: #fff; } .layui-inline button { width: 72px; height: 36px; font-size: 15px; } .option-form .layui-input-inline { width: 105px; } /* layui 样式设置 end */ /*滚动条样式start*/ ::-webkit-scrollbar { width: 5px; height: 10px; } ::-webkit-scrollbar-track { background: #e7e7f1 !important; border-radius: 0px; } ::-webkit-scrollbar-thumb { background: rgba(94, 96, 97, 0.43) !important; border-radius: 0px; } ::-webkit-scrollbar-thumb:hover { background: rgba(94, 96, 97, 0.43) !important; border-radius: 0px; } ::-webkit-scrollbar-thumb:active { background: rgba(94, 96, 97, 0.43) !important; border-radius: 0px; } /*滚动条样式end*/