html, body { width: 99.5%; height: 99%; margin: 0.15% 0 0 0.25%; padding: 0; font-family: 'Alibaba PuHuiTi R'; } .layout { display: flex; justify-content: center; align-items: center; } #main-box { width: 100%; height: 100%; padding: 0.5% 1%; box-sizing: border-box; /*background-color: #fff;*/ } #search-box { width: 100%; height: 60px; } #type-num-box { width: 100%; height: 90px; justify-content: space-between; } .type-num { width: 200px; height: 80px; border-radius: 6px; background-color: #fff; } .type-num > div:nth-child(1) { width: 70%; height: 100%; flex-direction: column; justify-content: space-evenly; } .type-num > div > p:nth-child(1) { color: #999; } .type-num > div > p:nth-child(2) { color: #666; font-size: 20px; font-weight: bold; } .type-num > div:nth-child(2) { width: 30%; height: 100%; } .type-num > div:nth-child(2) > img { width: 32px; height: 32px; } #change-type-box { width: 130px; height: 60px; justify-content: space-between; } #change-type-box p { cursor: pointer; } .checkedElement { color: #00377a !important; font-weight: bold; } .noCheckedElement { color: #999 !important; } #img-box { width: 100%; height: calc(100% - 200px); } .layui-flow-more{ width: 100%; } #ID-flow-demo { width: 100%; height: 100%; justify-content: start; align-items: start; flex-wrap: wrap; overflow-y: auto; } .img-info { width: 19%; height: 250px; margin: 0 1% 1% 0; background-color: #fff; } .imgData { width: 100%; height: 70%; } .imgData img { width: 100%; height: 100%; object-fit: contain; /* 或 contain */ } .imgData2 { width: 100%; height: 15%; justify-content: space-between; } .imgData2>p{ margin: 0 10px; } .imgData2>p:nth-child(1){ color: #999; } .imgData3 { width: 100%; height: 15%; justify-content: start; } .imgData3>p{ margin: 0 10px; } .imgData3>p:nth-child(1){ color: #666; font-weight: bold; } .img-color1{ background-color: #FEF1F1; color: #F36C6C; padding: 2px 10px; } .img-color2{ background-color: #EFFBF6; color: #5AD8A6; padding: 2px 10px; } .img-color3{ background-color: #FFF9EA; color: #FFC328; padding: 2px 10px; } .img-color4{ background-color: #FCF2FA; color: #F66CD7; padding: 2px 10px; } .img-color5{ background-color: #E6F9F9; color: #00CCDD; padding: 2px 10px; } .layui-input:hover, .layui-select:hover, .layui-textarea:hover { border-color: #00377a !important; box-shadow: 0 0 0 3px rgba(0, 55, 122, .08) } .layui-input:focus, .layui-select:focus, .layui-textarea:focus { border-color: #00377a !important; box-shadow: 0 0 0 3px rgba(0, 55, 122, .08) }