* [bugfix] CouponList always show empty info * [bugfix] add click feedback of buttons in components * [Doc] add custom theme document * [new feature] Notice bar support more props * [bugfix] PullRefresh test cases * [bugfix] unused NoticeBar style * [bugfix] Swipe width calc error * [Doc] english document of all action components * [Doc] change document site path to /zanui/vant * [Doc] fix * [bugfix] uploader style error * [bugfix] tabs document demo * [new feature] Cell support vue-router target route * [bugfix] add cell test cases * update yarn.lock * [bugfix] Tabbar cann't display info when use icon slot * [Doc] update document title * [bugfix] Dialog should reset button text when showed * [new feature] CouponList add showCloseButton prop * [new feature] Swipe add 'initialSwipe' prop * [bugfix] NoticeBar text disappeared when page back * [new feature] ImagePreview support startPosition * fix: improve imagePreview test cases * [bugfix] Steps style error when has more than 4 items * [new feature] normalize size of all icons * [new feature] Stepper add plus & minus event * fix: yarn.lock * [bugfix] addressEdit icon render failed
102 lines
1.3 KiB
CSS
102 lines
1.3 KiB
CSS
@import './common/var.css';
|
|
|
|
.van-field {
|
|
|
|
width: 100%;
|
|
|
|
.van-cell__title,
|
|
.van-cell__value {
|
|
float: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.van-cell__title {
|
|
width: 90px;
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 0;
|
|
}
|
|
|
|
.van-cell__value {
|
|
width: 100%;
|
|
padding-left: 90px;
|
|
}
|
|
|
|
&--has-textarea {
|
|
.van-field__control {
|
|
min-height: 60px;
|
|
}
|
|
}
|
|
|
|
&--nolabel {
|
|
.van-cell__title {
|
|
display: none;
|
|
}
|
|
|
|
.van-cell__value {
|
|
width: 100%;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
|
|
&--disabled {
|
|
.van-field__control {
|
|
color: $gray-dark;
|
|
}
|
|
}
|
|
|
|
&--error {
|
|
.van-field__control {
|
|
&,
|
|
&::placeholder {
|
|
color: $red;
|
|
}
|
|
}
|
|
}
|
|
|
|
&--border {
|
|
.van-field__control {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
&::after {
|
|
border-radius: 2px;
|
|
}
|
|
}
|
|
|
|
&--autosize {
|
|
.van-field__control {
|
|
min-height: 0;
|
|
}
|
|
}
|
|
|
|
&--has-icon {
|
|
.van-field__control {
|
|
width: 90%;
|
|
}
|
|
}
|
|
|
|
&__control {
|
|
border: 0;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
display: block;
|
|
width: 100%;
|
|
resize: none;
|
|
}
|
|
|
|
&__icon {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
transform: translate3d(0, -50%, 0);
|
|
padding: 10px;
|
|
|
|
.van-icon {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|