231 lines
4.5 KiB
Plaintext
231 lines
4.5 KiB
Plaintext
/* pages/vehicleMonitoring/realtime/realtime.wxss */
|
|
.container {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: relative;
|
|
|
|
#map-container {
|
|
width: 100%;
|
|
// height: 100%;
|
|
height: 30%;
|
|
position: absolute;
|
|
}
|
|
|
|
.h100 {
|
|
height: 100% !important;
|
|
}
|
|
|
|
.btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
position: absolute;
|
|
justify-content: center;
|
|
right: 8px;
|
|
z-index: 10;
|
|
|
|
image {
|
|
width: 14px;
|
|
height: 14px;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.reload {
|
|
top: 8px;
|
|
}
|
|
|
|
.navigation {
|
|
top: 42px;
|
|
}
|
|
|
|
.inf-container {
|
|
width: 100%;
|
|
height: 70vh;
|
|
padding: 0 8px;
|
|
box-sizing: border-box;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.1);
|
|
border-radius: 24px 24px 8px 8px;
|
|
position: absolute;
|
|
bottom: 0;
|
|
overflow: hidden;
|
|
|
|
.top {
|
|
width: 100%;
|
|
height: 18px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
.line {
|
|
width: 48px;
|
|
height: 4px;
|
|
background: #CBCACA;
|
|
border-radius: 2px;
|
|
}
|
|
}
|
|
|
|
.base-inf {
|
|
padding: 0 10px 6px;
|
|
|
|
.row {
|
|
margin-bottom: 4px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.number-plate {
|
|
color: #333333;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.code {
|
|
color: #888888;
|
|
}
|
|
|
|
.project-name {
|
|
color: #2E3A4F;
|
|
}
|
|
|
|
.car-type {
|
|
height: 20px;
|
|
padding: 0 8px;
|
|
box-sizing: border-box;
|
|
border-radius: 2px;
|
|
border: 1px solid #3977F7;
|
|
color: #4381FC;
|
|
}
|
|
}
|
|
}
|
|
|
|
.detail-inf {
|
|
height: calc(100% - 74px);
|
|
border-top: 1px solid #DFDFDF;
|
|
display: flex;
|
|
|
|
.sidebar {
|
|
width: 82px;
|
|
height: 100%;
|
|
background: #EFF1F4;
|
|
|
|
.item {
|
|
width: 82px;
|
|
height: 40px;
|
|
box-shadow: inset 0px -1px 0px 0px #DFDFDF;
|
|
font-size: 14px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.select {
|
|
background: #FFFFFF;
|
|
border-left: 4px solid #3977F7;
|
|
box-sizing: border-box;
|
|
color: #4381FC;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
width: calc(100% - 80px);
|
|
padding: 0 6px;
|
|
box-sizing: border-box;
|
|
overflow-y: auto;
|
|
|
|
.row {
|
|
padding: 0 6px;
|
|
min-height: 28px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
|
|
.label {
|
|
color: #8A90A4;
|
|
}
|
|
|
|
.val {
|
|
color: #2E3A4F;
|
|
font-size: 14px;
|
|
white-space: pre-wrap;
|
|
text-align: right;
|
|
word-break: break-all;
|
|
}
|
|
.width74{
|
|
width: 74%;
|
|
}
|
|
|
|
.val-r {
|
|
color: #EA4955;
|
|
}
|
|
|
|
.online,
|
|
.offline,
|
|
.errline {
|
|
height: 22px;
|
|
line-height: 22px;
|
|
padding: 0 8px;
|
|
border: 1px solid;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.online {
|
|
background: #F6FFED;
|
|
border-color: #D9F7BE;
|
|
color: #52C41A;
|
|
}
|
|
|
|
.offline {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
border-color: rgba(0, 0, 0, 0.15);
|
|
color: rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.errline {
|
|
background: #FFF1F0;
|
|
border: 1px solid #FFA39E;
|
|
color: #FF4D4F;
|
|
}
|
|
|
|
.fileList {
|
|
width: 80%;
|
|
|
|
.file {
|
|
text-align: right;
|
|
|
|
.label {
|
|
padding: 4px 0;
|
|
// width: 80%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: #409EFF;
|
|
word-wrap: break-word;
|
|
word-break: break-all;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.check {
|
|
font-size: 14px;
|
|
color: #409EFF;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.row:nth-child(2n) {
|
|
background: #F5F7FA;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |