index.module.less 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .theMusicGrid {
  2. :global {
  3. .van-grid {
  4. margin: 0 -4px;
  5. }
  6. .van-grid-item {
  7. width: calc(100% / 3);
  8. }
  9. .van-grid-item__content {
  10. display: block;
  11. padding: 0 8px;
  12. background-color: transparent;
  13. }
  14. }
  15. .item {
  16. margin-bottom: 14px;
  17. .title {
  18. font-size: 14px;
  19. color: #333;
  20. line-height: 20px;
  21. overflow: hidden;
  22. text-overflow: ellipsis;
  23. white-space: nowrap;
  24. margin-bottom: 2px;
  25. }
  26. .des {
  27. font-size: 12px;
  28. color: #999;
  29. line-height: 16px;
  30. }
  31. }
  32. .imgWrap {
  33. position: relative;
  34. height: 104px;
  35. // height: calc((100vw - 28px) / 3);
  36. border-radius: 10px;
  37. overflow: hidden;
  38. margin-bottom: 6px;
  39. .albumType {
  40. position: absolute;
  41. left: 0;
  42. top: 0;
  43. background: linear-gradient(180deg, #ff8900 0%, #ff5100 100%);
  44. box-shadow: 0px 1px 2px 0px rgba(150, 13, 0, 0.11);
  45. border-radius: 10px 0px 10px 0px;
  46. font-size: 12px;
  47. padding: 0 6px;
  48. line-height: 20px;
  49. color: #ffffff;
  50. z-index: 9;
  51. }
  52. .model {
  53. position: absolute;
  54. left: 4px;
  55. bottom: 4px;
  56. background: rgba(67, 67, 67, 0.6);
  57. backdrop-filter: blur(20px);
  58. -webkit-backdrop-filter: blur(20px);
  59. display: flex;
  60. align-items: center;
  61. padding: 4px 6px;
  62. border-radius: 20px;
  63. font-size: 12px;
  64. color: #fff;
  65. transform: scale(0.9);
  66. }
  67. .num {
  68. margin-left: 3px;
  69. }
  70. }
  71. }