240 lines
4.8 KiB
Plaintext
240 lines
4.8 KiB
Plaintext
/* pages/vehicleMonitoring/global/global.wxss */
|
|
.container {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: relative;
|
|
|
|
#map-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
}
|
|
|
|
.top {
|
|
width: 100%;
|
|
background: #ffffff;
|
|
position: absolute;
|
|
top: 0;
|
|
z-index: 10;
|
|
|
|
.search-container {
|
|
padding: 10px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
>.number-plate,
|
|
>.project-select {
|
|
width: calc((100% - 6px) / 2);
|
|
height: 36px;
|
|
padding: 8px 10px;
|
|
box-sizing: border-box;
|
|
border-radius: 4px;
|
|
border: 1px solid #E6EAF2;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
>.number-plate {
|
|
.icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 8px;
|
|
|
|
image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
input {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
>.project-select {
|
|
width: calc((100% - 6px) / 2);
|
|
|
|
picker {
|
|
width: 100%;
|
|
position: relative;
|
|
|
|
.picker {
|
|
width: 100%;
|
|
height: 38px;
|
|
// padding-left: 14px;
|
|
box-sizing: border-box;
|
|
// border: 1px solid #E6EAF2;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
// justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.val {
|
|
width: 85%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
|
|
.picker::after {
|
|
content: '';
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 6px solid #636B83;
|
|
border-right: 6px solid transparent;
|
|
border-bottom: 6px solid transparent;
|
|
border-left: 6px solid transparent;
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 10px;
|
|
transform: translateY(-2px);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.tab-container {
|
|
width: 100%;
|
|
height: 48px;
|
|
display: flex;
|
|
overflow: hidden;
|
|
|
|
.tabs {
|
|
width: calc(100% - 48px);
|
|
// overflow-x: auto;
|
|
}
|
|
|
|
.swicth {
|
|
width: 48px;
|
|
height: 48px;
|
|
box-shadow: -4px 2px 4px -2px rgba(0, 0, 0, .25);
|
|
// border-left: 1px solid rgba(0,0,0,.25);
|
|
position: absolute;
|
|
right: 0;
|
|
z-index: 10;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
image {
|
|
width: 20px;
|
|
height: 20px;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.showPlateNumber {
|
|
width: 32px;
|
|
height: 32px;
|
|
background: #ffffff;
|
|
position: absolute;
|
|
top: 114px;
|
|
right: 6px;
|
|
z-index: 10;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 4px;
|
|
box-shadow: 0 0 4px rgba(0, 0, 0, .25);
|
|
image {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
|
|
.car-list {
|
|
width: 100%;
|
|
height: calc(100vh - 104px);
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
background: #EFF1F4;
|
|
position: absolute;
|
|
bottom: 0;
|
|
overflow-y: auto;
|
|
|
|
.item {
|
|
padding: 12px 10px;
|
|
margin-bottom: 8px;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
|
|
.row:first-child {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.row {
|
|
color: #2E3A4F;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.number-plate {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.project-name {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.status {
|
|
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);
|
|
}
|
|
|
|
.type-list {
|
|
display: flex;
|
|
|
|
.type {
|
|
height: 22px;
|
|
line-height: 22px;
|
|
padding: 0 8px;
|
|
margin-left: 5px;
|
|
background: #FFF1F0;
|
|
border-radius: 4px;
|
|
border: 1px solid #FFA39E;
|
|
color: #FF4D4F;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.customCallout {
|
|
width: 96px;
|
|
// height: 100px;
|
|
padding: 4px;
|
|
text-align: center;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.none {
|
|
display: none;
|
|
} |