GLForm.wxss
2.04 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
/* packageEquity/pages/carEquity/components/GLForm/GLForm.wxss */
.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: right;
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;
}
.picker {
display: flex;
flex-direction: row-reverse;
height: var(--fontSize80);
line-height: var(--fontSize80);
text-align: right;
}
.placeholder {
font-weight: 400;
font-size: var(--fontSize28);
color: #b6b6b8;
}
.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;
}
.brand {
text-align: right;
padding: var(--fontSize40) 0;
}
.gl-form .van-field__control--disabled {
color: #666666;
-webkit-text-fill-color: #666666;
}
.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) {
} */