771 lines
12 KiB
CSS
771 lines
12 KiB
CSS
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: 98%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#right-box {
|
|
width: 28%;
|
|
}
|
|
|
|
#left-box {
|
|
flex-direction: column;
|
|
width: 35%;
|
|
}
|
|
|
|
#center-box {
|
|
width: 36%;
|
|
}
|
|
|
|
#workPermit,
|
|
#riskConsumption {
|
|
width: 100%;
|
|
height: 49%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.xkNum {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.xkNum p {
|
|
/* padding: 0 15px 0 0; */
|
|
font-size: 14px;
|
|
}
|
|
|
|
.content-title {
|
|
width: 100%;
|
|
height: 26px;
|
|
}
|
|
|
|
.content-title p {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
font-family: 'Alibaba PuHuiTi R';
|
|
}
|
|
|
|
.search-box {
|
|
width: 100%;
|
|
height: 80px;
|
|
}
|
|
|
|
.table-box2 {
|
|
width: 100%;
|
|
height: calc(100% - 115px);
|
|
}
|
|
|
|
.table-box {
|
|
height: calc(100% - 45px);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.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: 150px;
|
|
}
|
|
|
|
.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: 50px;
|
|
height: 36px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.option-form .layui-input-inline {
|
|
width: 105px;
|
|
}
|
|
|
|
.xm-select-parent dd>.xm-cz-group .xm-cz {
|
|
margin-right: 15px !important;
|
|
}
|
|
|
|
.xm-select-parent .xm-select:hover {
|
|
border-color: #595959 !important;
|
|
}
|
|
|
|
.xm-select-parent .xm-select {
|
|
min-height: 40px;
|
|
height: auto;
|
|
padding: 3px 6px;
|
|
}
|
|
|
|
.xm-select-parent .xm-input {
|
|
min-height: 36px;
|
|
height: auto;
|
|
}
|
|
|
|
.xm-select-parent .xm-select-title div.xm-select-label>span {
|
|
position: relative;
|
|
padding: 2px 5px;
|
|
background-color: #009688;
|
|
border-radius: 2px;
|
|
color: #FFF;
|
|
display: inline-block;
|
|
line-height: 18px;
|
|
height: 18px;
|
|
margin: 4px 5px 2px 0;
|
|
cursor: initial;
|
|
user-select: none;
|
|
font-size: 13px;
|
|
padding-right: 25px;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
.xm-form-checkbox>span {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.xm-select-parent .xm-form-select dl .xm-select-tips {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.xm-select-parent .xm-select-sj {
|
|
border-top-color: #595959;
|
|
}
|
|
|
|
.xm-select-title {
|
|
height: 40px !important;
|
|
}
|
|
|
|
.xm-form-selected .xm-select,
|
|
.xm-form-selected .xm-select:hover {
|
|
border-color: #595959 !important;
|
|
|
|
|
|
}
|
|
|
|
.xm-select-parent .xm-form-selected dl {
|
|
display: block;
|
|
max-height: 260px;
|
|
}
|
|
|
|
.layui-form-item .layui-input-inline {
|
|
margin-left: 2px;
|
|
}
|
|
.layui-laypage {
|
|
margin: 5px 0;
|
|
}
|
|
/* layui 样式设置 end */
|
|
|
|
.layui-table-view .layui-table th {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.layui-table-view .layui-table td {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.layui-laypage-default a,
|
|
.layui-laypage-default span {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.layui-table-checked {
|
|
background-color: #7ff3cb !important;
|
|
}
|
|
|
|
:root {
|
|
--primary-color: #3498db;
|
|
--success-color: #2ecc71;
|
|
--warning-color: #f39c12;
|
|
--danger-color: #e74c3c;
|
|
--error-color: #e74c3c;
|
|
--gray-color: #95a5a6;
|
|
--light-bg: #f5f5f5;
|
|
--border-color: #ddd;
|
|
}
|
|
|
|
.status-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.status-waiting {
|
|
color: var(--warning-color);
|
|
}
|
|
|
|
.status-waiting .status-icon {
|
|
background-color: var(--warning-color);
|
|
}
|
|
|
|
.status-uploading {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.status-uploading .status-icon {
|
|
background-color: var(--primary-color);
|
|
}
|
|
|
|
.status-success {
|
|
color: var(--success-color);
|
|
}
|
|
|
|
.status-success .status-icon {
|
|
background-color: var(--success-color);
|
|
}
|
|
|
|
.status-error {
|
|
color: var(--danger-color);
|
|
}
|
|
|
|
.status-error .status-icon {
|
|
background-color: var(--danger-color);
|
|
}
|
|
|
|
.file-action {
|
|
color: var(--danger-color);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.file-action:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: var(--light-bg);
|
|
color: #333;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.container {
|
|
max-width: 98%;
|
|
margin: 10px auto;
|
|
padding: 10px;
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h1 {
|
|
color: var(--primary-color);
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.upload-panel {
|
|
background: #f9f9f9;
|
|
padding: 10px 20px 10px 20px;
|
|
border-radius: 6px;
|
|
margin-bottom: 10px;
|
|
border: 1px dashed var(--border-color);
|
|
}
|
|
|
|
.upload-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #2980b9;
|
|
}
|
|
|
|
.btn-success {
|
|
background-color: var(--success-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-success:hover {
|
|
background-color: #27ae60;
|
|
}
|
|
|
|
.btn:disabled {
|
|
background-color: var(--gray-color);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.file-counter {
|
|
margin-left: auto;
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
|
|
.file-counter.warning {
|
|
color: var(--danger-color);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.upload-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.upload-table th {
|
|
background-color: #f2f2f2;
|
|
padding: 6px 15px;
|
|
text-align: left;
|
|
font-weight: 500;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.upload-table td {
|
|
padding: 6px 15px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
vertical-align: middle;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.upload-table tr:hover {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
.progress-container {
|
|
width: 100%;
|
|
height: 20px;
|
|
background-color: #ececec;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
background-color: var(--primary-color);
|
|
width: 0%;
|
|
transition: width 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 12px;
|
|
color: white;
|
|
}
|
|
|
|
.file-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
|
|
|
|
.toast {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
padding: 15px 25px;
|
|
background-color: var(--danger-color);
|
|
color: white;
|
|
border-radius: 4px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
display: none;
|
|
z-index: 1000;
|
|
animation: fadeIn 0.3s;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.file-size {
|
|
font-family: 'Courier New', monospace;
|
|
color: #666;
|
|
}
|
|
|
|
.no-files {
|
|
text-align: center;
|
|
padding: 40px 0;
|
|
color: #999;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 15px;
|
|
margin: 15px;
|
|
}
|
|
|
|
.upload-actions {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.file-counter {
|
|
margin-left: 0;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.upload-table th,
|
|
.upload-table td {
|
|
padding: 8px 10px;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
/*滚动条样式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*/ |