car-brand-picker.wxss
2.14 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
/* 对齐 packageEquity carBrands / carSeries */
.car-y-center {
display: flex;
align-items: center;
transform: translateY(0);
}
.cartips {
border-radius: var(--fontSize16);
background: #fef4e8;
color: #ff9d0a;
font-size: var(--fontSize26);
font-weight: 400;
padding: var(--fontSize8) var(--fontSize16);
margin: var(--fontSize16) var(--fontSize32) 0 var(--fontSize32);
}
.car-brands-box {
width: 100%;
height: 100vh;
}
.car-brands {
height: 100%;
position: relative;
}
.car-brands .title {
position: sticky;
top: 0;
z-index: 2;
background: #f7f8fa;
font-size: var(--fontSize24);
color: #323233;
padding-left: var(--fontSize32);
height: var(--fontSize64);
line-height: var(--fontSize64);
}
.list {
height: var(--fontSize110);
padding: 0 var(--fontSize32);
font-weight: 500;
background-color: #fff;
position: relative;
}
.list::after {
position: absolute;
box-sizing: border-box;
content: " ";
pointer-events: none;
right: var(--fontSize32);
bottom: 0;
left: var(--fontSize32);
border-bottom: var(--fontSize1) solid #ebedf0;
}
.list .icon {
width: var(--fontSize68);
height: var(--fontSize68);
margin-right: var(--fontSize8);
}
.side-bar {
z-index: 999;
position: absolute;
top: 50%;
transform: translateY(-50%);
color: #4c4c4c;
width: 10%;
opacity: 0;
animation: show-side-bar 0.5s forwards;
}
@keyframes show-side-bar {
0% {
opacity: 0;
right: -100%;
}
100% {
opacity: 1;
right: 0;
}
}
.side-bar .view {
width: 100%;
text-align: center;
}
.car-series-side-bar {
width: auto;
}
.car-series-side-bar .view {
padding: 0 var(--fontSize16) 0 var(--fontSize32);
font-size: var(--fontSize20);
width: auto;
}
.tips {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: var(--fontSize140);
height: var(--fontSize140);
border-radius: 50%;
color: #fff;
background: rgba(153, 153, 153, 0.7);
z-index: 9999;
font-size: var(--fontSize60);
font-weight: 500;
display: flex;
align-items: center;
justify-content: center;
}
.nothing {
padding: var(--fontSize100);
text-align: center;
color: #999;
}