index.module.less 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. .playContent {
  2. position: relative;
  3. width: 100vw;
  4. height: 100vh;
  5. background-color: #000;
  6. overflow: hidden;
  7. --plyr-color-main: var(--van-primary);
  8. --plyr-range-track-height: 3px;
  9. }
  10. .assignHomework {
  11. position: absolute;
  12. top: 40px;
  13. left: 40px;
  14. width: 187px;
  15. height: 60px;
  16. cursor: pointer;
  17. img {
  18. width: 100%;
  19. height: 100%;
  20. }
  21. }
  22. .coursewarePlay {
  23. position: relative;
  24. height: 100vh;
  25. margin: 0 auto;
  26. overflow: hidden;
  27. }
  28. .playModel {
  29. position: absolute;
  30. left: 0;
  31. top: 0;
  32. right: 0;
  33. bottom: 0;
  34. box-shadow: inset 0px 0px 164px 0px rgba(0, 0, 0, 1);
  35. pointer-events: none;
  36. }
  37. .headerContainer {
  38. position: fixed;
  39. top: 0;
  40. left: 0;
  41. right: 0;
  42. z-index: 10;
  43. display: flex;
  44. align-items: center;
  45. justify-content: space-between;
  46. height: 40px;
  47. background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
  48. transition: transform 0.5s;
  49. box-sizing: border-box;
  50. div {
  51. box-sizing: border-box;
  52. }
  53. }
  54. .backBtn {
  55. color: #fff;
  56. height: 100%;
  57. display: flex;
  58. justify-content: space-between;
  59. align-items: center;
  60. z-index: 10;
  61. padding: 0 15px;
  62. :global {
  63. .van-icon {
  64. margin-right: 8px;
  65. }
  66. }
  67. }
  68. .headRight {
  69. position: relative;
  70. z-index: 10;
  71. display: flex;
  72. align-items: center;
  73. margin-left: auto;
  74. height: 100%;
  75. padding-right: 15px;
  76. .rightBtn {
  77. display: flex;
  78. justify-content: center;
  79. align-items: center;
  80. height: 100%;
  81. padding: 0 10px;
  82. img {
  83. width: 22px;
  84. height: 22px;
  85. display: block;
  86. }
  87. }
  88. }
  89. .menu {
  90. position: absolute;
  91. width: 100%;
  92. height: 100%;
  93. display: flex;
  94. justify-content: center;
  95. align-items: center;
  96. font-size: 12px;
  97. color: #fff;
  98. }
  99. .tabsContent {
  100. width: 100vw;
  101. height: 100vh;
  102. :global {
  103. .van-tabs__wrap {
  104. display: none !important;
  105. }
  106. .van-tabs__content {
  107. width: 100%;
  108. height: 100%;
  109. }
  110. }
  111. }
  112. .wraps {
  113. width: 100%;
  114. height: 100%;
  115. transform-style: preserve-3d;
  116. perspective: (32rem);
  117. transition-timing-function: initial;
  118. }
  119. .itemDiv {
  120. position: absolute;
  121. left: 0;
  122. top: 0;
  123. width: 100%;
  124. height: 100%;
  125. background-color: #000;
  126. transform-style: preserve-3d;
  127. transition-property: transform, opacity, height;
  128. backface-visibility: hidden;
  129. overflow: hidden;
  130. z-index: 1;
  131. &.itemActive {
  132. z-index: 10;
  133. }
  134. &.acitveAnimation {
  135. transition-duration: .8s;
  136. }
  137. &.show {
  138. display: block;
  139. }
  140. &.hide {
  141. display: none;
  142. }
  143. video {
  144. width: 100%;
  145. height: 100%;
  146. }
  147. img {
  148. display: block;
  149. width: 100%;
  150. height: 100%;
  151. object-fit: contain;
  152. }
  153. }
  154. .rightFixedBtns {
  155. position: absolute;
  156. top: 50%;
  157. transform: translateY(-50%);
  158. right: 0;
  159. z-index: 10;
  160. }
  161. .fullBtn {
  162. width: 95px;
  163. height: 107px;
  164. overflow: hidden;
  165. img {
  166. width: 100%;
  167. height: 100%;
  168. }
  169. &:active {
  170. opacity: .8;
  171. }
  172. &.btnsDisabled {
  173. opacity: .3;
  174. pointer-events: none;
  175. }
  176. }
  177. :global {
  178. .top-enter-active,
  179. .top-leave-active {
  180. transition: transform 0.5s;
  181. }
  182. .top-enter-from,
  183. .top-leave-to {
  184. transform: translateY(-100%);
  185. }
  186. .right-enter-active,
  187. .right-leave-active {
  188. transition: all 0.5s;
  189. }
  190. .right-enter-from,
  191. .right-leave-to {
  192. right: -60px;
  193. opacity: 0;
  194. }
  195. .bottom-enter-active,
  196. .bottom-leave-active {
  197. transition: transform 0.5s;
  198. }
  199. .bottom-enter-from,
  200. .bottom-leave-to {
  201. transform: translateY(100%);
  202. }
  203. }
  204. .loadWrap {
  205. position: absolute;
  206. left: 0;
  207. top: 0;
  208. right: 0;
  209. bottom: 0;
  210. background: linear-gradient(45deg, #21232a, #111218);
  211. display: flex;
  212. justify-content: center;
  213. align-items: center;
  214. }
  215. .drawerContainer {
  216. width: 360px !important;
  217. :global {
  218. .n-drawer-body-content-wrapper {
  219. padding: 0px !important;
  220. text-align: center;
  221. &>div {
  222. margin-bottom: 24px;
  223. }
  224. }
  225. .n-drawer-header {
  226. position: relative;
  227. justify-content: center !important;
  228. padding-top: 24px !important;
  229. padding-bottom: 20px !important;
  230. border-bottom: 0 !important;
  231. .n-drawer-header__main {
  232. position: relative;
  233. z-index: 2;
  234. font-size: 18px;
  235. font-weight: 600;
  236. color: #131415;
  237. &::after {
  238. position: absolute;
  239. bottom: -4px;
  240. left: 0;
  241. z-index: -1;
  242. content: ' ';
  243. width: 100%;
  244. display: inline-block;
  245. height: 10px;
  246. background: linear-gradient(90deg, #77BBFF 0%, rgba(163, 231, 255, 0.22) 100%);
  247. }
  248. }
  249. .n-drawer-header__close {
  250. position: absolute;
  251. right: 26px;
  252. }
  253. }
  254. }
  255. }
  256. .switchChangeSection {
  257. position: absolute;
  258. bottom: 35px;
  259. right: 38px;
  260. display: flex;
  261. z-index: 199;
  262. transition: all .3s ease-in-out;
  263. .switchBtn {
  264. width: 64px;
  265. height: 66px;
  266. cursor: pointer;
  267. img {
  268. transition: all .2s ease;
  269. transform: scale(1);
  270. width: inherit;
  271. height: inherit;
  272. &:active {
  273. transform: scale(0.9);
  274. transition: all .2s ease;
  275. }
  276. }
  277. &+.switchBtn {
  278. margin-left: 36px;
  279. }
  280. }
  281. }
  282. .switchDisplaySection {
  283. position: absolute;
  284. left: 40px;
  285. bottom: 40px;
  286. z-index: 199;
  287. transition: all .5s;
  288. .displayBtn {
  289. width: 70px;
  290. height: 70px;
  291. cursor: pointer;
  292. img {
  293. width: inherit;
  294. height: inherit;
  295. }
  296. &+.switchBtn {
  297. margin-left: 40px;
  298. }
  299. }
  300. }
  301. .sectionAnimate {
  302. opacity: 0;
  303. pointer-events: none;
  304. transform: translateY(100%);
  305. transition: all .5s;
  306. }
  307. .attendClassModal {
  308. width: 442px;
  309. border-radius: 16px;
  310. overflow: hidden;
  311. :global {
  312. .n-card-header {
  313. position: relative;
  314. padding: 20px 18px;
  315. text-align: center;
  316. // background: #F5F6FA;
  317. font-size: 22px;
  318. font-weight: 600;
  319. color: #131415;
  320. line-height: 30px;
  321. }
  322. .n-card-header__close {
  323. position: absolute;
  324. right: 18px;
  325. }
  326. .n-card__content {
  327. padding: 0;
  328. }
  329. .n-base-select-menu .n-base-select-option {
  330. font-size: 18px !important;
  331. }
  332. }
  333. .modelAttendContent {
  334. font-size: 18px;
  335. color: #777777;
  336. line-height: 30px;
  337. text-align: center;
  338. }
  339. .modelAttendBtnGroup {
  340. padding: 40px 0;
  341. justify-content: center !important;
  342. :global {
  343. .n-button {
  344. height: 48px !important;
  345. min-width: 156px;
  346. }
  347. }
  348. }
  349. }
  350. .trainClassModal {
  351. width: 1028px;
  352. :global {
  353. .n-card-header {
  354. background: #F5F6FA;
  355. }
  356. }
  357. }