339 lines
7.7 KiB
Plaintext
339 lines
7.7 KiB
Plaintext
/* pages/vehicleMonitoring/failureAlert/failureAlert.wxss */
|
|
.container {
|
|
height: 100vh;
|
|
background: #EFF1F4;
|
|
position: relative;
|
|
overflow: hidden;
|
|
.search-container {
|
|
padding: 10px 8px;
|
|
border-top: 1px solid #DBDBDB;
|
|
background: #ffffff;
|
|
.row {
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
>.number-plate, >.project-select,.status-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 {
|
|
width: 100%;
|
|
.icon_search {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 8px;
|
|
image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
input {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
}
|
|
.btn {
|
|
width: 18px;
|
|
padding: 0 4px;
|
|
color: #949CB5;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
>.project-select, .status-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: 4px;
|
|
transform: translateY(-2px);
|
|
}
|
|
}
|
|
|
|
.select-box {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
.val {
|
|
width: 90%;
|
|
font-size: 14px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.placeholder{
|
|
color: #949CB5;
|
|
}
|
|
.arrow{
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 13rpx solid transparent;
|
|
border-right: 13rpx solid transparent;
|
|
border-top: 15rpx solid #636B83;
|
|
margin-left: 18rpx;
|
|
}
|
|
}
|
|
}
|
|
.line {
|
|
width: 10px;
|
|
height: 1px;
|
|
background: #949CB5;
|
|
}
|
|
.date {
|
|
width: calc((100% - 10px - 70px) / 2);
|
|
height: 36px;
|
|
padding: 8px 10px;
|
|
box-sizing: border-box;
|
|
border-radius: 4px;
|
|
border: 1px solid #E6EAF2;
|
|
display: flex;
|
|
align-items: center;
|
|
.icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-left: 8px;
|
|
image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
input {
|
|
flex: 1;
|
|
color: #2E3A4F;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
>.btn {
|
|
// height: 36px;
|
|
padding: 8px 14px;
|
|
margin-left: 12px;
|
|
background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
font-size: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|
|
.list-content {
|
|
.total {
|
|
padding: 6px 18px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
.number {
|
|
margin: 0 4px;
|
|
color: #4381FC;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
.list {
|
|
height: calc(100vh - 44px - 150px - 32px);
|
|
padding: 2px 0;
|
|
box-sizing: border-box;
|
|
// overflow-y: auto;
|
|
.scroll-view_H {
|
|
height: 100%;
|
|
// padding: 0 8px;
|
|
box-sizing: border-box;
|
|
}
|
|
.item {
|
|
padding: 10px 0 4px;
|
|
margin: 0 8px 8px;
|
|
background: #FFFFFF;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 4px 0 rgba(0,0,0,.4);
|
|
.top {
|
|
padding: 0 8px;
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
.number-plate {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #2E3A4F;
|
|
}
|
|
.t-right {
|
|
font-size: 14px;
|
|
display: flex;
|
|
.project-name {
|
|
margin-right: 6px;
|
|
}
|
|
.type {
|
|
padding: 0 8px;
|
|
border-radius: 2px;
|
|
border: 1px solid #3977F7;
|
|
color: #3977F7;
|
|
}
|
|
}
|
|
}
|
|
.row {
|
|
padding: 0 8px;
|
|
margin-bottom: 8px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
.label {
|
|
color: #858CA0;
|
|
}
|
|
.val {
|
|
color: #2E3A4F;
|
|
}
|
|
}
|
|
.time-container {
|
|
padding: 0 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
>.time {
|
|
width: calc((100% - 20px) / 3);
|
|
.val {
|
|
min-height: 58px;
|
|
margin-bottom: 4px;
|
|
background: #ECEFF5;
|
|
border-radius: 8px;
|
|
color: #303133;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.val-f16 {
|
|
font-size: 16px;
|
|
}
|
|
.label {
|
|
color: #8A90A4;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
>.normal {
|
|
.val {
|
|
color: #4381FC;
|
|
}
|
|
}
|
|
>.error {
|
|
.val {
|
|
background-color: #FFEDED;
|
|
color: #E04D4D;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.nodata {
|
|
text-align: center;
|
|
margin: 60px;
|
|
font-size: 26px;
|
|
}
|
|
}
|
|
|
|
|
|
// 时间选择器
|
|
.date-btn-box {
|
|
// background: #fff;
|
|
// border-radius: 4px 4px 0 0;
|
|
border-bottom: 2rpx solid #F1F1F1;
|
|
font-size: 30rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
.btn {
|
|
padding: 20rpx 36rpx;
|
|
color: #888888;
|
|
}
|
|
.btn-confirm{
|
|
color: #3D7EEA;
|
|
}
|
|
}
|
|
.date-title {
|
|
padding: 20rpx 36rpx;
|
|
font-size: 36rpx;
|
|
color: #888888;
|
|
border-bottom: 2rpx solid #F1F1F1;
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
align-items: center;
|
|
.line {
|
|
width: 10px;
|
|
height: 1px;
|
|
margin: 0 14px;
|
|
background: #949CB5;
|
|
}
|
|
.date {
|
|
width: calc((100% - 10px - 28px) / 2);
|
|
height: 36px;
|
|
padding: 8px 10px;
|
|
box-sizing: border-box;
|
|
border-radius: 4px;
|
|
border: 1px solid #E6EAF2;
|
|
display: flex;
|
|
align-items: center;
|
|
.icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-left: 8px;
|
|
image {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
}
|
|
input {
|
|
flex: 1;
|
|
color: #2E3A4F;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
.select {
|
|
border: 1px solid #1677FF;
|
|
input {
|
|
color: #1677FF !important;
|
|
}
|
|
}
|
|
}
|
|
.picker-box {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
} |