video.module.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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: 18px;
  22. padding-top: 34px;
  23. padding-bottom: 28px;
  24. margin: 0 auto;
  25. .coverImg {
  26. width: 100%;
  27. height: 100%;
  28. border-radius: 30px;
  29. }
  30. video {
  31. width: 100%;
  32. }
  33. :global {
  34. .plyr {
  35. height: 100%;
  36. border-radius: 18px;
  37. }
  38. .plyr__video-wrapper {
  39. border-radius: 18px;
  40. }
  41. .video-back {
  42. position: absolute;
  43. left: 20px;
  44. top: 20px;
  45. color: #fff;
  46. z-index: 99;
  47. font-size: 24px;
  48. width: 30px;
  49. height: 30px;
  50. background-color: rgba(0, 0, 0, 0.5);
  51. border-radius: 50%;
  52. padding: 4px 5px 4px 3px;
  53. }
  54. .plyr__poster {
  55. background-size: cover;
  56. }
  57. .plyr__control--overlaid {
  58. border: 1px solid #fff;
  59. background-color: rgba(0, 0, 0, 0.2) !important;
  60. }
  61. .plyr--video .plyr__control:hover {
  62. background-color: transparent !important;
  63. }
  64. .plyr__menu {
  65. &>.plyr__control[data-plyr="settings"] {
  66. font-size: 0;
  67. padding: 0;
  68. background-color: transparent;
  69. &::before {
  70. content: ' ';
  71. display: inline-block;
  72. background: url('./images/video-speed1.png') no-repeat center;
  73. background-size: contain;
  74. width: 32px;
  75. height: 32px;
  76. }
  77. svg {
  78. display: none !important;
  79. }
  80. }
  81. }
  82. }
  83. .video {
  84. position: relative;
  85. border-radius: 18px;
  86. }
  87. }
  88. .videoCount {
  89. // position: relative;
  90. // margin-top: 5px;
  91. // background: url('./images/video-count.png') no-repeat center;
  92. // background-size: contain;
  93. // min-height: 82px;
  94. // box-sizing: content-box;
  95. // padding: 60px 36px 0;
  96. position: relative;
  97. margin: 8px 14px 12px;
  98. // background: url('./images/flow-path-bg.png') no-repeat center;
  99. // background-size: contain;
  100. background: linear-gradient(180deg, #BFF4FF 0%, #80D3E1 100%);
  101. box-shadow: 0px 2px 4px 0px rgba(23, 89, 202, 0.92), inset 0px -9px 6px 0px #64BDFF, inset 0px 3px 4px 0px #FFFFFF;
  102. border-radius: 25px;
  103. padding: 12px 10px 11px;
  104. .videoTitle {
  105. display: block;
  106. position: absolute;
  107. top: -6px;
  108. left: 50%;
  109. margin-left: -93px;
  110. width: 186px;
  111. height: 32px;
  112. background: url('./images/video-path-title.png') no-repeat center;
  113. background-size: contain;
  114. }
  115. &::before,
  116. &::after {
  117. content: ' ';
  118. position: absolute;
  119. top: -33px;
  120. width: 11px;
  121. height: 44px;
  122. background: url('./images/icon-connect.png') no-repeat center;
  123. background-size: contain;
  124. }
  125. &::before {
  126. left: 34px;
  127. }
  128. &::after {
  129. right: 34px;
  130. }
  131. .videoCountContent {
  132. padding: 31px 20px 14px;
  133. font-size: 14px;
  134. color: #2D1A18;
  135. line-height: 26px;
  136. background: linear-gradient(180deg, #FFFFFA 0%, rgba(255, 255, 253, 0.87) 90%, rgba(255, 255, 255, 0.52) 100%);
  137. box-shadow: 0px 1px 6px 0px #D9EFF8;
  138. border-radius: 18px;
  139. border: 5px solid #139CF1;
  140. span {
  141. font-size: 13px;
  142. color: #000000;
  143. line-height: 18px;
  144. background: #E8EBEE;
  145. border-radius: 14px;
  146. padding: 4px 9px;
  147. display: inline-block;
  148. margin-right: 8px;
  149. margin-bottom: 6px;
  150. &.active {
  151. font-weight: 600;
  152. color: #FFFFFF;
  153. background: #198CFE;
  154. }
  155. // &+span {
  156. // margin-left: 8px;
  157. // }
  158. }
  159. &::-webkit-scrollbar {
  160. display: none;
  161. }
  162. }
  163. }
  164. .loadingVideo {
  165. position: absolute;
  166. top: 0;
  167. left: 0;
  168. bottom: 0;
  169. right: 0;
  170. background: rgba(0, 0, 0, 0.9);
  171. z-index: 10;
  172. }
  173. .messageContainer {
  174. margin: 0 10px 20px;
  175. // background: url('./images/message-bg.png') no-repeat center;
  176. // background-size: contain;
  177. // min-height: 440px;
  178. background: linear-gradient(180deg, #BFF4FF 0%, #80D3E1 100%);
  179. box-shadow: 0px 2px 4px 0px rgba(23, 89, 202, 0.92), inset 0px -9px 6px 0px #64BDFF, inset 0px 3px 4px 0px #FFFFFF;
  180. border-radius: 25px;
  181. padding: 12px 10px 11px;
  182. .messageContent {
  183. padding: 12px 20px 12px;
  184. font-size: 14px;
  185. color: #2D1A18;
  186. line-height: 26px;
  187. background: linear-gradient(180deg, #FFFFFA 0%, rgba(255, 255, 253, 0.87) 90%, rgba(255, 255, 255, 0.52) 100%);
  188. box-shadow: 0px 1px 6px 0px #D9EFF8;
  189. border-radius: 18px;
  190. border: 5px solid #139CF1;
  191. &>div {
  192. text-align: justify;
  193. }
  194. // p {
  195. // text-align: justify;
  196. // }
  197. // .c1 {
  198. // text-indent: 2em;
  199. // span {
  200. // color: #DD3210;
  201. // }
  202. // }
  203. }
  204. .bottom {
  205. padding-top: 30px;
  206. }
  207. }
  208. .submitBtn {
  209. width: 190px;
  210. height: 53px;
  211. background: url('./images/pre-btn.png') no-repeat center;
  212. background-size: contain;
  213. border: none;
  214. display: block;
  215. margin: 20px auto 0;
  216. border-radius: 50px;
  217. }