index.module.less 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590
  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. .assignHomeworkClose {
  11. position: absolute;
  12. top: 40px;
  13. left: 40px;
  14. width: 60px;
  15. height: 65px;
  16. cursor: pointer;
  17. transition: all 0.5s;
  18. img {
  19. width: 100%;
  20. height: 100%;
  21. }
  22. }
  23. .assignHomework {
  24. position: absolute;
  25. top: 40px;
  26. left: 40px;
  27. width: 187px;
  28. height: 65px;
  29. cursor: pointer;
  30. transition: all 0.5s;
  31. &.isClose {
  32. left: 124px;
  33. }
  34. img {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. }
  39. .sectionAnimateUp {
  40. opacity: 0;
  41. pointer-events: none;
  42. transform: translateY(-100%);
  43. transition: all 0.5s;
  44. }
  45. .coursewarePlay {
  46. position: relative;
  47. height: 100vh;
  48. margin: 0 auto;
  49. overflow: hidden;
  50. }
  51. .playModel {
  52. position: absolute;
  53. left: 0;
  54. top: 0;
  55. right: 0;
  56. bottom: 0;
  57. box-shadow: inset 0px 0px 164px 0px rgba(0, 0, 0, 1);
  58. pointer-events: none;
  59. }
  60. .headerContainer {
  61. position: fixed;
  62. top: 0;
  63. left: 0;
  64. right: 0;
  65. z-index: 10;
  66. display: flex;
  67. align-items: center;
  68. justify-content: space-between;
  69. height: 50px;
  70. // background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent);
  71. background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  72. transition: transform 0.5s;
  73. box-sizing: border-box;
  74. font-size: 24px;
  75. div {
  76. box-sizing: border-box;
  77. }
  78. }
  79. .backBtn {
  80. color: #fff;
  81. height: 100%;
  82. display: flex;
  83. justify-content: space-between;
  84. align-items: center;
  85. z-index: 10;
  86. padding: 0 15px;
  87. :global {
  88. .van-icon {
  89. margin-right: 8px;
  90. }
  91. }
  92. }
  93. .headRight {
  94. position: relative;
  95. z-index: 10;
  96. display: flex;
  97. align-items: center;
  98. margin-left: auto;
  99. height: 100%;
  100. padding-right: 15px;
  101. .rightBtn {
  102. display: flex;
  103. justify-content: center;
  104. align-items: center;
  105. height: 100%;
  106. padding: 0 10px;
  107. img {
  108. width: 22px;
  109. height: 22px;
  110. display: block;
  111. }
  112. }
  113. }
  114. .menu {
  115. position: absolute;
  116. width: 100%;
  117. height: 100%;
  118. display: flex;
  119. justify-content: center;
  120. align-items: center;
  121. font-size: 17px;
  122. font-weight: bold;
  123. color: #fff;
  124. }
  125. .tabsContent {
  126. width: 100vw;
  127. height: 100vh;
  128. :global {
  129. .van-tabs__wrap {
  130. display: none !important;
  131. }
  132. .van-tabs__content {
  133. width: 100%;
  134. height: 100%;
  135. }
  136. }
  137. }
  138. .wraps {
  139. width: 100%;
  140. height: 100%;
  141. transform-style: preserve-3d;
  142. perspective: (32rem);
  143. transition-timing-function: initial;
  144. }
  145. .itemDiv {
  146. position: absolute;
  147. left: 0;
  148. top: 0;
  149. width: 100%;
  150. height: 100%;
  151. background-color: #000;
  152. transform-style: preserve-3d;
  153. transition-property: transform, opacity, height;
  154. backface-visibility: hidden;
  155. overflow: hidden;
  156. z-index: 1;
  157. &.itemActive {
  158. z-index: 10;
  159. }
  160. &.acitveAnimation {
  161. transition-duration: 0.8s;
  162. }
  163. &.show {
  164. display: block;
  165. }
  166. &.hide {
  167. display: none;
  168. }
  169. video {
  170. width: 100%;
  171. height: 100%;
  172. }
  173. img {
  174. display: block;
  175. width: 100%;
  176. height: 100%;
  177. object-fit: contain;
  178. }
  179. }
  180. .rightFixedBtns {
  181. position: absolute;
  182. top: 50%;
  183. transform: translateY(-50%);
  184. right: 16px;
  185. z-index: 10;
  186. }
  187. .fullBtn {
  188. width: 60px;
  189. height: 60px;
  190. overflow: hidden;
  191. &.point {
  192. margin: 20px 0;
  193. }
  194. img {
  195. width: 100%;
  196. height: 100%;
  197. }
  198. &:active {
  199. opacity: 0.8;
  200. }
  201. &.btnsDisabled {
  202. opacity: 0;
  203. pointer-events: none;
  204. }
  205. }
  206. :global {
  207. .top-enter-active,
  208. .top-leave-active {
  209. transition: transform 0.5s;
  210. }
  211. .top-enter-from,
  212. .top-leave-to {
  213. transform: translateY(-100%);
  214. }
  215. .right-enter-active,
  216. .right-leave-active {
  217. transition: all 0.5s;
  218. }
  219. .right-enter-from,
  220. .right-leave-to {
  221. right: -60px;
  222. opacity: 0;
  223. }
  224. .bottom-enter-active,
  225. .bottom-leave-active {
  226. transition: transform 0.5s;
  227. }
  228. .bottom-enter-from,
  229. .bottom-leave-to {
  230. transform: translateY(100%);
  231. }
  232. }
  233. .loadWrap {
  234. position: absolute;
  235. left: 0;
  236. top: 0;
  237. right: 0;
  238. bottom: 0;
  239. background: linear-gradient(45deg, #21232a, #111218);
  240. display: flex;
  241. justify-content: center;
  242. align-items: center;
  243. }
  244. .drawerContainer {
  245. width: 360px !important;
  246. :global {
  247. .n-drawer-body-content-wrapper {
  248. padding: 8px 0px 0px !important;
  249. text-align: center;
  250. &>div {
  251. margin-bottom: 24px;
  252. }
  253. }
  254. .n-drawer-header {
  255. position: relative;
  256. justify-content: center !important;
  257. padding-top: 24px !important;
  258. padding-bottom: 20px !important;
  259. border-bottom: 0 !important;
  260. .n-drawer-header__main {
  261. position: relative;
  262. z-index: 2;
  263. font-size: 18px;
  264. font-weight: 600;
  265. color: #131415;
  266. &::after {
  267. position: absolute;
  268. bottom: -4px;
  269. left: 0;
  270. z-index: -1;
  271. content: ' ';
  272. width: 100%;
  273. display: inline-block;
  274. height: 10px;
  275. background: linear-gradient(90deg,
  276. #77bbff 0%,
  277. rgba(163, 231, 255, 0.22) 100%);
  278. }
  279. }
  280. .n-drawer-header__close {
  281. position: absolute;
  282. right: 26px;
  283. }
  284. }
  285. }
  286. }
  287. .sectionAnimate {
  288. opacity: 0;
  289. pointer-events: none;
  290. transform: translateY(100%);
  291. transition: all 0.5s;
  292. }
  293. .switchDisplaySection {
  294. position: absolute;
  295. right: 30px;
  296. bottom: 30px;
  297. z-index: 199;
  298. transition: all 0.5s;
  299. display: flex;
  300. .displayBtn {
  301. width: 90px;
  302. height: 90px;
  303. cursor: pointer;
  304. img {
  305. width: inherit;
  306. height: inherit;
  307. }
  308. &+.displayBtn {
  309. margin-left: 20px;
  310. }
  311. }
  312. }
  313. .attendClassModal {
  314. width: 442px;
  315. border-radius: 16px;
  316. overflow: hidden;
  317. :global {
  318. .n-card-header {
  319. position: relative;
  320. padding: 20px 18px;
  321. text-align: center;
  322. font-size: 22px;
  323. font-weight: 600;
  324. color: #131415;
  325. line-height: 30px;
  326. }
  327. .n-card-header__close {
  328. position: absolute;
  329. right: 18px;
  330. }
  331. .n-card__content {
  332. padding: 0;
  333. }
  334. .n-base-select-menu .n-base-select-option {
  335. font-size: 18px !important;
  336. }
  337. }
  338. .modelAttendContent {
  339. font-size: max(18px, 16px);
  340. color: #777777;
  341. line-height: 30px;
  342. text-align: center;
  343. }
  344. .modelAttendBtnGroup {
  345. padding: 40px 0;
  346. justify-content: center !important;
  347. :global {
  348. .n-button {
  349. height: 48px !important;
  350. min-width: 156px;
  351. }
  352. }
  353. }
  354. }
  355. .trainClassModal {
  356. width: 1028px;
  357. :global {
  358. .n-card-header {
  359. background: #f5f6fa;
  360. }
  361. }
  362. }
  363. .workContainer {
  364. padding: 20px 40px 40px;
  365. h2 {
  366. font-size: 26px;
  367. text-align: center;
  368. }
  369. }
  370. .toolboxImg {
  371. width: 83px;
  372. height: 83px;
  373. position: absolute;
  374. right: 16px;
  375. bottom: 164px;
  376. cursor: pointer;
  377. z-index: 1000;
  378. }
  379. .isDragIng {
  380. width: 83px;
  381. height: 83px;
  382. }
  383. .toolClassImg {
  384. width: 83px;
  385. height: 83px;
  386. position: absolute;
  387. right: 32px;
  388. bottom: 160px;
  389. cursor: pointer;
  390. z-index: 1000;
  391. }
  392. :global {
  393. .moveable-control-box {
  394. --moveable-color: transparent !important;
  395. }
  396. .n-popover {
  397. background-color: transparent;
  398. }
  399. }
  400. .booxToolWrap {
  401. // width: 286px;
  402. height: 95px;
  403. background: #ffffff;
  404. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  405. border-radius: 20px;
  406. display: flex;
  407. flex-direction: row;
  408. align-items: center;
  409. padding: 9px 20px 9px;
  410. justify-content: space-between;
  411. overflow: hidden;
  412. .booxToolItem {
  413. margin: 0 10px;
  414. display: flex;
  415. flex-direction: column;
  416. align-items: center;
  417. font-size: 12px;
  418. cursor: pointer;
  419. &:hover {
  420. opacity: 0.8;
  421. }
  422. img {
  423. width: 56px;
  424. height: 56px;
  425. margin-bottom: 4px;
  426. }
  427. }
  428. }
  429. .setTimeImage {
  430. cursor: pointer;
  431. img {
  432. width: 792px;
  433. }
  434. }
  435. .beatImage {
  436. cursor: pointer;
  437. img {
  438. width: 698px;
  439. }
  440. }
  441. .changePwdModal {
  442. border-radius: 16px;
  443. }
  444. .imChatModal {
  445. border-radius: 20px;
  446. }
  447. .modeWrap {
  448. overflow: hidden;
  449. border-radius: 16px;
  450. background-color: #fff;
  451. }
  452. .showModalTone {
  453. width: 500px;
  454. .studentRemove {
  455. padding: 32px 40px 46px;
  456. p {
  457. font-size: 18px;
  458. color: #777777;
  459. line-height: 30px;
  460. text-align: center;
  461. span {
  462. color: #EA4132;
  463. }
  464. }
  465. }
  466. }
  467. .removeVisiable {
  468. width: 432px;
  469. :global {
  470. .n-card-header {
  471. font-size: max(22px, 16Px);
  472. }
  473. }
  474. .studentRemove {
  475. padding: 20px 40px 0;
  476. p {
  477. font-size: max(18px, 14Px);
  478. color: #777777;
  479. line-height: 30px;
  480. text-align: center;
  481. span {
  482. color: #EA4132;
  483. }
  484. }
  485. }
  486. .btnGroupModal {
  487. padding: 32px 0;
  488. :global {
  489. .n-button {
  490. height: 47px;
  491. min-width: 156px;
  492. }
  493. }
  494. }
  495. }