html, body { width: 100%; height: 100%; margin: 0; padding: 0; float: left; display: flex; justify-content: space-between; } .left{ width: 40%; height: 99.8%; } .interfaceState{ width: 100%; height: 10%; } .left>.interfaceState{ display: flex; justify-content: space-between; } .left>.interfaceState>div{ height: 100%; display: flex; } .left>.interfaceState>div>span{ align-self: center; } .left>.interfaceState>div>span:nth-child(1){ color: white; } .left>.interfaceState>.title{ background-image: url(../../img/index/interfaceState.png); background-repeat: no-repeat; background-size: 100% 100%; width: 14%; } .left>.interfaceState>.error{ width: 30%; } .left>.interfaceState>div>span:nth-child(1){ color: rgba(255,255,255,0.8); font-size: 14px; } .dayWarn{ display: flex; width: 99%; height: 18%; justify-content: space-evenly; align-items: center; } .dayWarn>.title{ width: 30.5%; height: 67%; background-image: url(../../img/blueFrame.png); background-repeat: no-repeat; background-size: 100% 100%; display: flex; align-items: center; justify-content: space-evenly; } .dayWarn>.title>.content{ width: 33%; height: 77%; background-image: url(../../img/lightning.png); background-repeat: no-repeat; background-size: 100% 100%; } .dayWarn>.title>.font{ display: flex; font-size: 29px; Color: #75feff; flex-direction: column; } .deviceWarn{ width: 100%; height: 36.75%; margin-top: 2%; } .deviceWarn>.title{ width: 100%; height: 15%; background-image: url(../../img/moduleTitle.png); background-repeat: no-repeat; background-size: 85% 100%; display: flex; } .deviceWarn>.title>div{ float: left; align-self: center; } .deviceWarn>.title>div:nth-child(1){ color: #FFFFFF; font-size: 16px; text-indent: 55px; } .deviceWarn>.title>div:nth-child(2){ background-image: url(../../img/details.png); background-repeat: no-repeat; background-size: 85% 100%; width: 5%; height: 58%; margin-left: 1%; cursor: pointer; } .deviceWarn>.table{ /*margin-top: 4%;*/ width: 100%; height: 85%; } .defenceWarn{ width: 100%; height: 36.75%; margin-top: 2%; } .defenceWarn>.title{ width: 100%; height: 15%; background-image: url(../../img/moduleTitle.png); background-repeat: no-repeat; background-size: 85% 100%; display: flex; } .defenceWarn>.title>div{ float: left; align-self: center; } .defenceWarn>.title>div:nth-child(1){ color: #FFFFFF; font-size: 16px; text-indent: 55px; } .defenceWarn>.title>div:nth-child(2){ background-image: url(../../img/details.png); background-repeat: no-repeat; background-size: 85% 100%; width: 5%; height: 58%; margin-left: 1%; cursor: pointer; } .defenceWarn>.table{ width: 100%; height: 85%; } .right{ width: 60%; height: 99.8%; } .right>.title{ width: 100%; height: 5.3%; background-image: url(../../img/moduleTitle.png); background-repeat: no-repeat; background-size: 40% 100%; display: flex; } .right>.title>span{ align-self: center; color: #FFFFFF; font-size: 16px; text-indent: 45px; } .right>.content{ width: 100%; height: 89%; overflow: hidden; } .right>.foot{ width: 100%; height: 5.3%; } .foot>div{ float: left; margin-left: 5%; width: 10%; height: 100%; display: flex; } .foot>div:nth-child(3){ width: 16%; } .foot>div>span{ color: #FFFFFF; align-self: center; } ::-webkit-scrollbar { width: 10px; /*对垂直流动条有效*/ height: 10px; /*对水平流动条有效*/ }