index.wxss
2.86 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
.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-search {
align-items: center;
box-sizing: border-box;
padding: 10px 12px;
padding: var(--search-padding,10px 12px);
}
.van-search,.van-search__content {
display: flex;
}
.van-search__content {
flex: 1;
padding-left: 8px;
padding-left: var(--padding-xs,8px);
border-radius: 2px;
border-radius: var(--border-radius-sm,2px);
background-color: #f7f8fa;
background-color: var(--search-background-color,#f7f8fa);
}
.van-search__content--round {
border-radius: 17px;
border-radius: calc(var(--search-input-height, 34px)/2);
}
.van-search__label {
padding: 0 5px;
padding: var(--search-label-padding,0 5px);
font-size: 14px;
font-size: var(--search-label-font-size,14px);
line-height: 34px;
line-height: var(--search-input-height,34px);
color: #323233;
color: var(--search-label-color,#323233);
}
.van-search__field {
flex: 1;
}
.van-search__field__left-icon {
color: #969799;
color: var(--search-left-icon-color,#969799);
}
.van-search--withaction {
padding-right: 0;
}
.van-search__action {
padding: 0 8px;
padding: var(--search-action-padding,0 8px);
font-size: 14px;
font-size: var(--search-action-font-size,14px);
line-height: 34px;
line-height: var(--search-input-height,34px);
color: #323233;
color: var(--search-action-text-color,#323233);
}
.van-search__action--hover {
background-color: #f2f3f5;
background-color: var(--active-color,#f2f3f5);
}