index.module.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. .playContent {
  2. width: 100vw;
  3. height: 100vh;
  4. background-color: #000;
  5. overflow: hidden;
  6. }
  7. .coursewarePlay {
  8. position: relative;
  9. height: 100vh;
  10. margin: 0 auto;
  11. overflow: hidden;
  12. }
  13. .playModel {
  14. position: absolute;
  15. left: 0;
  16. top: 0;
  17. right: 0;
  18. bottom: 0;
  19. box-shadow: inset 0px 0px 164px 0px rgba(0, 0, 0, 1);
  20. pointer-events: none;
  21. }
  22. .headerContainer {
  23. position: fixed;
  24. top: 0;
  25. left: 0;
  26. right: 0;
  27. z-index: 1;
  28. padding: 10px 24px;
  29. display: flex;
  30. align-items: center;
  31. color: #fff;
  32. font-size: 12px;
  33. background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
  34. }
  35. .backBtn {
  36. color: #fff;
  37. width: 40px;
  38. height: 26px;
  39. display: flex;
  40. justify-content: space-between;
  41. align-items: center;
  42. z-index: 10;
  43. }
  44. .btnGroup {
  45. position: absolute;
  46. top: 50%;
  47. right: 12px;
  48. z-index: 10;
  49. transform: translateY(-50%);
  50. .btnItem {
  51. background: rgba(0, 0, 0, 0.3);
  52. border-radius: 6px;
  53. width: 42px;
  54. height: 50px;
  55. font-size: 12px;
  56. color: #FFFFFF;
  57. text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.13);
  58. display: flex;
  59. align-items: center;
  60. flex-direction: column;
  61. justify-content: center;
  62. cursor: pointer;
  63. }
  64. .btnImg {
  65. width: 24px;
  66. height: 24px;
  67. margin-bottom: 2px;
  68. }
  69. }
  70. .menu {
  71. flex: 1;
  72. display: flex;
  73. justify-content: center;
  74. color: #fff;
  75. }
  76. .tabsContent {
  77. width: 100vw;
  78. height: 100vh;
  79. :global {
  80. .van-tabs__wrap {
  81. display: none !important;
  82. }
  83. .van-tabs__content {
  84. width: 100%;
  85. height: 100%;
  86. }
  87. }
  88. }
  89. .loadWrap {
  90. position: absolute;
  91. left: 0;
  92. top: 0;
  93. right: 0;
  94. bottom: 0;
  95. background: linear-gradient(45deg, #21232a, #111218);
  96. display: flex;
  97. justify-content: center;
  98. align-items: center;
  99. }
  100. .itemDiv {
  101. position: relative;
  102. width: 100%;
  103. height: 100%;
  104. video {
  105. width: 100%;
  106. height: 100%;
  107. }
  108. img {
  109. display: block;
  110. width: 100%;
  111. height: 100%;
  112. object-fit: contain;
  113. }
  114. .videoSection {
  115. position: absolute;
  116. top: 0;
  117. left: 0;
  118. right: 0;
  119. bottom: 0;
  120. z-index: 8;
  121. }
  122. }
  123. .videoModel {
  124. position: absolute;
  125. top: 0;
  126. left: 0;
  127. width: 100%;
  128. height: 100%;
  129. display: flex;
  130. justify-content: center;
  131. align-items: center;
  132. &>img {
  133. width: 50px;
  134. height: 50px;
  135. }
  136. }
  137. .rightFixedBtns {
  138. position: fixed;
  139. top: 50%;
  140. transform: translateY(-50%);
  141. right: 20px;
  142. .point {
  143. margin-top: 10px;
  144. border-bottom-left-radius: 0;
  145. border-bottom-right-radius: 0;
  146. }
  147. .point+.fullBtn {
  148. border-top-left-radius: 0;
  149. border-top-right-radius: 0;
  150. }
  151. }
  152. .leftFixedBtns {
  153. position: fixed;
  154. top: 50%;
  155. transform: translateY(-50%);
  156. left: 20px;
  157. .prePoint {
  158. margin-bottom: 8px;
  159. }
  160. }
  161. .fullBtn {
  162. width: 38px;
  163. height: 55px;
  164. background: rgba(51, 51, 51, 0.15);
  165. border-radius: 8px;
  166. display: flex;
  167. flex-direction: column;
  168. align-items: center;
  169. color: #fff;
  170. justify-content: space-evenly;
  171. &:active {
  172. opacity: 0.8;
  173. }
  174. }
  175. .bottomFixedContainer {
  176. position: absolute;
  177. left: 0;
  178. right: 0;
  179. bottom: 0;
  180. z-index: 10;
  181. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
  182. padding: 0 30px;
  183. .time {
  184. display: flex;
  185. justify-content: space-between;
  186. color: #fff;
  187. font-size: 10px;
  188. padding: 4px 0;
  189. }
  190. .slider {
  191. padding: 10px 0;
  192. }
  193. .actions {
  194. display: flex;
  195. justify-content: space-between;
  196. color: #fff;
  197. font-size: 12px;
  198. align-items: center;
  199. .actionBtn {
  200. display: flex;
  201. }
  202. .actionBtn>img {
  203. width: 26px;
  204. height: 26px;
  205. display: block;
  206. padding: 8px 8px 14px 8px;
  207. }
  208. }
  209. }
  210. .popup {
  211. background: rgba(0, 0, 0, 0.5);
  212. }
  213. .overlayClass {
  214. --van-overlay-background: transparent;
  215. }
  216. :global {
  217. .top-enter-active,
  218. .top-leave-active {
  219. transition: transform 0.5s;
  220. }
  221. .top-enter-from,
  222. .top-leave-to {
  223. transform: translateY(-100%);
  224. }
  225. .left-enter-active,
  226. .left-leave-active {
  227. transition: all 0.5s;
  228. }
  229. .left-enter-from,
  230. .left-leave-to {
  231. left: -60px;
  232. }
  233. .right-enter-active,
  234. .right-leave-active {
  235. transition: all 0.5s;
  236. }
  237. .right-enter-from,
  238. .right-leave-to {
  239. right: -60px;
  240. }
  241. .bottom-enter-active,
  242. .bottom-leave-active {
  243. transition: transform 0.5s;
  244. }
  245. .bottom-enter-from,
  246. .bottom-leave-to {
  247. transform: translateY(100%);
  248. }
  249. }