index.module.less 6.2 KB

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