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; } #main-box { width: 100%; height: calc(100% - 110px); padding: 20px 10px 0 10px; box-sizing: border-box; } .btn-box { width: 100%; height: 80px; box-sizing: border-box; display: flex; justify-content: center; align-items: center; } .td-div { width: 100%; height: 90%; padding: 5% 0; } .td-div2 select { width: 300px; height: 36px; } option{ color: #262626; } /*input框,select样式*/ .layui-input, .layui-select, .layui-textarea { color: #262626; border: 1px solid #676363 !important; height: 36px; font-size: 16px; background-color: transparent; padding: 3px 6px; margin: 5px 10px 5px 10px; width: 150px; font-weight: normal; } .layui-input:hover, .layui-select:hover, .layui-textarea:hover { border: 1px solid #262626 !important; } .layui-input:focus, .layui-select:focus, .layui-textarea:focus { border: 1px solid #262626 !important; } .layui-form-select .layui-edge { right: 23px; } /*表格样式*/ .classTable { width: 100%; table-layout: fixed; text-align: center; border-collapse: collapse; border-spacing: 0; box-sizing: border-box; margin-bottom: 10px; } .classTable tr td { font-size: 16px; border-bottom: 1px solid #262626; height: 90px; font-weight: bold; } .classTable tbody tr:nth-of-type(1) td, .classTable tbody tr:nth-of-type(2) td, .classTable tbody tr:nth-of-type(3) td, .classTable tbody tr:nth-of-type(4) td { height: 60px !important; } .classTable thead tr:nth-of-type(1) { height: 60px; font-size: 14px; color: #262626 !important; } .classTable thead tr td { border-right: 1px solid #262626; border-top: 1px solid #262626; } .classTable tr td:nth-of-type(1) { border-left: 1px solid #262626; } .classTable tbody tr td { border-right: 1px solid #262626; } .classTable tbody tr td { border-right: 1px solid #262626; } .classTable tbody { display: block; height: 480px; overflow-y: auto; } .classTable thead, .classTable tbody tr { display: table; width: 100%; table-layout: fixed; } .classTable thead { width: calc(100% - 10px); } .classTable tbody tr { width: calc(100% - 5px); cursor: pointer; } /*滚动条样式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*/ input::-webkit-input-placeholder { color: rgb(217, 214, 214) !important; font-size: 16px; } input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: rgb(191,191,191)!important; font-size: 16px; } input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: rgb(191,191,191)!important; font-size: 16px; } input:-ms-input-placeholder { /* Internet Explorer 10-11 */ color: rgb(191,191,191)!important; font-size: 16px; }