.detail-box { padding: 0rpx 24rpx; margin-top: 24rpx; box-sizing: border-box; width: 100%; } .detail-item { width: 160rpx; height: 204rpx; display: inline-block; margin: 0 20rpx 24rpx 0; border-radius: 9rpx; overflow: hidden; vertical-align: middle; } .detail-item:nth-child(4n) { margin-right: 0; } .itemHead { width: 100%; height: 160rpx; } .itemHead > image { width: 100%; height: 100%; display: inline-block; vertical-align: middle; } .item-title { text-align: center; background: #F1F1F1; color: #333333; font-size: 20rpx; line-height: 45rpx; height: 45rpx; }