index.wxss
902 Bytes
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
.scenario-menu {
width: 100%;
height: 88rpx;
/* overflow-x: auto; */
-webkit-overflow-scrolling: touch;
}
.scenario-menu::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
color: transparent;
}
.scenario-menu .menu-list {
padding: 0 20rpx;
display: inline-block;
white-space: nowrap;
box-sizing: border-box;
}
.scenario-menu .menu-list .menu-item {
display: inline-block;
width: 150rpx;
text-align: center;
line-height: 80rpx;
font-weight: 400;
font-size: 28rpx;
color: #323436;
}
.scenario-menu .menu-list .menu-item.menu-active {
position: relative;
font-weight: 600;
width: 190rpx;
font-size: 36rpx;
color: #323436;
}
.menu-active::after {
display: inline-block;
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 40rpx;
height: 8rpx;
background-color: #5850FF;
border-radius: 4rpx;
}