index.module.less 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. .itemWrapAll {
  2. &:nth-last-child(1) {
  3. .itemWrap {
  4. border-bottom: none;
  5. }
  6. }
  7. }
  8. .itemWrap {
  9. &:hover {
  10. background-color: #f8f8f8;
  11. .vip {
  12. width: 150px;
  13. height: 48px;
  14. color: #fff !important;
  15. background-color: var(--music-list-item-vip-bg) !important;
  16. width: 150px !important;
  17. height: 48px;
  18. text-align: center !important;
  19. color: #fff !important;
  20. p {
  21. width: 150px !important;
  22. }
  23. }
  24. .free {
  25. width: 150px !important;
  26. height: 48px;
  27. text-align: center !important;
  28. color: #fff !important;
  29. p {
  30. width: 150px !important;
  31. }
  32. background-color: var(--music-list-item-free-bg) !important;
  33. }
  34. .charge {
  35. width: 150px;
  36. height: 48px;
  37. text-align: center;
  38. color: #fff !important;
  39. background-color: var(--music-list-item-charge-bg) !important;
  40. width: 150px !important;
  41. height: 48px;
  42. text-align: center !important;
  43. color: #fff !important;
  44. p {
  45. width: 150px !important;
  46. }
  47. }
  48. }
  49. --music-list-item-background-color: #fff;
  50. --music-list-item-title-color: #333;
  51. --music-list-item-desc-color: #333;
  52. --music-list-item-mate-color: #6a6a6a;
  53. --music-list-item-border-color: #f1f1f1;
  54. --music-list-item-vip-bg: #c8a430;
  55. --music-list-item-vip-color: #c8a430;
  56. --music-list-item-free-bg: #4ca751;
  57. --music-list-item-free-color: #4ca751;
  58. --music-list-item-charge-bg: #3f90d6;
  59. --music-list-item-charge-color: #3f90d6;
  60. height: 188px;
  61. background: #ffffff;
  62. // border-radius: 12px;
  63. display: flex;
  64. flex-direction: row;
  65. justify-content: space-between;
  66. width: 100%;
  67. padding: 22px 0px 16px;
  68. border-bottom: 1px solid #ececec;
  69. cursor: pointer;
  70. .left {
  71. display: flex;
  72. flex-direction: row;
  73. align-items: center;
  74. .imgWrap {
  75. width: 88px;
  76. height: 88px;
  77. margin-right: 30px;
  78. border-radius: 10px;
  79. overflow: hidden;
  80. }
  81. .textWrap {
  82. .musicName {
  83. font-size: 20px;
  84. font-weight: 600;
  85. color: #000000;
  86. line-height: 28px;
  87. margin-bottom: 6px;
  88. }
  89. .authorName {
  90. font-weight: 400;
  91. color: #666;
  92. line-height: 22px;
  93. font-size: 16px;
  94. margin-bottom: 7px;
  95. margin-bottom: 13px;
  96. }
  97. .favoriteWrap {
  98. display: flex;
  99. flex-direction: row;
  100. align-items: center;
  101. font-size: 14px;
  102. color: #999999;
  103. line-height: 20px;
  104. img {
  105. width: 16px;
  106. height: 16px;
  107. margin-right: 10px;
  108. }
  109. }
  110. }
  111. }
  112. .authorInfo {
  113. display: flex;
  114. flex-direction: row;
  115. align-items: center;
  116. margin-top: 26px;
  117. height: 30px;
  118. .icon {
  119. width: 28px;
  120. height: 28px;
  121. border-radius: 50px;
  122. margin-right: 12px;
  123. border: 2px solid #2dc7aa;
  124. object-fit: cover;
  125. }
  126. .authorName {
  127. font-weight: 400;
  128. color: #000000;
  129. line-height: 25px;
  130. font-size: 18px;
  131. }
  132. }
  133. .right {
  134. display: flex;
  135. flex-direction: column;
  136. align-items: flex-end;
  137. // justify-content: center;
  138. cursor: pointer;
  139. .tagList {
  140. display: flex;
  141. flex-direction: row;
  142. align-items: center;
  143. .tag {
  144. background-color: rgba(188, 253, 241, 0.46);
  145. color: #00886d;
  146. // padding: 0px 4px;
  147. font-size: 14px;
  148. margin-left: 16px;
  149. border-radius: 20px;
  150. padding: 0 16px;
  151. height: 30px;
  152. line-height: 30px;
  153. text-align: center;
  154. }
  155. }
  156. .touchButtonO {
  157. &:hover {
  158. }
  159. .touchButton {
  160. background: #fff;
  161. border-radius: 12px;
  162. line-height: 48px;
  163. font-size: 18px;
  164. width: 150px;
  165. height: 48px;
  166. border-radius: 10px;
  167. border: 1px solid #4ca751;
  168. display: flex;
  169. margin-bottom: 65px;
  170. .touchButtonWrap {
  171. width: 54px;
  172. height: 100%;
  173. display: flex;
  174. flex-direction: row;
  175. align-items: center;
  176. justify-content: center;
  177. border-right: 1px solid rgba(76, 167, 81, 1);
  178. img {
  179. width: 30px;
  180. height: 30px;
  181. }
  182. }
  183. .touchButtonText {
  184. width: 95px;
  185. text-align: center;
  186. }
  187. &.vip {
  188. // background-color: var(--music-list-item-vip-bg);
  189. .touchButtonWrap {
  190. border-right: 1px solid var(--music-list-item-vip-bg);
  191. }
  192. color: var(--music-list-item-vip-color);
  193. border: 1px solid var(--music-list-item-vip-color);
  194. }
  195. &.free {
  196. // background-color: var(--music-list-item-free-bg);
  197. .touchButtonWrap {
  198. border-right: 1px solid var(--music-list-item-free-bg);
  199. }
  200. color: var(--music-list-item-free-color);
  201. border: 1px solid var(--music-list-item-free-color);
  202. }
  203. &.charge {
  204. .touchButtonWrap {
  205. border-right: 1px solid var(--music-list-item-charge-bg);
  206. }
  207. // background-color: var(--music-list-item-charge-bg);
  208. color: var(--music-list-item-charge-color);
  209. border: 1px solid var(--music-list-item-charge-color);
  210. }
  211. }
  212. }
  213. .arrow {
  214. width: 20px;
  215. height: 20px;
  216. margin-left: 12px;
  217. }
  218. }
  219. }