mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
63 lines
1.0 KiB
Plaintext
63 lines
1.0 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__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;
|
|
}
|