.top image{ width: 100%; } .main{ border-top-left-radius: 40rpx; border-top-right-radius: 40rpx; margin: -40rpx auto 0; position: relative; background-color: #fff; padding: 40rpx 20rpx; box-sizing: border-box; display: flex; flex-wrap: wrap; } .box{ flex-shrink: 0; width: 25%; text-align: center; margin-bottom: 20rpx; } .box image{ width: 80rpx; display: block; margin: 0 auto 10rpx; }