2025-06-19 17:33:18 +08:00

462 lines
8.8 KiB
Plaintext

/* pages/vehicleMaintenance/maintainSend/maintainSend.wxss */
.container {
height: 100vh;
padding-top: 2px;
box-sizing: border-box;
background: #EFF1F4;
position: relative;
>.bg {
width: 100%;
height: 250px;
position: absolute;
top: 0;
image {
width: 100%;
height: 100%;
display: block;
}
}
.top {
margin: 8px 8px 10px;
padding: 12px 10px;
margin-bottom: 8px;
background: #fff;
border-radius: 8px;
position: relative;
.row:first-child {
margin-bottom: 8px;
}
.row {
color: #2E3A4F;
display: flex;
justify-content: space-between;
align-items: center;
.number-plate {
display: flex;
.status {
padding: 0 6px;
margin-right: 4px;
border-radius: 2px;
color: #FFFFFF;
font-size: 14px;
}
.status1 {
background: linear-gradient(90deg, #0D92FF 0%, #38B1FE 100%);
}
.status2 {
background: linear-gradient(270deg, #4CDBAD 0%, #2FCBAB 100%);
}
.status3 {
background: linear-gradient(270deg, #A1A8BB 0%, #838EAA 100%);
}
.val {
font-size: 16px;
font-weight: bold;
}
}
.project-name,
.code {
font-size: 14px;
}
.time {
font-size: 14px;
color: #858CA0;
}
}
}
.detail-container {
padding: 0px 8px 0px;
position: relative;
.tabs {
display: flex;
border-radius: 8px 8px 0 0;
overflow: hidden;
.tabBg {
background-color: #E2F3FE;
}
.tab {
width: 50%;
height: 40px;
line-height: 40px;
color: #959595;
font-size: 16px;
font-weight: 500;
text-align: center;
position: relative;
.bg {
width: 100%;
height: 100%;
position: absolute;
image {
width: 100%;
height: 100%;
display: block;
}
}
.value {
position: relative;
}
}
.active {
color: #4381FC;
// background-color: #FFFFFF;
}
.active::after {
content: '';
width: 26px;
height: 4px;
background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
border-radius: 2px;
position: absolute;
bottom: 2px;
left: 50%;
transform: translateX(-50%);
}
}
.content-borderall {
border-radius: 8px;
}
.contentHeight1 {
max-height: calc(100vh - 72px - 272px);
}
.contentHeight2 {
max-height: calc(100vh - 72px - 132px);
}
.contentHeight3 {
height: calc(100vh - 72px - 132px);
max-height: calc(100vh - 72px - 132px);
}
.content {
overflow-y: auto;
border-radius: 0px 0px 8px 8px;
.info {
padding: 12px 8px;
border-radius: 0px 0px 8px 8px;
background: #fff;
}
.check-info {
margin-top: 8px;
padding: 12px 8px;
border-radius: 8px;
background: #fff;
.check-title {
color: #4381FC;
font-weight: bold;
font-size: 18px;
margin-bottom: 8px;
}
.check-one {
display: flex;
justify-content: space-between;
.margin-left8 {
margin-left: 8px;
}
}
.check-idea {
display: flex;
justify-content: space-between;
}
.label {
color: #858CA0;
font-size: 14px;
}
.val {
color: #2E3A4F;
font-size: 14px;
}
}
.row {
margin-bottom: 8px;
display: flex;
justify-content: space-between;
// align-items: center;
.label {
color: #858CA0;
font-size: 14px;
}
.val {
color: #2E3A4F;
font-size: 14px;
}
.bold {
color: #2F3B50;
font-weight: bold;
font-size: 16px;
}
.bold-blue {
color: #4381FC;
font-weight: bold;
font-size: 20px;
}
.pic-box {
max-width: 90%;
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
.item {
width: 84px;
height: 84px;
padding-left: 8px;
margin-bottom: 8px;
display: flex;
align-items: center;
image {
width: 100%;
height: 100%;
display: block;
}
}
}
.check-title {
width: 60px;
font-size: 15px;
font-weight: bold;
color: #4381FC;
line-height: 21px;
}
}
.repairList {
max-height: 6000px;
transition: max-height 0.6s ease-in-out;
will-change: height;
overflow: hidden;
// transform-origin: top;
// transform: scaleY(1);
// transition: transform 0.3s ease-in;
}
.repairList-hide {
// transform-origin: top;
// transform: scaleY(0);
// transition: transform 0.3s ease-out;
}
.repairList-item {
padding: 8px 8px 2px 8px;
background: #ECEFF5;
border-radius: 4px;
margin-bottom: 8px;
}
.repair-item {
margin-top: 8px;
padding: 12px 8px;
border-radius: 8px;
background: #fff;
.repair-title {
display: flex;
justify-content: space-between;
.repair-name {
font-weight: bold;
color: #2E3A4F;
}
}
.repair-before,
.repair-after {
margin-top: 8px;
.pic-box {
margin-top: 8px;
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
.item {
width: 84px;
height: 84px;
padding-right: 8px;
margin-bottom: 8px;
display: flex;
align-items: center;
image {
width: 100%;
height: 100%;
display: block;
}
}
}
}
.label {
color: #858CA0;
font-size: 14px;
}
}
}
}
.bottom {
width: 100%;
padding: 10px 8px 14px;
background: #fff;
box-sizing: border-box;
border-radius: 8px 8px 0 0;
box-shadow: 0px -2px 12px 0px rgba(0, 0, 0, 0.2);
position: absolute;
bottom: 0;
left: 0;
.row {
width: 100%;
height: 36px;
padding: 8px 10px;
margin-bottom: 8px;
box-sizing: border-box;
border-radius: 4px;
border: 1px solid #E6EAF2;
display: flex;
align-items: center;
.icon {
width: 20px;
height: 20px;
margin-right: 8px;
image {
width: 100%;
height: 100%;
}
}
input {
flex: 1;
font-size: 14px;
}
}
.select-row {
// 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;
}
.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: 14px;
transform: translateY(-2px);
}
}
}
.btn-box {
width: 100%;
display: flex;
justify-content: space-between;
.btn {
width: calc(50% - 8px);
height: 40px;
background-color: #FFFFFF;
line-height: 40px;
border-radius: 8px;
color: #2E3A4F;
text-align: center;
border: 1px solid #D6D6D6;
}
.btn-full {
width: calc(100% - 8px);
}
.apply {
background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
color: #2E3A4F;
color: #fff;
font-size: 15px;
font-weight: bold;
}
}
}
.label-width {
width: 21%;
}
.val-width {
width: 76%;
text-align: right;
word-break: break-all;
}
.collapsed {
display: flex;
image {
width: 16px;
height: 16px;
margin-right: 4px;
margin-top: 2px;
}
}
}