index.module.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. .audioWrap {
  2. width: 100%;
  3. height: 518px;
  4. background-color: #fff;
  5. }
  6. .audioContainer {
  7. position: relative;
  8. display: flex;
  9. align-items: center;
  10. justify-content: center;
  11. height: 100%;
  12. padding: 0;
  13. &>div {
  14. flex: 1;
  15. }
  16. .audio {
  17. position: absolute;
  18. top: 0;
  19. opacity: 0;
  20. }
  21. .tempVudio {
  22. position: absolute;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. left: 0;
  27. padding: 0;
  28. }
  29. canvas {
  30. width: 100%;
  31. height: 100%;
  32. }
  33. }
  34. .controls {
  35. position: absolute;
  36. bottom: 0;
  37. left: 0;
  38. right: 0;
  39. width: 100%;
  40. background: rgba(0, 0, 0, 0.6);
  41. backdrop-filter: blur(26px);
  42. height: 80px;
  43. padding: 0 40px 0 40px !important;
  44. transition: all 0.5s;
  45. display: flex;
  46. align-items: center;
  47. transition: all .5s;
  48. .time {
  49. display: flex;
  50. justify-content: space-between;
  51. color: #fff;
  52. padding: 4px 12px 4px;
  53. font-size: 24px;
  54. font-weight: 600;
  55. line-height: 33px;
  56. min-width: 140px;
  57. .line {
  58. font-size: 12px;
  59. }
  60. :global {
  61. .plyr__time+.plyr__time:before {
  62. content: '';
  63. margin-right: 0;
  64. }
  65. }
  66. }
  67. }
  68. .actions {
  69. display: flex;
  70. justify-content: space-between;
  71. height: 100%;
  72. color: #fff;
  73. font-size: 12px;
  74. align-items: center;
  75. .actionWrap {
  76. display: flex;
  77. }
  78. .actionBtn {
  79. display: flex;
  80. width: 52px;
  81. height: 52px;
  82. padding: 4px 0;
  83. background: transparent;
  84. &>img {
  85. width: 100%;
  86. height: 100%;
  87. }
  88. }
  89. .iconReplay {
  90. width: 31px;
  91. height: 29px;
  92. background-color: transparent;
  93. &>img {
  94. width: 100%;
  95. height: 100%;
  96. }
  97. }
  98. }
  99. .slider {
  100. width: 100%;
  101. padding: 0 20px 0 12px;
  102. :global {
  103. .n-slider .n-slider-rail .n-slider-rail__fill,
  104. .n-slider .n-slider-handles .n-slider-handle-wrapper {
  105. transition: all .2s;
  106. }
  107. }
  108. }
  109. .sectionAnimate {
  110. opacity: 0;
  111. pointer-events: none;
  112. transform: translateY(100%);
  113. transition: all .5s;
  114. }