MenuBox.wxss
801 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
47
48
49
50
51
52
.menu-box {
background: #ffffff;
border-radius: 8rpx;
display: flex;
flex-wrap: wrap;
/* justify-content: space-around; */
padding: 30rpx 34rpx 30rpx 36rpx;
}
.menu-item-box {
width: 128rpx;
height: 116rpx;
text-align: center;
margin-right: 36rpx;
}
.menu-item-box:nth-child(4n) {
margin-right: 0;
}
.menu-item-box:nth-child(n+5) {
margin-top: 32rpx;
}
.menu-item-icon {
width: 72rpx;
height: 72rpx;
}
.menu-item-text {
font-weight: 400;
font-size: 24rpx;
color: #282829;
text-align: center;
margin-top: 12rpx;
}
.menu-item {
position: relative;
}
.menu-item .ranle_sing {
position: absolute;
right: -4rpx;
top: -8rpx;
padding: 2rpx 10rpx;
background: #F5222D;
border-radius: 16rpx;
font-weight: 400;
font-size: 20rpx;
color: #F9FAFB;
}