vant-weapp/dist/field/index.wxss
Yao b05249d96a [breaking change] Field & Form: 新增 Field 组件 (#37)
* add input

* remove file

* 更名为 field 组件 && 增加圆角主题

* 调整 field title 宽度

* 增加 input 回调逻辑

* remove form
2017-10-26 16:03:02 +08:00

40 lines
597 B
Plaintext

@import '../cell/index.wxss';
.zan-field--wrapped {
margin: 0 15px;
border: 1rpx solid #e5e5e5;
border-radius: 8rpx;
background-color: #fff;
}
.zan-field--wrapped::after {
border: 0rpx;
}
.zan-field--wrapped + .zan-field--wrapped {
margin-top: 10px;
}
.zan-field--error {
/* 圆角输入框时,将边框也置红 */
border-color: #f40;
color: #f40;
}
.zan-field__title {
color: #333;
min-width: 62px;
padding-right: 10px;
}
.zan-field__input {
line-height: 30px;
height: 30px;
min-height: 30px;
flex: 1;
}
.zan-field__input--right {
text-align: right;
}