2023-04-17 16:14:18 +08:00

348 lines
6.5 KiB
Plaintext

.hot-city{
padding: 40rpx 30rpx 36rpx;
background: #f1f1f1;
}
.hot-city .title{
margin-bottom: 10rpx;
font-size: 26rpx;
color: #999999;
display: flex;
align-items: center;
}
.hot-city .title::before{
display: inline-flex;
margin-right: 8rpx;
content: "";
background-color: rgb(255, 192, 95);
width: 8rpx;
height: 26rpx;
border-radius: 8rpx;
}
.hot-city .list{
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
font-size: 24rpx;
color: #333333;
}
.hot-city .list .item{
margin: 20rpx 0 0;
display: inline-flex;
width: 220rpx;
height: 72rpx;
align-items: center;
justify-content: center;
background: #fff;
border-radius: 10rpx;
}
.hot-city .list .item:nth-child(3n+2){
margin: 20rpx 15rpx 0
}
.search-box{
padding: 20rpx 30rpx 30rpx;
}
.search-box .form{
display: flex;
border:1px solid #f1f1f1;
border-radius: 8rpx;
height: 40px;
padding: 0 0 0 28rpx;
align-items: center;
background: #f1f1f1;
position: relative;
box-sizing: border-box;
}
.search-box .form .search{
display: inline-flex;
flex: 0 0 30rpx;
width: 30rpx;
height: 30rpx;
}
.search-box .form .input{
display: inline-flex;
padding: 0rpx 0 0rpx 14rpx;
width: calc(100vw - 210rpx);
color: #ccc;
}
.search-type .search-box .top{
display: flex;
align-items: center;
padding-left: 30rpx;
}
.search-type .search-box .top .form{
display: inline-flex;
flex: 1;
}
.search-type .search-box{
padding-right: 0;
padding-left: 0
}
.search-type .search-box .form input{
padding: 0rpx 0 0rpx 14rpx;
width: calc(100vw - 300rpx);
}
.search-type .search-box .top .btn{
display: inline-flex;
width: 112rpx;
font-size: 26rpx;
color: #666;
justify-content: center;
height: 80rpx;
align-items: center;
}
/* .search-box .form .close{
display: inline-flex;
flex: 0 0 70rpx;
width: 70rpx;
height: 80rpx;
align-items: center;
justify-content: center;
position: absolute;
right: 0;
top: 0;
background: transparent;
}
.search-box .form .close image{
width: 22rpx;
height: 22rpx;
} */
.search-box .form .clear{
position: absolute;
right: 0;
top: 50%;
padding: 30rpx;
transform: translateY(-50%);
}
.search-box .form .clear .close{
width: 28rpx;
height: 28rpx;
border-radius: 50%;
background: #c2c2c2;
padding: 7rpx;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.search-box .form .clear .close image{
width: 12rpx;
height: 12rpx;
}
.search-box .history{
padding: 20rpx 0 20rpx 30rpx;
border-top: 1px solid #e8e8e8;
margin-top: 30rpx;
}
.search-box .history .i{
display: inline-flex;
margin-right: 40rpx;
font-size: 24rpx;
color: #333333;
}
.search-box .history .i:last-child{
margin-right: 0
}
.search-box .history .name{
color: #999;
margin-bottom: 10rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.search-box .history .del-btn{
display:inline-flex;
padding: 20rpx 30rpx;
}
.search-box .history .del-btn image{
width: 26rpx;
height: 26rpx;
}
.city-list{
padding-bottom: 40rpx;
padding-left: 60rpx;
}
.city-list .letter-title{
font-size: 28rpx;
color: #ffc05f;
line-height: 30rpx;
padding-top: 30rpx;
}
.city-list .text{
font-size: 24rpx;
color: #666;
padding: 30rpx 30rpx 30rpx 0rpx;
border-bottom: 1px solid #e8e8e8;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.letter-box{
padding: 30rpx 0 30rpx 20rpx;
width: 70rpx;
box-sizing: border-box;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
z-index: 10;
font-size: 20rpx;
color: #333;
background: transparent;
}
.letter-box .item{
line-height: 28rpx;
text-align: center;
}
.letter-box .item.active{
color: #ffc05f;
}
.footer-btn{
padding: 20px 30rpx;
border-top: 1px solid #e8e8e8;
display: flex;
justify-content: space-between;
}
.footer-btn .btn{
display: inline-flex;
width: 416rpx;
bottom: 38rpx;
height: 44px;
border-radius: 10rpx;
font-size: 28rpx;
color: #333;
line-height: 44px;
text-align: center;
z-index: 10;
border:1px solid rgb(230, 230, 230);
justify-content: center;
}
.footer-btn .back{
width: 100%;
background: #f2f2f2;
}
.footer-btn .add-btn{
display: inline-flex;
border-color: rgb(98, 177, 255);
color: #62b1ff;
flex: 1;
margin-left: 30rpx;
align-items: center;
}
.plus{
margin-right: 20rpx;
display: inline-flex;
position: relative;
width: 26rpx;
height: 26rpx;
justify-content: center;
align-items: center;
}
.plus::before,.plus::after{
display: block;
content: "";
width: 4rpx;
height: 26rpx;
background: #62b1ff;
border-radius: 4rpx;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%)
}
.plus::after{
transform:translate(-50%,-50%) rotateZ(90deg);
transform-origin: center;
}
.scroll-box{
display: flex;
font-size: 0;
border-top: 1px solid #e8e8e8;
position: relative;
vertical-align: top
}
.scroll-box .country{
display: inline-block;
width: 220rpx;
background: #f2f2f2;
}
.country .item{
font-size: 24rpx;
color: #333;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 10rpx;
line-height: 108rpx;
}
.country .item.active{
background: #fff;
color: #bc302e;
}
.text.active{
color: #bc302e;
}
.scroll-box .city{
display: inline-block;
width: calc(100% - 220rpx);
}
.scroll{
height: 80vh;
}
.searchSuggestList{
border-top: 1px solid #e8e8e8;
padding: 0 30rpx;
margin-top: 30rpx;
}
.searchSuggestList .item{
border-bottom: 1px solid #e8e8e8;
padding: 34rpx 20rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #333;
font-size: 26rpx;
}
.nocity{
margin-top: 30rpx;
border-top: 1px solid #e8e8e8;
padding: 190rpx 30rpx 0;
text-align: center;
font-size: 24rpx;
color: #999;
}
.nocity image{
width: 158rpx;
height: 110rpx;
}
.nocity .titles{
margin: 18rpx 0 20rpx;
font-size: 30rpx;
color: #666;
}
.nocity .add-btn{
margin-top: 300rpx;
display: block;
height: 88rpx;
line-height: 88rpx;
background: #62b1ff;
color: #fff;
font-size: 28rpx;
border-radius: 10rpx;
}
.nocity .plus::after,.nocity .plus::before{
background: #fff;
}