subject-list.module.less 834 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .subjectList {
  2. display: flex;
  3. align-items: center;
  4. flex-wrap: wrap;
  5. }
  6. .subject {
  7. --van-checkbox-border-color: transparent;
  8. position: relative;
  9. padding-left: 13px;
  10. margin-top: 20px;
  11. :global {
  12. .van-checkbox {
  13. position: absolute;
  14. top: 6px;
  15. right: 6px;
  16. z-index: 9;
  17. height: 25px;
  18. }
  19. }
  20. .iconChecked {
  21. font-size: 18px;
  22. border: 1px solid transparent;
  23. :global {
  24. .van-icon__image {
  25. width: 100%;
  26. height: 100%;
  27. }
  28. }
  29. }
  30. .img {
  31. width: 108px;
  32. height: 108px;
  33. border-radius: 8px;
  34. overflow: hidden;
  35. background-color: #fff;
  36. }
  37. .name {
  38. padding-top: 6px;
  39. font-size: 16px;
  40. font-weight: 500;
  41. color: #333333;
  42. max-width: 108px;
  43. overflow: hidden;
  44. text-overflow: ellipsis;
  45. white-space: nowrap;
  46. }
  47. }