item.module.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .item {
  2. background-color: var(--music-list-item-background-color);
  3. margin: 10px 14px;
  4. padding: 10px;
  5. padding-bottom: 0;
  6. border-radius: 9px;
  7. .header {
  8. display: flex;
  9. align-items: center;
  10. // border-bottom: 1px solid var(--music-list-item-border-color);
  11. padding-bottom: 12px;
  12. .mate {
  13. display: flex;
  14. flex: 1;
  15. align-items: center;
  16. .icon {
  17. width: 40px;
  18. height: 40px;
  19. border-radius: 10px;
  20. }
  21. .info {
  22. margin-left: 14px;
  23. flex: 1;
  24. margin-right: 14px;
  25. word-break: break-all;
  26. > h4 {
  27. color: var(--music-list-item-title-color);
  28. font-size: 14px;
  29. font-weight: 600;
  30. }
  31. > p {
  32. color: var(--music-list-item-mate-color);
  33. line-height: 17px;
  34. }
  35. }
  36. }
  37. .btn {
  38. width: 54px;
  39. height: 22px;
  40. font-size: 12px;
  41. border-radius: 11px;
  42. padding: 0;
  43. border: none;
  44. &.vip {
  45. background-color: var(--music-list-item-vip-bg);
  46. color: var(--music-list-item-vip-color);
  47. }
  48. &.free {
  49. background-color: var(--music-list-item-free-bg);
  50. color: var(--music-list-item-free-color);
  51. }
  52. &.charge {
  53. background-color: var(--music-list-item-charge-bg);
  54. color: var(--music-list-item-charge-color);
  55. }
  56. }
  57. }
  58. .footer {
  59. display: flex;
  60. // padding-top: 8px;
  61. align-items: center;
  62. justify-content: space-between;
  63. .user {
  64. display: flex;
  65. align-items: center;
  66. padding: 0 10px;
  67. margin-right: 5px;
  68. .userIcon {
  69. width: 20px;
  70. height: 20px;
  71. margin-right: 8px;
  72. }
  73. > p {
  74. margin-right: 8px;
  75. max-width: 120px;
  76. overflow: hidden;
  77. text-overflow: ellipsis;
  78. white-space: nowrap;
  79. }
  80. }
  81. .favorite {
  82. font-size: 16px;
  83. }
  84. .tags {
  85. display: flex;
  86. align-items: center;
  87. --van-tag-default-color: #fff1de;
  88. --van-tag-text-color: #ff8c00;
  89. }
  90. }
  91. .shareBtn:active:before {
  92. opacity: 0 !important;
  93. }
  94. }
  95. .shareMate {
  96. margin-top: 70px;
  97. display: flex;
  98. flex: 1;
  99. align-items: center;
  100. padding: 11px 12px;
  101. background: #ffffff;
  102. border-radius: 10px;
  103. border: 1px solid #2dc7aa;
  104. .icon {
  105. width: 36px;
  106. height: 36px;
  107. }
  108. .info {
  109. margin-left: 14px;
  110. flex: 1;
  111. margin-right: 14px;
  112. word-break: break-all;
  113. > h4 {
  114. color: var(--music-list-item-title-color);
  115. font-size: 14px;
  116. font-weight: 600;
  117. }
  118. > p {
  119. color: var(--music-list-item-mate-color);
  120. line-height: 17px;
  121. }
  122. }
  123. }