video.module.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. .pre-register-video {
  2. min-height: calc(100vh - 176px);
  3. background: url('./images/banner.png') no-repeat top center #C7F4FF;
  4. background-size: contain;
  5. padding-top: 160px;
  6. overflow: hidden;
  7. }
  8. .videoContainer {
  9. position: relative;
  10. margin: 0 6px;
  11. background: url('./images/video-bg.png') no-repeat center;
  12. background-size: contain;
  13. min-height: 265px;
  14. }
  15. .video-content {
  16. position: relative;
  17. width: 100%;
  18. --plyr-color-main: #FF8057;
  19. width: 303px;
  20. height: 171px;
  21. border-radius: 30px;
  22. padding-top: 34px;
  23. padding-bottom: 28px;
  24. margin: 0 auto;
  25. video {
  26. width: 100%;
  27. }
  28. :global {
  29. .plyr {
  30. height: 100%;
  31. border-radius: 30px;
  32. }
  33. .plyr__video-wrapper {
  34. border-radius: 30px;
  35. }
  36. .video-back {
  37. position: absolute;
  38. left: 20px;
  39. top: 20px;
  40. color: #fff;
  41. z-index: 99;
  42. font-size: 24px;
  43. width: 30px;
  44. height: 30px;
  45. background-color: rgba(0, 0, 0, 0.5);
  46. border-radius: 50%;
  47. padding: 4px 5px 4px 3px;
  48. }
  49. .plyr__poster {
  50. background-size: cover;
  51. }
  52. .plyr__control--overlaid {
  53. border: 1px solid #fff;
  54. background-color: rgba(0, 0, 0, 0.2) !important;
  55. }
  56. .plyr--video .plyr__control:hover {
  57. background-color: transparent !important;
  58. }
  59. .plyr__menu {
  60. &>.plyr__control[data-plyr="settings"] {
  61. font-size: 0;
  62. padding: 0;
  63. background-color: transparent;
  64. &::before {
  65. content: ' ';
  66. display: inline-block;
  67. background: url('./images/video-speed1.png') no-repeat center;
  68. background-size: contain;
  69. width: 32px;
  70. height: 32px;
  71. }
  72. svg {
  73. display: none !important;
  74. }
  75. }
  76. }
  77. }
  78. .video {
  79. position: relative;
  80. border-radius: 30px;
  81. }
  82. }
  83. .loadingVideo {
  84. position: absolute;
  85. top: 0;
  86. left: 0;
  87. bottom: 0;
  88. right: 0;
  89. background: rgba(0, 0, 0, 0.9);
  90. z-index: 10;
  91. }
  92. .messageContainer {
  93. margin: 0 10px 20px;
  94. background: url('./images/message-bg.png') no-repeat center;
  95. background-size: contain;
  96. min-height: 440px;
  97. .messageContent {
  98. padding: 32px 32px 26px;
  99. font-size: 14px;
  100. color: #2D1A18;
  101. line-height: 26px;
  102. p {
  103. text-align: justify;
  104. }
  105. .c1 {
  106. text-indent: 2em;
  107. span {
  108. color: #DD3210;
  109. }
  110. }
  111. }
  112. .bottom {
  113. padding-top: 30px;
  114. }
  115. }
  116. .submitBtn {
  117. width: 190px;
  118. height: 53px;
  119. background: url('./images/pre-btn.png') no-repeat center;
  120. background-size: contain;
  121. border: none;
  122. display: block;
  123. margin: 0 auto;
  124. border-radius: 50px;
  125. }