MenuBox.wxss
556 Bytes
.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;
}