index.module.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. .video-container {
  2. position: relative;
  3. width: 100%;
  4. --plyr-color-main: #01c1b5;
  5. video {
  6. width: 100%;
  7. // object-fit: cover;
  8. }
  9. :global {
  10. .video-back {
  11. position: absolute;
  12. left: 20px;
  13. top: 20px;
  14. color: #fff;
  15. z-index: 99;
  16. font-size: 24px;
  17. width: 30px;
  18. height: 30px;
  19. background-color: rgba(0, 0, 0, 0.5);
  20. border-radius: 50%;
  21. padding: 4px 5px 4px 3px;
  22. }
  23. .plyr__poster {
  24. background-size: cover;
  25. }
  26. .plyr__control--overlaid {
  27. border: 1px solid #fff;
  28. background-color: transparent !important;
  29. }
  30. .plyr--video .plyr__control:hover {
  31. background-color: transparent !important;
  32. }
  33. .video-js {
  34. width: 100%;
  35. height: 100%;
  36. }
  37. .tcp-skin .vjs-play-progress {
  38. background-color: var(--van-primary) !important;
  39. }
  40. .vjs-poster {
  41. background-size: cover;
  42. }
  43. .video-js .vjs-progress-control:hover .vjs-progress-holder {
  44. font-size: inherit !important;
  45. outline: none;
  46. }
  47. .video-js .vjs-slider:focus {
  48. box-shadow: none !important;
  49. text-shadow: none !important;
  50. outline: none;
  51. }
  52. }
  53. .video {
  54. position: relative;
  55. }
  56. }
  57. .loadingVideo {
  58. position: absolute;
  59. top: 0;
  60. left: 0;
  61. bottom: 0;
  62. right: 0;
  63. background: rgba(0, 0, 0, 0.9);
  64. z-index: 10;
  65. }
  66. .playOver {
  67. background: rgba(0, 0, 0, 0.5);
  68. color: #fff;
  69. display: flex;
  70. align-items: center;
  71. justify-content: center;
  72. flex-direction: column;
  73. .tips {
  74. font-size: 15px;
  75. color: #ffffff;
  76. }
  77. .btn {
  78. margin: 10px 0;
  79. min-width: 94px;
  80. font-size: 14px;
  81. height: 28px;
  82. line-height: 28px;
  83. }
  84. .replay {
  85. padding-top: 12px;
  86. display: flex;
  87. align-items: center;
  88. }
  89. .iconReplay {
  90. width: 18px;
  91. height: 18px;
  92. margin-right: 6px;
  93. }
  94. }
  95. .freeTxt {
  96. font-size: 15px;
  97. color: #ffffff;
  98. line-height: 21px;
  99. padding-top: 10px;
  100. }
  101. .freeRate {
  102. color: #32ffd8;
  103. }