[new feature] Field: add error-message prop (#492)

This commit is contained in:
neverland
2017-12-29 14:48:19 +08:00
committed by GitHub
parent d79cf0c1ed
commit ef01dd5321
5 changed files with 62 additions and 7 deletions

View File

@@ -22,6 +22,12 @@
padding-left: 90px;
}
&__error-message {
color: $red;
font-size: 12px;
text-align: left;
}
&--has-textarea {
.van-field__control {
min-height: 60px;