MenuBox.wxss 931 Bytes
.menu-box {
  background: #ffffff;
  border-radius: 8rpx;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-around; */
  padding: 30rpx 16rpx;
}

.menu-item-box {
  width: 128rpx;
  height: 116rpx;
  text-align: center;
  margin-right: 4rpx;
}

.menu-item-box:nth-child(5n) {
  margin-right: 0;
}

.menu-item-box:nth-child(n + 6) {
  margin-top: 32rpx;
}

.menu-item-icon {
  width: 72rpx;
  height: 72rpx;
  border-radius: 72rpx;
}

.menu-item-text {
  font-weight: 400;
  font-size: 24rpx;
  color: #282829;
  text-align: center;
  margin-top: 12rpx;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.menu-item {
  position: relative;
}

.menu-item .ranle_sing {
  position: absolute;
  left: 58rpx;
  top: -8rpx;
  display: inline-block;
  white-space: nowrap;
  padding: 2rpx 10rpx;
  background: #f5222d;
  border-radius: 16rpx;
  font-weight: 400;
  font-size: 20rpx;
  color: #f9fafb;
}