mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
* add input * remove file * 更名为 field 组件 && 增加圆角主题 * 调整 field title 宽度 * 增加 input 回调逻辑 * remove form
40 lines
597 B
Plaintext
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;
|
|
}
|