index.module.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. .videoWrap {
  2. width: 100%;
  3. height: 100%;
  4. height: 518px;
  5. .controls {
  6. border-radius: 0 0 16px 16px !important;
  7. position: absolute;
  8. bottom: 0;
  9. left: 0;
  10. right: 0;
  11. width: 100%;
  12. background: rgba(0, 0, 0, 0.6);
  13. backdrop-filter: blur(26px);
  14. height: 80px;
  15. padding: 0 26px 0 26px !important;
  16. transition: all 0.5s;
  17. display: flex;
  18. align-items: center;
  19. transition: all .5s;
  20. .time {
  21. display: flex;
  22. justify-content: space-between;
  23. color: #fff;
  24. padding: 4px 12px 4px;
  25. font-size: max(24px, 14Px);
  26. font-weight: 600;
  27. line-height: 33px;
  28. min-width: 150px;
  29. .line {
  30. font-size: 20px;
  31. }
  32. :global {
  33. .plyr__time {
  34. font-size: max(22px, 12Px);
  35. }
  36. .plyr__time+.plyr__time:before {
  37. content: '';
  38. margin-right: 0;
  39. }
  40. }
  41. }
  42. }
  43. .actions {
  44. display: flex;
  45. justify-content: space-between;
  46. height: 100%;
  47. color: #fff;
  48. font-size: 12px;
  49. align-items: center;
  50. .actionWrap {
  51. display: flex;
  52. }
  53. .actionBtn {
  54. display: flex;
  55. width: 52px;
  56. height: 52px;
  57. padding: 0;
  58. background: transparent;
  59. cursor: pointer;
  60. &>img {
  61. width: 100%;
  62. height: 100%;
  63. }
  64. }
  65. .iconReplay {
  66. width: 31px;
  67. height: 29px;
  68. background-color: transparent;
  69. cursor: pointer;
  70. &>img {
  71. width: 100%;
  72. height: 100%;
  73. }
  74. }
  75. }
  76. .slider {
  77. width: 100%;
  78. padding: 0 20px 0 12px;
  79. :global {
  80. .n-slider .n-slider-rail .n-slider-rail__fill,
  81. .n-slider .n-slider-handles .n-slider-handle-wrapper {
  82. transition: all .2s;
  83. }
  84. }
  85. }
  86. .sectionAnimate {
  87. opacity: 0;
  88. pointer-events: none;
  89. transform: translateY(100%);
  90. transition: all .5s;
  91. }
  92. }
  93. // .videoWrap {
  94. // width: 100%;
  95. // height: 100%;
  96. // --plyr-color-main: #198CFE;
  97. // --plyr-range-track-height: 6px;
  98. // --plyr-tooltip-radius: 3px;
  99. // --plyr-range-thumb-height: 24px;
  100. // --plyr-video-controls-background: #000;
  101. // :global {
  102. // .plyr--video {
  103. // width: 100%;
  104. // height: 100%;
  105. // }
  106. // .plyr__time {
  107. // display: block !important;
  108. // }
  109. // .plyr__video-wrapper {
  110. // pointer-events: none;
  111. // }
  112. // }
  113. // }
  114. // :global(.bottomFixed).controls {
  115. // width: 100% !important;
  116. // background: rgba(0, 0, 0, 0.6) !important;
  117. // // backdrop-filter: blur(26px);
  118. // height: 80px !important;
  119. // min-height: 80px !important;
  120. // padding: 0px 40px !important;
  121. // z-index: 999;
  122. // .time {
  123. // display: flex;
  124. // justify-content: space-between;
  125. // color: #fff;
  126. // padding: 4px 12px 4px;
  127. // font-size: 24px;
  128. // font-weight: 600;
  129. // line-height: 33px;
  130. // min-width: 140px;
  131. // .line {
  132. // font-size: 12px;
  133. // }
  134. // :global {
  135. // .plyr__time+.plyr__time:before {
  136. // content: '';
  137. // margin-right: 0;
  138. // }
  139. // }
  140. // }
  141. // .slider {
  142. // width: 100%;
  143. // padding: 0 20px 0 12px;
  144. // :global {
  145. // .van-slider__button {
  146. // background: var(--van-primary);
  147. // }
  148. // .van-loading {
  149. // width: 100%;
  150. // height: 100%;
  151. // }
  152. // }
  153. // }
  154. // .actions {
  155. // display: flex;
  156. // justify-content: space-between;
  157. // color: #fff;
  158. // font-size: 12px;
  159. // align-items: center;
  160. // .actionWrap {
  161. // display: flex;
  162. // }
  163. // .actionBtn {
  164. // display: flex;
  165. // padding: 0;
  166. // width: 52px;
  167. // height: 52px;
  168. // background: transparent;
  169. // }
  170. // .actionBtn>img {
  171. // width: 100%;
  172. // height: 100%;
  173. // }
  174. // :global {
  175. // .van-loading__circular {
  176. // width: 100%;
  177. // height: 100%;
  178. // }
  179. // }
  180. // .playIcon {
  181. // display: none;
  182. // }
  183. // .btnPlay img:nth-child(2) {
  184. // display: block;
  185. // }
  186. // .btnPause img:nth-child(3) {
  187. // display: block;
  188. // }
  189. // .btnPlay,
  190. // .btnPause {
  191. // :global {
  192. // .van-loading {
  193. // display: none;
  194. // }
  195. // }
  196. // }
  197. // .loopBtn {
  198. // background-color: transparent;
  199. // width: 31px !important;
  200. // height: 29px !important;
  201. // padding: 0;
  202. // cursor: pointer;
  203. // :global {
  204. // .loop {
  205. // display: block;
  206. // }
  207. // .loopActive {
  208. // display: none;
  209. // }
  210. // }
  211. // }
  212. // }
  213. // }