mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
90 lines
1.5 KiB
Plaintext
90 lines
1.5 KiB
Plaintext
.zan-search {
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: transparent;
|
|
padding:5px 10px;
|
|
}
|
|
|
|
.zan-search.center-placeholder {
|
|
background: #ffffff;
|
|
}
|
|
|
|
.zan-search.center-placeholder .zan-search__form {
|
|
margin-left: 50%;
|
|
transform: translateX(-50%);
|
|
border: none;
|
|
}
|
|
|
|
.zan-search.zan-cell::after {
|
|
display: none;
|
|
}
|
|
|
|
.zan-search__form {
|
|
display: flex;
|
|
flex: 1;
|
|
background:#ffffff;
|
|
border-radius: 4rpx;
|
|
height: 64rpx;
|
|
line-height: 56rpx;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.zan-search picker {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
padding-right: 20rpx;
|
|
}
|
|
|
|
.zan-search__form .picker {
|
|
position: relative;
|
|
width: 110rpx;
|
|
height: 100%;
|
|
color: #666;
|
|
font-size: 28rpx;
|
|
margin-left: 20rpx;
|
|
}
|
|
.zan-search__form .picker::after {
|
|
content: '';
|
|
width: 0;
|
|
height: 0;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
margin-top: -6rpx;
|
|
border-top: 12rpx solid #333;
|
|
border-right: 8rpx solid transparent;
|
|
border-left: 8rpx solid transparent;
|
|
}
|
|
.zan-search__form input {
|
|
height: 100%;
|
|
flex: 1;
|
|
padding: 0 20rpx;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
}
|
|
.zan-search__form icon {
|
|
margin-left: 20rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.zan-search__clear {
|
|
padding: 12rpx 20rpx;
|
|
}
|
|
|
|
.zan-search__placeholder {
|
|
font-size: 28rpx;
|
|
color: #cacaca;
|
|
}
|
|
.zan-search__cancel {
|
|
align-self: stretch;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding-left: 30rpx;
|
|
font-size: 28rpx;
|
|
color: #3388FF;
|
|
}
|