You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
test/ipad/css/monitor.css

380 lines
7.1 KiB

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%; */
height: calc(20vh);
width: calc(100% - 2px);
/* border:1px solid red; */
background-color: #fff;
position: relative;
/* padding:20px; */
}
.order{
position: absolute;
bottom: calc(10% + 10px);
display: flex;
/* width: 100%; */
justify-content: space-between;
left:calc(10% + 20px);
right:calc(10% + 20px);
z-index:0;
}
.order .orderItem{
display: flex;
flex-direction: column;
align-items: center;
width: 5%;
/* margin-left:10%; */
}
.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;
position: relative;
z-index:2
}
#top1>:first-child{
margin-left:0 !important;
}
#top1 .carInfo{
height:calc(50% - 20px);
background: #ECF3F7;
border-radius: 10px;
border: 1px dashed #6271FE;
width:calc(10% - 2px);
margin-left:5%;
/* margin-left:1.25%;
margin-right:1.25%; */
/* width: calc((100% - 2px) / 7); */
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%; */
width:calc(10% - 2px);
margin-left:5%;
/* flex: 0 0 14.28%; */
height:calc(50% - 20px);
/* height: 50px; */
background: #ECF3F7;
border-radius: 10px;
border: 1px dashed #6271FE;
}
#top1 > :nth-child(8){
margin-left:0 !important;
}
.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;
flex-wrap: wrap;
}
.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;
min-width: 40%;
}
#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;
flex-wrap: wrap;
}
.center .content .carItem{
/* flex:1; */
/* margin:0 8px; */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 13%;
min-width: calc(8vw);
}
.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;
}