仿互站小程序
This commit is contained in:
104
vant/field/index.wxss
Normal file
104
vant/field/index.wxss
Normal file
@@ -0,0 +1,104 @@
|
||||
@import "../area/index.wxss";
|
||||
|
||||
.van-field__body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.van-field__body--textarea {
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
.van-field__input {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 24px;
|
||||
min-height: 24px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
line-height: inherit;
|
||||
color: #333;
|
||||
text-align: left;
|
||||
background-color: initial;
|
||||
border: 0;
|
||||
box-sizing: border-box;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.van-field__input--disabled {
|
||||
color: #999;
|
||||
background-color: initial;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.van-field__input--center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.van-field__input--right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.van-field__placeholder {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
color: #999;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.van-field__placeholder--error {
|
||||
color: #f44;
|
||||
}
|
||||
|
||||
.van-field__icon-root {
|
||||
display: flex;
|
||||
min-height: 24px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.van-field__clear-root,.van-field__icon-container {
|
||||
padding: 0 10px;
|
||||
margin-right: -10px;
|
||||
line-height: inherit;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.van-field__button,.van-field__clear-root,.van-field__icon-container {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.van-field__clear-root {
|
||||
color: #c9c9c9;
|
||||
}
|
||||
|
||||
.van-field__icon-container {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.van-field__icon-container:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.van-field__button {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.van-field__button:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.van-field__error-message {
|
||||
font-size: 12px;
|
||||
color: #f44;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.van-field__error-message--center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.van-field__error-message--right {
|
||||
text-align: right;
|
||||
}
|
Reference in New Issue
Block a user