html, body { width: 100%; height: 100%; margin: 0; padding: 0; color: #fff; font-size: 16px; font-family: 'Alibaba PuHuiTi R'; letter-spacing: 1px; } .layout { display: flex; align-items: center; justify-content: start; box-sizing: border-box; } #content { width: 100%; height: 100%; box-sizing: border-box; justify-content: space-evenly; flex-direction: column; } .main-box { width: 100%; padding: 0 0.5% 0 0.45%; box-sizing: border-box; } /* 顶部样式 start */ #top-box { height: 34%; flex-direction: column; justify-content: space-evenly; } .pro-num { width: 100%; height: 40%; justify-content: space-evenly; } .pro-num>div>img { width: 60px; height: 60px; margin-left: 30px; } .pro-num-child { width: 18.5%; height: 100%; border-radius: 12px; align-items: center; } .pro-num-info { width: 100px; height: 100%; flex-direction: column; justify-content: center; } .pro-num-info p:nth-child(2) { font-size: 30px; font-weight: bold; } .pro-num-child:nth-child(1) { background-color: #5B8FF9; } .pro-num-child:nth-child(2) { background-color: #5AD8A6; } .pro-num-child:nth-child(3) { background-color: #5D7092; } .pro-num-child:nth-child(4) { background-color: #6DC8EC; } .pro-num-child:nth-child(5) { background-color: #FF99C3; } .pro-num-child2 { width: 23.5%; height: 100%; border-radius: 12px; } .pro-num-child2:nth-child(1) { background-color: #FFA94C; } .pro-num-child2:nth-child(2) { background-color: #0099FF; } .pro-num-child2:nth-child(3) { background-color: #51D351; } .pro-num-child2:nth-child(4) { background-color: #8167F5; } /* 顶部样式 end */ /* 底部样式 start */ #bottom-box { height: 66%; justify-content: space-evenly; } .bottom-child-box { width: 49%; height: 100%; box-sizing: border-box; background-color: #ECF9FE; border: none; justify-content: space-between; } .echarts-box, .table-box { width: 49%; height: 100%; } /* 底部样式 end */ .classTable { width: 96%; height: 96%; margin: 2%; table-layout: fixed; text-align: center; border-collapse: collapse; border-spacing: 0; box-sizing: border-box; } .classTable tbody tr td { font-size: 14px; border-bottom: 1px solid #7c7878; height: 40px; color: #000; } .classTable tr:hover { background-color: #f8f8f8 } .classTable thead tr:nth-of-type(1) { background-color: #f0f0f0; height: 50px; } .classTable thead tr:nth-of-type(1) td { font-size: 16px; color: #000; } .classTable tbody { display: block; height: 56vh; 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; } /*滚动条样式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*/