iotAR模拟导航主版本
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.
 
 
 

271 lines
5.7 KiB

.head-bar {
display: flex;
box-sizing: border-box;
width: calc(100vw - 20px);
margin-left: 10px;
margin-top: 10px;
font-size: 16px;
line-height: 44px;
position: relative;
z-index: 1;
height: 64px;
position: relative;
border-radius: 12px;
align-items: center;
pointer-events: auto;
&.double {
height: 114px;
.back {
height: 114px;
}
.content {
height: 114px;
}
}
.back {
display: flex;
justify-content: center;
align-items: center;
position: relative;
background: #ffffff;
flex: 0 0 50px;
margin-right: 8px;
height: 64px;
border-radius: 12px;
img {
width: 32px;
height: 32px;
}
}
.content {
display: flex;
flex-direction: column;
justify-content: center;
background: #ffffff;
height: 64px;
z-index: 2;
flex: 1;
position: relative;
border-radius: 12px;
.dots {
position: absolute;
top: 0;
bottom: 0;
left: 23px;
width: 2px;
height: 2px;
border-radius: 50%;
background: #c9cbd1;
margin: auto 0;
&::before {
content: "";
display: block;
position: absolute;
top: -6px;
width: 2px;
height: 2px;
border-radius: 50%;
background: #c9cbd1;
left: 0;
right: 0;
margin: 0 auto;
}
&::after {
content: "";
display: block;
position: absolute;
bottom: -6px;
width: 2px;
height: 2px;
border-radius: 50%;
background: #c9cbd1;
left: 0;
right: 0;
margin: 0 auto;
}
}
.row {
position: relative;
line-height: 57px;
height: 57px;
padding-left: 48px;
padding-right: 49px;
&.start {
background: 16px center/16px 16px no-repeat url("./start.png");
}
&.end {
background: 16px center/16px 16px no-repeat url("./end.png");
}
&.single {
padding-right: 10px;
}
.text {
display: flex;
align-items: center;
input {
border: none;
background: transparent;
display: inline-block;
line-height: 57px;
outline: none;
width: 100%;
font-family: PingFang SC;
font-style: normal;
font-weight: 600;
font-size: 18px;
color: #323337;
}
::placeholder {
font-size: 16px;
font-weight: 400;
color: #c9cbd1;
}
&.has-border {
border-top: 1px solid rgba(238, 238, 238, 0.7);
}
.label {
display: inline-block;
flex: 0 0 20px;
text-align: center;
margin-left: 8px;
font-style: normal;
font-weight: bold;
font-size: 12px;
color: #b3aea7;
}
.right {
background: #f3f4f8;
border: 1px solid #edeff3;
box-sizing: border-box;
border-radius: 8px;
font-family: PingFang SC;
font-style: normal;
font-weight: 600;
font-size: 12px;
line-height: 33px;
color: #437af7;
flex: 0 0 80px;
text-align: center;
display: inline-block;
white-space: nowrap;
margin-left: 8px;
}
}
}
.switch {
position: absolute;
width: 49px;
height: 32px;
background-image: url("./switch.png");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
top: 0;
bottom: 0;
right: 0;
margin: auto 0;
}
}
.banner {
position: absolute;
display: flex;
background: rgba(0, 0, 0, 0.6);
width: 237px;
line-height: 40px;
height: 40px;
text-align: center;
bottom: -48px;
left: 0;
right: 0;
margin: auto;
font-family: PingFang SC;
font-style: normal;
font-weight: normal;
font-size: 14px;
color: #ffffff;
border-radius: 20px;
justify-content: center;
align-items: center;
&.start::before {
content: "";
display: inline-block;
width: 16px;
height: 16px;
margin-right: 8px;
vertical-align: middle;
background-image: url("./start.png");
background-size: contain;
}
&.end::before {
content: "";
display: inline-block;
width: 16px;
height: 16px;
margin-right: 8px;
vertical-align: middle;
background-image: url("./end.png");
background-size: contain;
}
&::after {
content: "";
display: inline-block;
margin-left: 8px;
width: 16px;
height: 16px;
vertical-align: middle;
background-image: url("./arrow.png");
background-size: contain;
}
}
.shop-list-wrapper {
position: absolute;
top: 64px;
left: -10px;
width: 100vw;
height: calc(100vh - 74px);
overflow-x: hidden;
overflow-y: auto;
}
.search-type {
position: absolute;
top: 100px;
width: 100vw;
height: 40px;
line-height: 40px;
background: #fff;
display: flex;
color: #404040;
left: 0;
font-size: 12px;
.el {
flex: 1 1 33%;
text-align: center;
span {
position: relative;
display: inline-block;
img {
width: 18px;
height: 18px;
vertical-align: middle;
margin-right: 8px;
}
&.active {
color: #0074ed;
}
&.active {
&::after {
content: "";
position: absolute;
width: 100%;
height: 4px;
background: #0074ed;
bottom: 0;
left: 0;
}
}
}
}
}
}