demo.wxss
1.3 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
/* pages/demo/demo.wxss */
.box{
height: 80rpx;
display: flex;
align-items: center;
position: relative;
padding-right: 80rpx;
box-sizing: border-box;
background-color: #fff;
z-index: 9;
}
.item{
width: auto;
padding: 10rpx;
font-size: 26rpx;
box-sizing: border-box;
height: 60rpx;
border: 1rpx solid #dadae6;
display: inline-block;
margin-left: 20rpx;
}
.scroll{
white-space: nowrap;
}
.arrow{
width: 80rpx;
height: 86rpx;
position: absolute;
top: -2rpx;
right:-2rpx;
z-index: 99;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
transform: rotateZ(90deg);
box-sizing: border-box;
}
.arrow image{
width: 16rpx;
height: 20rpx;
}
.pullDownBox{
position: absolute;
top: 80rpx;
left: 0;
height: auto;
padding: 10rpx;
padding-bottom: 0;
background: #fff;
z-index: 9;
}
.mainClassify{
font-size: 24rpx;
padding: 10rpx;
padding-top: 0;
}
.downItem{
width: auto;
height: 40rpx;
border-radius: 8rpx;
border: 1rpx solid #dadae6;
margin-right: 20rpx;
display: inline-block;
padding: 6rpx 20rpx;
font-size: 24rpx;
margin-bottom: 10rpx;
}
.mask{
width: 100%;
height: 100%;
background-color: black;
opacity: 0.5;
position: absolute;
top: 0;
left: 0;
z-index: 6;
}