[new feature] Search: update style, add new prop shape、label (#2788)
This commit is contained in:
@@ -2,14 +2,33 @@
|
||||
|
||||
.van-search {
|
||||
display: flex;
|
||||
padding: 7px 15px;
|
||||
padding: 10px 16px;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
|
||||
&__content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
background-color: @search-background-color;
|
||||
border-radius: 2px;
|
||||
padding-left: 10px;
|
||||
|
||||
&--round {
|
||||
border-radius: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
&__label {
|
||||
font-size: 14px;
|
||||
color: @text-color;
|
||||
line-height: 34px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.van-cell {
|
||||
flex: 1;
|
||||
padding: 3px 10px;
|
||||
border-radius: 4px;
|
||||
padding: 5px 10px 5px 0;
|
||||
background-color: transparent;
|
||||
|
||||
&__left-icon {
|
||||
color: @gray-dark;
|
||||
@@ -32,8 +51,8 @@
|
||||
&__action {
|
||||
padding: 0 10px;
|
||||
font-size: 14px;
|
||||
line-height: 30px;
|
||||
color: @gray-darker;
|
||||
line-height: 34px;
|
||||
color: @text-color;
|
||||
|
||||
&:active {
|
||||
background-color: @active-color;
|
||||
|
||||
Reference in New Issue
Block a user