.allBooks { /* margin-top: 44rpx; */ display: flex; flex-direction: row; flex-wrap: wrap; } .book{ width: 214rpx; display: flex; text-align: center; flex-direction: column; margin-left: 28rpx; margin-top: 44rpx; } .book image{ display: block; width: 214rpx; height: 290rpx; } .book text{ margin-top: 20rpx; width: 214rpx; height: 38rpx; font-size: 28rpx; color:#373737; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }