GLCustForm.wxss
2.97 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
/* components/GLCustForm/GLCustForm.wxss */
.form-group-title {
display: flex;
align-items: center;
padding: 24rpx 0;
font-size: 32rpx;
font-weight: bold;
color: #333333;
}
.form-group-title .blue-bar {
width: 6rpx;
height: 28rpx;
background-color: #2f63f8;
border-radius: 4rpx;
margin-right: 16rpx;
}
.input-box {
display: flex;
align-items: center;
justify-content: space-between;
align-items: center;
--cell-line-height: calc(28vmin / 7.5) !important;
min-width: 0; /* 防止 flex 子元素溢出 */
}
.textarea {
text-align: left;
font-size: var(--fontSize28) !important;
flex: 1;
min-width: 0; /* 允许 flex 子元素收缩 */
overflow: hidden; /* 防止内容溢出 */
}
.input-suffix {
/* height: var(--fontSize88);
line-height: var(--fontSize88); */
/* height: var(--fontSize132);
line-height: var(--fontSize132); */
margin-left: var(--fontSize12);
flex-shrink: 0; /* 防止被压缩 */
white-space: nowrap; /* 防止换行 */
}
.placeholder-class {
color: #c3c3c3;
text-align: left;
flex: 1;
}
.picker {
display: flex;
flex-direction: row-reverse;
height: var(--fontSize80);
line-height: var(--fontSize80);
}
.placeholder {
font-weight: 400;
font-size: var(--fontSize28);
color: #b6b6b8;
text-align: left;
flex: 1;
}
.gl-form .arrow {
width: var(--fontSize28);
height: var(--fontSize26);
margin-top: var(--fontSize26);
flex-shrink: 0;
}
.text-hide {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.picker .text-hide {
text-align: left;
flex: 1;
}
.brand {
text-align: left;
padding: var(--fontSize40) 0;
flex: 1;
}
.gl-form .van-field__control--disabled {
color: #666666;
-webkit-text-fill-color: #666666;
}
.form-disabled .van-field__control--disabled {
color: #00000042;
-webkit-text-fill-color: #00000042;
}
.form-disabled .text-hide {
color: #00000042;
}
.form-disabled .placeholder {
color: #00000042;
}
.item-disabled .van-field__control--disabled {
color: #00000042;
-webkit-text-fill-color: #00000042;
}
.item-disabled .text-hide {
color: #00000042;
}
.item-disabled .placeholder {
color: #00000042;
}
.item-disabled .placeholder-class {
color: #00000042;
}
.item-disabled .brand view {
color: #00000042;
}
.form-disabled .brand view {
color: #00000042;
}
.input-box .textarea input {
height: var(--fontSize72);
}
.gl-form .van-cell--borderless {
padding: var(--fontSize10) 0 !important;
}
.between .van-cell--borderless {
padding: var(--fontSize30) 0 !important;
}
.gl-form .scan-box {
width: var(--fontSize60);
height: var(--fontSize40);
border-radius: var(--fontSize32);
opacity: 1;
background: #f2f2f2;
align-items: center;
justify-content: center;
display: flex;
margin-left: var(--fontSize16);
flex-shrink: 0; /* 防止被压缩 */
}
.gl-form .scan-box .scan-icon {
width: var(--fontSize28);
height: var(--fontSize28);
}
/* @media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
} */