index.module.less 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .style {
  2. display: flex;
  3. flex-flow: column wrap;
  4. align-content: space-between;
  5. padding: 0 14px;
  6. // column-count: 2;
  7. // column-gap: 8px;
  8. }
  9. .styleItem {
  10. width: 168px;
  11. overflow: hidden;
  12. box-shadow: 0px 2px 10px 0px rgba(229, 229, 229, 0.1);
  13. border-radius: 8px;
  14. background-color: #fff;
  15. margin-bottom: 12px;
  16. .styleImg {
  17. position: relative;
  18. }
  19. .img {
  20. width: 168px;
  21. height: 168px;
  22. &.first {
  23. height: 222px;
  24. }
  25. }
  26. .userInfo {
  27. padding: 14px 10px;
  28. }
  29. .userInfo,
  30. .user {
  31. display: flex;
  32. align-items: center;
  33. justify-content: space-between;
  34. }
  35. .user {
  36. .userImg {
  37. width: 16px;
  38. height: 16px;
  39. border-radius: 50%;
  40. overflow: hidden;
  41. margin-right: 5px;
  42. }
  43. span {
  44. font-size: 12px;
  45. color: #333333;
  46. line-height: 17px;
  47. max-width: 70px;
  48. overflow: hidden;
  49. white-space: nowrap;
  50. text-overflow: ellipsis;
  51. }
  52. }
  53. .lookNum {
  54. font-size: 12px;
  55. color: #999999;
  56. line-height: 17px;
  57. }
  58. }