books.wxss 470 B

123456789101112131415161718192021222324252627
  1. .allBooks {
  2. margin-top: 44rpx;
  3. display: flex;
  4. flex-direction: row;
  5. }
  6. .book{
  7. width: 214rpx;
  8. display: flex;
  9. text-align: center;
  10. flex-direction: column;
  11. margin-left: 28rpx;
  12. }
  13. .book image{
  14. display: block;
  15. width: 214rpx;
  16. height: 290rpx;
  17. }
  18. .book text{
  19. margin-top: 20rpx;
  20. width: 214rpx;
  21. height: 38rpx;
  22. font-size: 28rpx;
  23. color:#373737;
  24. text-overflow: ellipsis;
  25. overflow: hidden;
  26. white-space: nowrap;
  27. }