sd.module.scss 960 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .sd-img-list{
  2. display: flex;
  3. flex-wrap: wrap;
  4. justify-content: space-between;
  5. .sd-img-item{
  6. width: 48%;
  7. .sd-img-item-info{
  8. flex:1;
  9. width: 100%;
  10. overflow: hidden;
  11. user-select: text;
  12. p{
  13. margin: 6px;
  14. font-size: 12px;
  15. }
  16. .line-1{
  17. overflow: hidden;
  18. white-space: nowrap;
  19. text-overflow: ellipsis;
  20. }
  21. }
  22. .pre-img{
  23. display: flex;
  24. width: 130px;
  25. justify-content: center;
  26. align-items: center;
  27. background-color: var(--second);
  28. border-radius: 10px;
  29. }
  30. .img{
  31. width: 130px;
  32. height: 130px;
  33. border-radius: 10px;
  34. overflow: hidden;
  35. cursor: pointer;
  36. transition: all .3s;
  37. &:hover{
  38. opacity: .7;
  39. }
  40. }
  41. &:not(:last-child){
  42. margin-bottom: 20px;
  43. }
  44. }
  45. }
  46. @media only screen and (max-width: 600px) {
  47. .sd-img-list{
  48. .sd-img-item{
  49. width: 100%;
  50. }
  51. }
  52. }