index.wxss
3.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
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
.van-ellipsis {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.van-multi-ellipsis--l2 {
-webkit-line-clamp: 2;
}
.van-multi-ellipsis--l2,.van-multi-ellipsis--l3 {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
}
.van-multi-ellipsis--l3 {
-webkit-line-clamp: 3;
}
.van-clearfix:after {
display: table;
clear: both;
content: "";
}
.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom {
position: relative;
}
.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after {
position: absolute;
box-sizing: border-box;
transform-origin: center;
content: " ";
pointer-events: none;
top: -50%;
right: -50%;
bottom: -50%;
left: -50%;
border: 0 solid #eee;
transform: scale(.5);
}
.van-hairline--top:after {
border-top-width: 1px;
}
.van-hairline--left:after {
border-left-width: 1px;
}
.van-hairline--right:after {
border-right-width: 1px;
}
.van-hairline--bottom:after {
border-bottom-width: 1px;
}
.van-hairline--top-bottom:after {
border-width: 1px 0;
}
.van-hairline--surround:after {
border-width: 1px;
}
.van-picker {
position: relative;
overflow: hidden;
-webkit-text-size-adjust: 100%;
user-select: none;
background-color: #fff;
background-color: var(--picker-background-color,#fff);
}
.van-picker__toolbar {
display: flex;
justify-content: space-between;
height: 44px;
height: var(--picker-toolbar-height,44px);
line-height: 44px;
line-height: var(--picker-toolbar-height,44px);
}
.van-picker__cancel,.van-picker__confirm {
padding: 0 16px;
padding: var(--picker-action-padding,0 16px);
font-size: 14px;
font-size: var(--picker-action-font-size,14px);
color: #1989fa;
color: var(--picker-action-text-color,#1989fa);
}
.van-picker__cancel--hover,.van-picker__confirm--hover {
background-color: #f2f3f5;
background-color: var(--picker-action-active-color,#f2f3f5);
}
.van-picker__title {
max-width: 50%;
text-align: center;
font-weight: 500;
font-weight: var(--font-weight-bold,500);
font-size: 16px;
font-size: var(--picker-option-font-size,16px);
}
.van-picker__columns {
position: relative;
display: flex;
}
.van-picker__column {
flex: 1 1;
width: 0;
}
.van-picker__loading {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 4;
display: flex;
align-items: center;
justify-content: center;
background-color: hsla(0,0%,100%,.9);
background-color: var(--picker-loading-mask-color,hsla(0,0%,100%,.9));
}
.van-picker__frame,.van-picker__loading .van-loading {
position: absolute;
top: 50%;
left: 0;
z-index: 1;
width: 100%;
transform: translateY(-50%);
pointer-events: none;
}