CarBrands.wxss
2.33 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
/* components/CarBrands/CarBrands.wxss */
.car-brands-box {
width: calc(100% + var(--fontSize64));
height: 100%;
margin-left: calc(-1 * var(--fontSize32));
}
.car-brands {
height: calc(100% - var(--fontSize104));
position: relative;
/* display: flex; */
}
.y-center {
display: flex;
align-items: center;
}
.car-brands .title {
background: #f7f8fa;
font-size: var(--fontSize24);
color: #969799;
padding-left: var(--fontSize32);
height: var(--fontSize64);
/* position: sticky;
left: 0;
top: 0;
z-index: 998; */
}
.list {
height: var(--fontSize88);
padding-left: var(--fontSize32);
font-size: var(--fontSize32);
font-weight: 700;
color: #323436;
}
.child {
font-weight: normal;
padding-left: var(--fontSize96);
font-size: var(--fontSize28);
color: #323436;
position: relative;
}
.child.active {
color: #347BFF;
}
.child.title {
color: #282829;
padding-left: var(--fontSize64);
/* color: #347BFF; */
}
.child .icon {
display: none;
width: var(--fontSize32);
height: var(--fontSize32);
position: absolute;
top: 50%;
left: var(--fontSize40);
transform: translateY(-50%);
}
.child.active .icon {
display: block;
}
.side-bar {
z-index: 999;
/* display: none; */
/* position: fixed; */
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: var(--fontSize24);
color: #4c4c4c;
width: 10%;
/* width: var(--fontSize452); */
opacity: 0;
animation: show-side-bar 0.5s forwards;
}
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.side-bar {
font-size: var(--fontSize12);
}
}
@keyframes show-side-bar {
0% {
opacity: 0;
right: -100%;
}
100% {
opacity: 1;
right: 0;
}
}
.side-bar .view {
width: 100%;
text-align: center;
}
.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: bold;
display: flex;
align-items: center;
justify-content: center;
}
.nothing {
padding: var(--fontSize100);
text-align: center;
color: #999;
}