body,html{ margin:0; padding:0; } .monitor{ height: calc(100vh); display: flex; flex-direction: column; overflow: hidden; background-color: #F2F2F2; position: relative; } .monitor .top{ height:20%; width: calc(100% - 2px); border:1px solid red; background-color: #fff; position: relative; /* padding:20px; */ } .order{ position: absolute; border:2px solid #000; bottom: 0; display: flex; width: 100%; justify-content: space-between; } .order .orderItem{ display: flex; flex-direction: column; align-items: center; width: 5%; border: 1px solid red; } .order .orderItem span{ margin-bottom: 7px; font-family: PingFang SC; font-weight: 500; font-size: 22px; color: #222222; } #top1 { display: flex; flex-wrap: wrap; height: calc(100% - 40px); justify-content: space-between; align-items: center; padding: 20px 0px; } #top1 .carInfo{ width:10%; height:calc(50% - 20px); /* height: 50px; */ background: #ECF3F7; border-radius: 10px; border: 1px dashed #6271FE; /* margin-top:20px; */ margin-left:1.25%; margin-right:1.25%; position: relative; display: flex; align-items: center; justify-content: center; } #top1 .carInfo span{ position: absolute; left:50%; top:50%; transform: translate(-50%,-50%); font-family: Microsoft YaHei; font-weight: 400; font-size: 18px; color: #FFFFFF; text-shadow: 0px 2px 2px rgba(6,13,23,0.5); z-index:3; } #top1 .empty{ /* margin-top:20px; */ margin-left:1.25%; margin-right:1.25%; width:10%; height:calc(50% - 20px); /* height: 50px; */ background: #ECF3F7; border-radius: 10px; border: 1px dashed #6271FE; } .bottom{ flex:1; margin-top:20px; display: flex; } .bottom .left{ width:220px; height:100%; overflow: auto; background: #FFFFFF; box-shadow: 3px 0px 10px 0px rgba(6,13,23,0.06); border-radius: 0px 10px 0px 0px; flex-shrink: 0; } .left .title{ position: relative; margin-top:20px; } .left .title span{ font-family: PingFang SC; font-weight: bold; font-size: 24px; color: #222222; margin-left:20px; } .left .title .flag{ width: 8px; height: 24px; background: #6271FE; border-radius: 4px; position: absolute; left:0; top:5px; } .left .item{ margin-top:29px; margin-left:20px; } .left .item .itemTitle{ font-family: PingFang SC; font-weight: 500; font-size: 22px; color: #222222; } .left .item .itemDesc{ font-family: PingFang SC; font-weight: 500; font-size: 22px; color: #6271FE; margin-top:15px; } .left .carInfo{ margin-top:29px; } .left .carInfo p{ margin:22px 20px; font-family: PingFang SC; font-weight: 500; font-size: 20px; color: #666666; } /* 右边 */ .bottom .right{ width:220px; height:100%; overflow: auto; background: #FFFFFF; box-shadow: -3px 0px 10px 0px rgba(6,13,23,0.06); border-radius: 10px 0px 0px 0px; flex-shrink: 0; } .bottom .right .itemBtn{ padding: 17px 0; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; text-align: center; margin: 20px; font-family: PingFang SC; font-weight: bold; font-size: 22px; color: #FFFFFF; } .blue{ background: #6271FE; } .red{ background: #E81A1A; } .green{ background: #4BC5D3; } /* 中间 */ .bottom .center{ flex:1; background-color: #fff; margin: 0 20px 20px 20px; } .center .progressContainer{ display: flex; align-items: center; margin:15% 60px 15% 24px; } .center .progressContainer>span{ display: inline-block; width: 100px; font-family: PingFang SC; font-weight: 500; font-size: 22px; color: #222222; } .center .progressContainer .num{ min-width: 137px; font-family: PingFang SC; font-weight: bold; font-size: 22px; } .center .progressContainer .num :first-child{ color: #6271FE; } #progress-bar-container { /* width: 100%; */ flex:1; background-color: #EBECF2; border: 1px solid #EBECF2; height: 20px; overflow: hidden; border-radius: 3px; } #progress-bar { width: 0; height: 100%; background-color: #6271FE; transition: width 1s ease-in-out; border-radius: 3px; } .center .content{ display: flex; justify-content: space-between; margin:0 8px; } .center .content .carItem{ /* flex:1; */ /* margin:0 8px; */ display: flex; flex-direction: column; align-items: center; justify-content: center; width: 13%; } .center .content .carItem .numContent{ height: 70px; } .center .content .carItem .numContent p{ margin:0; padding:0; font-family: PingFang SC; font-weight: 500; font-size: 18px; color: #222222; line-height: 26px; } .center .content .carItem .numContent>:nth-child(2){ margin-top:15px; } .center .content .carItem .pic{ margin:20px 0; background: #ECF3F7; border-radius: 10px; border: 1px dashed #6271FE; width: 100%; position: relative; flex:1; display: flex; align-items: center; } .center .content .carItem .pic img{ width:100%; height:auto; } .center .content .carItem .pic>span{ position: absolute; z-index:9; left:50%; top:50%; transform: translate(-50%,-50%); font-family: Microsoft YaHei; font-weight: 400; font-size: 18px; color: #FFFFFF; text-shadow: 0px 2px 2px rgba(6,13,23,0.5); } .center .content .carItem .temp{ width: 100%; height: auto; } .tempNum{ margin-top:12px; font-family: PingFang SC; font-weight: 500; font-size: 22px; color: #222222; } /* 下发弹窗 */ /* 编辑弹窗 */ .editMask{ position: absolute; top:0; left:0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: none; z-index:99; } .editDialog{ position: relative; top:50%; left:50%; transform: translate(-50%,-50%); background: #FFFFFF; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; width: 30%; text-align: center; } .editMask .header{ padding:20px 0; font-family: PingFang SC; font-weight: bold; font-size: 24px; color: #222222; position: relative; border-bottom: 1px solid #999; } .editMask .header>img{ right:5px; top:5px; position: absolute; } .editBtn{ padding:30px; } .editBtn .getAddr{ background: #6271FE; box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2); border-radius: 10px; font-family: PingFang SC; font-weight: 500; font-size: 22px; color: #FFFFFF; padding:20px 0; }