index.wxss
2.42 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
.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-progress {
position: relative;
height: 4px;
height: var(--progress-height,4px);
border-radius: 4px;
border-radius: var(--progress-height,4px);
background: #ebedf0;
background: var(--progress-background-color,#ebedf0);
}
.van-progress__portion {
position: absolute;
left: 0;
height: 100%;
border-radius: inherit;
background: #1989fa;
background: var(--progress-color,#1989fa);
}
.van-progress__pivot {
position: absolute;
top: 50%;
right: 0;
box-sizing: border-box;
min-width: 2em;
text-align: center;
word-break: keep-all;
border-radius: 1em;
transform: translateY(-50%);
color: #fff;
color: var(--progress-pivot-text-color,#fff);
padding: 0 5px;
padding: var(--progress-pivot-padding,0 5px);
font-size: 10px;
font-size: var(--progress-pivot-font-size,10px);
line-height: 1.6;
line-height: var(--progress-pivot-line-height,1.6);
background-color: #1989fa;
background-color: var(--progress-pivot-background-color,#1989fa);
}