index.wxss
3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
@import '../common/index.wxss';
.van-field {
--cell-icon-size: 16px;
--cell-icon-size: var(--field-icon-size, 16px);
margin-bottom: 20rpx;
}
.van-field__label {
color: #646566;
color: var(--field-label-color, #646566)
}
.van-field__label--disabled {
color: #c8c9cc;
color: var(--field-disabled-text-color, #c8c9cc)
}
.van-field__body {
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center
}
.van-field__body--textarea {
padding: 3.6px 0;
line-height: 1.2em
}
.van-field__body--textarea,
.van-field__input {
box-sizing: border-box;
min-height: 24px;
min-height: var(--cell-line-height, 24px)
}
.van-field__input {
position: relative;
display: block;
width: 100%;
margin: 0;
padding: 0;
line-height: inherit;
text-align: left;
background-color: initial;
border: 0;
resize: none;
color: #323233;
color: var(--field-input-text-color, #323233);
height: 24px;
height: var(--cell-line-height, 24px)
}
.van-field__input--textarea {
height: 18px;
height: var(--field-text-area-min-height, 18px);
min-height: 18px;
min-height: var(--field-text-area-min-height, 18px)
}
.van-field__input--error {
color: #ee0a24;
color: var(--field-input-error-text-color, #ee0a24)
}
.van-field__input--disabled {
background-color: initial;
opacity: 1;
color: #c8c9cc;
color: var(--field-input-disabled-text-color, #c8c9cc)
}
.van-field__input--center {
text-align: center
}
.van-field__input--right {
text-align: right
}
.van-field__placeholder {
position: absolute;
top: 0;
right: 0;
left: 0;
pointer-events: none;
color: #c8c9cc;
color: var(--field-placeholder-text-color, #c8c9cc)
}
.van-field__placeholder--error {
color: #ee0a24;
color: var(--field-error-message-color, #ee0a24)
}
.van-field__icon-root {
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
min-height: 24px;
min-height: var(--cell-line-height, 24px)
}
.van-field__clear-root,
.van-field__icon-container {
line-height: inherit;
vertical-align: middle;
padding: 0 8px;
padding: 0 var(--padding-xs, 8px);
margin-right: -8px;
margin-right: -var(--padding-xs, 8px)
}
.van-field__button,
.van-field__clear-root,
.van-field__icon-container {
-webkit-flex-shrink: 0;
flex-shrink: 0
}
.van-field__clear-root {
font-size: 16px;
font-size: var(--field-clear-icon-size, 16px);
color: #c8c9cc;
color: var(--field-clear-icon-color, #c8c9cc)
}
.van-field__icon-container {
font-size: 16px;
font-size: var(--field-icon-size, 16px);
color: #969799;
color: var(--field-icon-container-color, #969799)
}
.van-field__icon-container:empty {
display: none
}
.van-field__button {
padding-left: 8px;
padding-left: var(--padding-xs, 8px)
}
.van-field__button:empty {
display: none
}
.van-field__error-message {
text-align: left;
font-size: 12px;
font-size: var(--field-error-message-text-font-size, 12px);
color: #ee0a24;
color: var(--field-error-message-color, #ee0a24)
}
.van-field__error-message--center {
text-align: center
}
.van-field__error-message--right {
text-align: right
}
.van-field__word-limit {
text-align: right;
margin-top: 4px;
margin-top: var(--padding-base, 4px);
color: #646566;
color: var(--field-word-limit-color, #646566);
font-size: 12px;
font-size: var(--field-word-limit-font-size, 12px);
line-height: 16px;
line-height: var(--field-word-limit-line-height, 16px)
}
.van-field__word-num {
display: inline
}
.van-field__word-num--full {
color: #ee0a24;
color: var(--field-word-num-full-color, #ee0a24)
}