index.module.less 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .album {
  2. margin: 12px 0;
  3. padding: 10px;
  4. background-color: var(--music-list-item-background-color);
  5. border-radius: 10px;
  6. display: flex;
  7. position: relative;
  8. .albumType {
  9. position: absolute;
  10. left: 10px;
  11. top: 10px;
  12. background: linear-gradient(180deg, #ff8900 0%, #ff5100 100%);
  13. box-shadow: 0px 1px 2px 0px rgba(150, 13, 0, 0.11);
  14. border-radius: 10px 0px 10px 0px;
  15. font-size: 12px;
  16. padding: 0 6px;
  17. line-height: 20px;
  18. color: #ffffff;
  19. }
  20. .img {
  21. width: 98px;
  22. height: 98px;
  23. margin-right: 15px;
  24. position: relative;
  25. flex-shrink: 0;
  26. >img,
  27. >div {
  28. position: absolute;
  29. border-radius: 10px;
  30. overflow: hidden;
  31. }
  32. }
  33. .content {
  34. flex: 1;
  35. word-break: break-all;
  36. word-wrap: break-word;
  37. >h4 {
  38. font-size: 14px;
  39. font-weight: 500;
  40. color: #131415;
  41. line-height: 24px;
  42. }
  43. >p {
  44. padding-top: 2px;
  45. font-size: 12PX;
  46. color: #777777;
  47. }
  48. .footer {
  49. span {
  50. font-size: 12px;
  51. color: #FE2451;
  52. line-height: 16px;
  53. padding: 1px 6px;
  54. border-radius: 4px;
  55. border: 1px solid #FE2451;
  56. margin-right: 5px;
  57. }
  58. }
  59. }
  60. }
  61. .footer {
  62. margin-top: 11px;
  63. display: flex;
  64. >div {
  65. display: flex;
  66. align-items: center;
  67. justify-content: center;
  68. font-size: 12px;
  69. color: var(--music-list-item-mate-color);
  70. margin-right: 18px;
  71. .icon {
  72. margin-right: 5px;
  73. }
  74. span {
  75. display: block;
  76. margin-top: 1px;
  77. }
  78. }
  79. }