IndexList.wxss
1.32 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
/* components/CarBrands/CarBrands.wxss */
.car-brands-box {
width: 100%;
height: 100%;
}
.car-brands {
height: calc(100% - 104rpx);
position: relative;
}
.y-center {
display: flex;
align-items: center;
}
.car-brands .title {
background: #F7F8FA;
font-size: 24rpx;
color: #969799;
padding-left: 32rpx;
height: 64rpx;
/* position: sticky;
left: 0;
top: 0;
z-index: 998; */
}
.list {
height: 88rpx;
padding-left: 32rpx;
font-weight: 500;
}
.list .icon{
width: 40rpx;
height: 40rpx;
margin-right: 20rpx;
}
.active{
color: var(--btnColor);
}
.side-bar {
z-index: 999;
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 24rpx;
color: #4c4c4c;
width: 10%;
opacity: 0;
animation: show-side-bar .5s forwards ;
}
@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: 140rpx;
height: 140rpx;
border-radius: 50%;
color: #fff;
background: rgba(153, 153, 153, 0.7);
z-index: 9999;
font-size: 60rpx;
font-weight: 500;
display: flex;
align-items: center;
justify-content: center;
}
.nothing{
padding: 100rpx;
text-align: center;
color: #999;
}