[new feature] Field: add click-left-icon event (#2605)

This commit is contained in:
neverland
2019-01-24 22:32:47 +08:00
committed by GitHub
parent 3e27b93351
commit 368cb51dba
8 changed files with 71 additions and 35 deletions
+12 -3
View File
@@ -53,7 +53,7 @@
}
&__clear,
&__icon {
&__right-icon {
padding: 0 10px;
line-height: inherit;
margin-right: -10px;
@@ -64,13 +64,22 @@
font-size: 16px;
}
&__icon .van-icon {
&__left-icon .van-icon,
&__right-icon .van-icon {
display: block;
min-width: 1em;
font-size: 16px;
color: @gray-dark;
line-height: inherit;
}
&__left-icon {
margin-right: 5px;
}
&__right-icon {
color: @gray-dark;
}
&__button {
padding-left: 10px;
}