移动端千目GO
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.
 
 
 

255 lines
5.7 KiB

.car {
position: relative;
width: 100vw;
height: calc(100vh - 98px);
background: #f3f4f8;
pointer-events: auto;
.car-img {
position: absolute;
width: 220px;
height: 220px;
left: 0;
right: 0;
bottom: auto;
margin: auto;
top: 16px;
}
.car-modal {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 10;
}
.content {
position: absolute;
left: 2.6667vw;
right: 2.6667vw;
width: calc(100vw - 4.2667vw);
height: 458px;
bottom: 10px;
padding-top: 34px;
background: #ffffff;
box-shadow: 0px 12px 16px rgba(104, 110, 127, 0.08);
border-radius: 18px;
overflow: hidden;
.form {
position: absolute;
top: 14px;
left: 3.7333vw;
right: 3.7333vw;
bottom: 14px;
z-index: 3;
text-align: left;
.platenum {
display: flex;
justify-content: center;
position: absolute;
top: 102px;
left: -3.7333vw;
right: -3.7333vw;
text-align: center;
}
.lots {
position: absolute;
top: 95px;
left: 0;
right: 0;
display: inline-flex;
justify-content: center;
}
.box {
width: 9.6vw;
height: 64px;
background: #f3f4f8;
font-family: Noto IKEA Simplified Chinese;
font-style: normal;
font-weight: bold;
font-size: 18px;
text-align: center;
color: #323337;
border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
align-content: center;
flex-direction: column;
&.big {
width: 12.8vw;
}
&.active {
border: 2px solid #437af7;
box-shadow: 0px 6px 12px rgba(93, 172, 249, 0.2);
}
&.sp {
background: none;
border: 1px solid #c9cbd1;
&.active {
border: 2px solid #437af7;
box-shadow: 0px 6px 12px rgba(93, 172, 249, 0.2);
}
}
.plus {
position: relative;
width: 6.4vw;
margin: 0;
}
}
.box + .box {
margin-left: 1.0667vw;
}
.box + .box.more-margin {
margin-left: 5.0667vw;
}
.input {
position: absolute;
font-family: Noto IKEA Simplified Chinese;
font-style: normal;
font-weight: bold;
font-size: 16px;
top: 114px;
width: 216px;
left: calc((100vw - 28px - 216px) / 2);
background: transparent;
height: 40px;
line-height: 40px;
color: #474747;
border: none;
outline: none;
text-align: center;
&.right {
text-align: left;
left: calc((100vw - 28px - 216px + 63px) / 2);
}
}
::placeholder {
font-family: Noto IKEA Simplified Chinese;
font-style: normal;
font-weight: normal;
font-size: 14px;
color: #b3aea7;
}
.dec1 {
position: absolute;
top: 154px;
bottom: auto;
right: auto;
width: 223px;
height: 21px;
left: calc((100vw - 28px - 216px) / 2);
&.right {
left: calc((100vw - 28px - 216px + 63px) / 2);
}
}
.dec2 {
position: absolute;
top: 132px;
bottom: auto;
right: auto;
width: 11.7333vw;
height: 21px;
left: calc((100vw - 7.4667vw - 57.6vw - 16.8vw) / 2);
pointer-events: none;
}
.floor1,
.floor2,
.floor3 {
position: absolute;
left: calc((100vw - 7.4667vw - 57.6vw - 16.8vw) / 2);
font-family: Noto IKEA Simplified Chinese;
font-style: normal;
font-weight: bold;
font-size: 4.2667vw;
color: #474747;
width: 9.8667vw;
text-align: center;
}
.floor1,
.floor3 {
color: rgba(113, 112, 110, 0.2);
font-size: 3.2vw;
line-height: 4.8vw;
height: 4.8vw;
}
.floor1 {
top: 77px;
}
.floor2 {
top: 101px;
line-height: 6.4vw;
height: 6.4vw;
}
.floor3 {
top: 134px;
}
.btns {
display: grid;
grid-template-columns: 1fr 1fr;
position: absolute;
top: 129px;
left: 24px;
right: 24px;
gap: 0 16px;
}
.btn {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
height: 56px;
left: 1.0667vw;
right: 1.0667vw;
margin: auto;
bottom: 14px;
background: linear-gradient(180deg, #508af7 0%, #5ea5f9 100%);
box-shadow: 0px 6px 12px rgba(93, 172, 249, 0.2);
border-radius: 16px;
font-family: PingFang SC;
font-style: normal;
font-weight: bold;
font-size: 16px;
line-height: 22px;
text-align: center;
color: #ffffff;
}
.tabs {
display: flex;
width: 100%;
padding: 4px;
background: #edeff3;
border-radius: 12px;
}
.tab {
display: flex;
justify-content: center;
align-items: center;
flex: 1;
height: 48px;
font-family: PingFang SC;
font-style: normal;
font-weight: bold;
font-size: 16px;
line-height: 22px;
color: #7a7e8d;
img {
position: relative;
margin: 0;
margin-right: 8px;
width: 24px;
height: 24px;
}
}
.tab.active {
background: #ffffff;
border-radius: 10px;
color: #323337;
}
.tab + .tab {
margin-left: 4px;
}
}
}
}