index.module.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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. .menu {
  45. flex: 1;
  46. display: flex;
  47. justify-content: center;
  48. color: #fff;
  49. }
  50. .tabsContent {
  51. width: 100vw;
  52. height: 100vh;
  53. :global {
  54. .van-tabs__wrap {
  55. display: none !important;
  56. }
  57. .van-tabs__content {
  58. width: 100%;
  59. height: 100%;
  60. }
  61. }
  62. }
  63. .loadWrap {
  64. position: absolute;
  65. left: 0;
  66. top: 0;
  67. right: 0;
  68. bottom: 0;
  69. background: linear-gradient(45deg, #21232a, #111218);
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. }
  74. .itemDiv {
  75. position: relative;
  76. width: 100%;
  77. height: 100%;
  78. video {
  79. width: 100%;
  80. height: 100%;
  81. }
  82. img {
  83. display: block;
  84. width: 100%;
  85. height: 100%;
  86. object-fit: contain;
  87. }
  88. .videoSection {
  89. position: absolute;
  90. top: 0;
  91. left: 0;
  92. right: 0;
  93. bottom: 0;
  94. z-index: 8;
  95. }
  96. }
  97. .videoModel {
  98. position: absolute;
  99. top: 0;
  100. left: 0;
  101. width: 100%;
  102. height: 100%;
  103. display: flex;
  104. justify-content: center;
  105. align-items: center;
  106. &>img {
  107. width: 50px;
  108. height: 50px;
  109. }
  110. }
  111. .rightFixedBtns {
  112. position: fixed;
  113. top: 50%;
  114. transform: translateY(-50%);
  115. right: 20px;
  116. .point {
  117. margin-top: 10px;
  118. border-bottom-left-radius: 0;
  119. border-bottom-right-radius: 0;
  120. }
  121. .point+.fullBtn {
  122. border-top-left-radius: 0;
  123. border-top-right-radius: 0;
  124. }
  125. }
  126. .leftFixedBtns {
  127. position: fixed;
  128. top: 50%;
  129. transform: translateY(-50%);
  130. left: 20px;
  131. .prePoint {
  132. margin-bottom: 8px;
  133. }
  134. }
  135. .fullBtn {
  136. width: 38px;
  137. height: 55px;
  138. background: rgba(51, 51, 51, 0.15);
  139. border-radius: 8px;
  140. display: flex;
  141. flex-direction: column;
  142. align-items: center;
  143. color: #fff;
  144. justify-content: space-evenly;
  145. &:active {
  146. opacity: 0.8;
  147. }
  148. }
  149. // .bottomFixedContainer {
  150. // position: absolute;
  151. // left: 0;
  152. // right: 0;
  153. // bottom: 0;
  154. // z-index: 10;
  155. // background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
  156. // padding: 0 30px;
  157. // .time {
  158. // display: flex;
  159. // // justify-content: space-between;
  160. // color: #fff;
  161. // font-size: 10px;
  162. // padding: 4px 0;
  163. // }
  164. // .slider {
  165. // padding: 10px 0;
  166. // }
  167. // .actions {
  168. // display: flex;
  169. // justify-content: space-between;
  170. // color: #fff;
  171. // font-size: 12px;
  172. // align-items: center;
  173. // .actionBtn {
  174. // display: flex;
  175. // }
  176. // .actionBtn>img {
  177. // width: 26px;
  178. // height: 26px;
  179. // display: block;
  180. // padding: 8px 8px 14px 8px;
  181. // }
  182. // }
  183. // }
  184. .bottomFixedContainer {
  185. position: absolute;
  186. left: 0;
  187. right: 0;
  188. bottom: 0;
  189. z-index: 10;
  190. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
  191. transition: transform 0.5s;
  192. .time {
  193. display: flex;
  194. // justify-content: space-between;
  195. color: #fff;
  196. font-size: 10px;
  197. padding: 4px 20px;
  198. }
  199. .slider {
  200. padding: 8px 20px;
  201. --van-slider-active-background: #00E5D7;
  202. :global {
  203. .van-slider__button {
  204. background: #fff;
  205. }
  206. }
  207. }
  208. .actions {
  209. display: flex;
  210. justify-content: space-between;
  211. color: #fff;
  212. font-size: 12px;
  213. padding: 0 10px 4px 20px;
  214. align-items: center;
  215. .actionBtn {
  216. display: flex;
  217. }
  218. .actionBtn>img {
  219. width: 24px;
  220. height: 24px;
  221. display: block;
  222. padding: 4px 10px 4px 2px;
  223. box-sizing: content-box;
  224. }
  225. }
  226. }
  227. .popup {
  228. background: rgba(0, 0, 0, 0.5);
  229. }
  230. .overlayClass {
  231. --van-overlay-background: transparent;
  232. }
  233. :global {
  234. .top-enter-active,
  235. .top-leave-active {
  236. transition: transform 0.5s;
  237. }
  238. .top-enter-from,
  239. .top-leave-to {
  240. transform: translateY(-100%);
  241. }
  242. .left-enter-active,
  243. .left-leave-active {
  244. transition: all 0.5s;
  245. }
  246. .left-enter-from,
  247. .left-leave-to {
  248. left: -60px;
  249. }
  250. .right-enter-active,
  251. .right-leave-active {
  252. transition: all 0.5s;
  253. }
  254. .right-enter-from,
  255. .right-leave-to {
  256. right: -60px;
  257. }
  258. .bottom-enter-active,
  259. .bottom-leave-active {
  260. transition: transform 0.5s;
  261. }
  262. .bottom-enter-from,
  263. .bottom-leave-to {
  264. transform: translateY(100%);
  265. }
  266. }
  267. .visiablePopup {
  268. width: 315px;
  269. height: 174px;
  270. background: #FFFFFF;
  271. border-radius: 12px;
  272. display: flex;
  273. align-items: center;
  274. flex-direction: column;
  275. justify-content: center;
  276. :global {
  277. color: #AAAAAA;
  278. font-size: 18px;
  279. }
  280. .title {
  281. font-weight: 600;
  282. font-size: 18px;
  283. color: #333333;
  284. line-height: 25px;
  285. }
  286. .content {
  287. padding: 20px 0 25px;
  288. font-size: 16px;
  289. color: #666666;
  290. line-height: 24px;
  291. }
  292. .btnGroup {
  293. display: flex;
  294. padding: 0 15px;
  295. width: 100%;
  296. :global {
  297. .van-button:first-child {
  298. font-weight: 400;
  299. }
  300. .van-button+.van-button {
  301. margin-left: 15px;
  302. font-weight: 500;
  303. font-size: 16px;
  304. color: #FFFFFF;
  305. }
  306. }
  307. }
  308. }