index.module.less 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  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. .coursewarePlay {
  24. position: relative;
  25. height: 100vh;
  26. margin: 0 auto;
  27. overflow: hidden;
  28. }
  29. .playModel {
  30. position: absolute;
  31. left: 0;
  32. top: 0;
  33. right: 0;
  34. bottom: 0;
  35. box-shadow: inset 0px 0px 164px 0px rgba(0, 0, 0, 1);
  36. pointer-events: none;
  37. }
  38. .headerContainer {
  39. position: fixed;
  40. top: 0;
  41. left: 0;
  42. right: 0;
  43. z-index: 10;
  44. display: flex;
  45. align-items: center;
  46. justify-content: space-between;
  47. height: 46px;
  48. // background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  49. background-color: rgba(0, 0, 0, 0.5);
  50. transition: transform 0.5s;
  51. box-sizing: border-box;
  52. font-size: max(16px, 14Px);
  53. color: #fff;
  54. pointer-events: none;
  55. div {
  56. box-sizing: border-box;
  57. }
  58. }
  59. .backBtn {
  60. color: #fff;
  61. height: 100%;
  62. display: flex;
  63. justify-content: space-between;
  64. align-items: center;
  65. z-index: 10;
  66. padding: 0 15px;
  67. :global {
  68. .van-icon {
  69. margin-right: 8px;
  70. }
  71. }
  72. }
  73. .headRight {
  74. position: relative;
  75. z-index: 10;
  76. display: flex;
  77. align-items: center;
  78. margin-left: auto;
  79. height: 100%;
  80. padding-right: 15px;
  81. .rightBtn {
  82. display: flex;
  83. justify-content: center;
  84. align-items: center;
  85. height: 100%;
  86. padding: 0 10px;
  87. img {
  88. width: 22px;
  89. height: 22px;
  90. display: block;
  91. }
  92. }
  93. }
  94. .menu {
  95. position: absolute;
  96. width: 100%;
  97. height: 100%;
  98. display: flex;
  99. justify-content: center;
  100. align-items: center;
  101. font-size: 17px;
  102. font-weight: bold;
  103. color: #fff;
  104. }
  105. .tabsContent {
  106. width: 100vw;
  107. height: 100vh;
  108. :global {
  109. .van-tabs__wrap {
  110. display: none !important;
  111. }
  112. .van-tabs__content {
  113. width: 100%;
  114. height: 100%;
  115. }
  116. }
  117. }
  118. .wraps {
  119. width: 100%;
  120. height: 100%;
  121. transform-style: preserve-3d;
  122. perspective: (32rem);
  123. transition-timing-function: initial;
  124. }
  125. .itemDiv {
  126. position: absolute;
  127. left: 0;
  128. top: 0;
  129. width: 100%;
  130. height: 100%;
  131. background-color: #000;
  132. transform-style: preserve-3d;
  133. transition-property: transform, opacity, height;
  134. backface-visibility: hidden;
  135. overflow: hidden;
  136. z-index: 1;
  137. &.itemActive {
  138. z-index: 10;
  139. }
  140. &.acitveAnimation {
  141. transition-duration: 0.8s;
  142. }
  143. &.show {
  144. display: block;
  145. }
  146. &.hide {
  147. display: none;
  148. }
  149. video {
  150. width: 100%;
  151. height: 100%;
  152. }
  153. img {
  154. display: block;
  155. width: 100%;
  156. height: 100%;
  157. object-fit: contain;
  158. }
  159. }
  160. .rightFixedBtns {
  161. position: absolute;
  162. top: 50%;
  163. transform: translateY(-50%);
  164. right: 16px;
  165. z-index: 10;
  166. }
  167. .fullBtn {
  168. width: 60px;
  169. height: 60px;
  170. overflow: hidden;
  171. &.point {
  172. margin: 20px 0 0;
  173. }
  174. img {
  175. width: 100%;
  176. height: 100%;
  177. }
  178. &:active {
  179. opacity: 0.8;
  180. }
  181. &.iconUp,
  182. &.iconDown {
  183. margin-top: 20px;
  184. }
  185. &.btnsDisabled {
  186. opacity: 0;
  187. pointer-events: none;
  188. display: none;
  189. }
  190. }
  191. :global {
  192. .top-enter-active,
  193. .top-leave-active {
  194. transition: transform 0.5s;
  195. }
  196. .top-enter-from,
  197. .top-leave-to {
  198. transform: translateY(-100%);
  199. }
  200. .right-enter-active,
  201. .right-leave-active {
  202. transition: all 0.5s;
  203. }
  204. .right-enter-from,
  205. .right-leave-to {
  206. right: -60px;
  207. opacity: 0;
  208. }
  209. .bottom-enter-active,
  210. .bottom-leave-active {
  211. transition: transform 0.5s;
  212. }
  213. .bottom-enter-from,
  214. .bottom-leave-to {
  215. transform: translateY(100%);
  216. }
  217. }
  218. .loadWrap {
  219. position: absolute;
  220. left: 0;
  221. top: 0;
  222. right: 0;
  223. bottom: 0;
  224. background: linear-gradient(45deg, #21232a, #111218);
  225. display: flex;
  226. justify-content: center;
  227. align-items: center;
  228. }
  229. .drawerContainer {
  230. width: 360px !important;
  231. .cardContainer {
  232. margin-bottom: 24px;
  233. }
  234. :global {
  235. .n-drawer-body-content-wrapper {
  236. padding: 8px 0px 0px !important;
  237. text-align: center;
  238. &>div {
  239. // margin-bottom: 24px;
  240. }
  241. }
  242. .n-drawer-header {
  243. position: relative;
  244. justify-content: center !important;
  245. padding-top: 24px !important;
  246. padding-bottom: 20px !important;
  247. border-bottom: 0 !important;
  248. .n-drawer-header__main {
  249. position: relative;
  250. z-index: 2;
  251. font-size: 18px;
  252. font-weight: 600;
  253. color: #131415;
  254. &::after {
  255. position: absolute;
  256. bottom: -4px;
  257. left: 0;
  258. z-index: -1;
  259. content: ' ';
  260. width: 100%;
  261. display: inline-block;
  262. height: 10px;
  263. background: linear-gradient(90deg,
  264. #77bbff 0%,
  265. rgba(163, 231, 255, 0.22) 100%);
  266. }
  267. }
  268. .n-drawer-header__close {
  269. position: absolute;
  270. right: 26px;
  271. }
  272. }
  273. }
  274. }
  275. .sectionAnimate {
  276. opacity: 0;
  277. pointer-events: none;
  278. transform: translateY(100%);
  279. transition: all 0.5s;
  280. }
  281. .sectionAnimateUp {
  282. opacity: 0;
  283. pointer-events: none;
  284. transform: translateY(-100%);
  285. transition: all 0.3s;
  286. }
  287. .switchDisplaySection {
  288. position: absolute;
  289. right: 0px;
  290. bottom: 0px;
  291. z-index: 199;
  292. transition: all 0.3s;
  293. display: flex;
  294. align-items: center;
  295. justify-content: space-between;
  296. width: 100%;
  297. padding: 0 40px;
  298. height: 126px;
  299. background-color: rgba(0, 0, 0, 0.7);
  300. // pointer-events: none;
  301. .switchSpace {
  302. gap: 0 48px !important;
  303. }
  304. .btnItem {
  305. display: flex;
  306. align-items: center;
  307. flex-direction: column;
  308. cursor: pointer;
  309. pointer-events: auto;
  310. &.btnsDisabled {
  311. opacity: 0.7;
  312. cursor: not-allowed;
  313. }
  314. img {
  315. width: 56px;
  316. height: 56px;
  317. }
  318. p {
  319. padding-top: 6px;
  320. font-size: 18px;
  321. color: #FFFFFF;
  322. line-height: 25px;
  323. text-align: center;
  324. }
  325. }
  326. }
  327. .attendClassModal {
  328. width: 442px;
  329. border-radius: 16px;
  330. overflow: hidden;
  331. :global {
  332. .n-card-header {
  333. position: relative;
  334. padding: 20px 18px;
  335. text-align: center;
  336. font-size: 22px;
  337. font-weight: 600;
  338. color: #131415;
  339. line-height: 30px;
  340. }
  341. .n-card-header__close {
  342. position: absolute;
  343. right: 18px;
  344. }
  345. .n-card__content {
  346. padding: 0;
  347. }
  348. .n-base-select-menu .n-base-select-option {
  349. font-size: 18px !important;
  350. }
  351. }
  352. .modelAttendContent {
  353. font-size: max(18px, 16px);
  354. color: #777777;
  355. line-height: 30px;
  356. text-align: center;
  357. }
  358. .modelAttendBtnGroup {
  359. padding: 40px 0;
  360. justify-content: center !important;
  361. :global {
  362. .n-button {
  363. height: 48px !important;
  364. min-width: 156px;
  365. }
  366. }
  367. }
  368. }
  369. .trainClassModal {
  370. width: 1028px;
  371. :global {
  372. .n-card-header {
  373. background: #f5f6fa;
  374. }
  375. }
  376. }
  377. .workContainer {
  378. padding: 20px 40px 40px;
  379. h2 {
  380. font-size: 26px;
  381. text-align: center;
  382. }
  383. }
  384. .toolboxImg {
  385. width: 83px;
  386. height: 83px;
  387. position: absolute;
  388. right: 16px;
  389. bottom: 164px;
  390. cursor: pointer;
  391. z-index: 1000;
  392. }
  393. .isDragIng {
  394. width: 83px;
  395. height: 83px;
  396. }
  397. .toolClassImg {
  398. width: 83px;
  399. height: 83px;
  400. position: absolute;
  401. right: 32px;
  402. bottom: 160px;
  403. cursor: pointer;
  404. z-index: 1000;
  405. }
  406. :global {
  407. .moveable-control-box {
  408. --moveable-color: transparent !important;
  409. }
  410. .n-popover {
  411. background-color: transparent;
  412. }
  413. }
  414. .booxToolWrap {
  415. // width: 286px;
  416. height: 95px;
  417. background: #ffffff;
  418. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  419. border-radius: 20px;
  420. display: flex;
  421. flex-direction: row;
  422. align-items: center;
  423. padding: 10px 8px;
  424. justify-content: space-between;
  425. .booxToolItem {
  426. margin: 0 12px;
  427. display: flex;
  428. flex-direction: column;
  429. align-items: center;
  430. font-size: 12px;
  431. cursor: pointer;
  432. text-align: center;
  433. &:hover {
  434. opacity: 0.8;
  435. }
  436. img {
  437. width: 56px;
  438. height: 56px;
  439. margin-bottom: 4px;
  440. }
  441. }
  442. }
  443. .setTimeImage {
  444. cursor: pointer;
  445. img {
  446. width: 792px;
  447. }
  448. }
  449. .beatImage {
  450. cursor: pointer;
  451. img {
  452. width: 698px;
  453. }
  454. }
  455. .changePwdModal {
  456. border-radius: 16px;
  457. }
  458. .imChatModal {
  459. border-radius: 20px;
  460. }
  461. .modeWrap {
  462. overflow: hidden;
  463. border-radius: 16px;
  464. background-color: #fff;
  465. }
  466. .showModalTone {
  467. width: 500px;
  468. .studentRemove {
  469. padding: 32px 40px 46px;
  470. p {
  471. font-size: 18px;
  472. color: #777777;
  473. line-height: 30px;
  474. text-align: center;
  475. span {
  476. color: #EA4132;
  477. }
  478. }
  479. }
  480. }
  481. .removeVisiable {
  482. width: 432px;
  483. :global {
  484. .n-card-header {
  485. font-size: max(22px, 16Px);
  486. }
  487. }
  488. .studentRemove {
  489. padding: 20px 40px 0;
  490. p {
  491. font-size: max(18px, 14Px);
  492. color: #777777;
  493. line-height: 30px;
  494. text-align: center;
  495. span {
  496. color: #EA4132;
  497. }
  498. }
  499. }
  500. .btnGroupModal {
  501. padding: 32px 0;
  502. :global {
  503. .n-button {
  504. height: 47px;
  505. min-width: 156px;
  506. }
  507. }
  508. }
  509. }
  510. .iframePpt {
  511. width: 100%;
  512. height: 100%;
  513. position: relative;
  514. .pptBox {
  515. position: absolute;
  516. width: 100%;
  517. height: 80%;
  518. left: 0;
  519. top: 10%;
  520. z-index: 9;
  521. background: transparent;
  522. }
  523. }
  524. .rightColumn {
  525. position: absolute;
  526. right: 0;
  527. top: 50%;
  528. transform: translateY(-50%);
  529. background: rgba(0, 0, 0, 0.3);
  530. border-radius: 10px;
  531. width: 76px;
  532. display: flex;
  533. flex-direction: column;
  534. align-items: center;
  535. padding: 10px 0;
  536. transition: all 0.3s;
  537. .rightItem {
  538. width: 54px;
  539. height: 54px;
  540. margin-bottom: 12px;
  541. cursor: pointer;
  542. position: relative;
  543. display: flex;
  544. align-items: center;
  545. justify-content: center;
  546. z-index: 9;
  547. &.active, &:hover {
  548. background: RGBA(255, 255, 255, 0.3);
  549. border-radius: 8px;
  550. z-index: 9;
  551. }
  552. &::after {
  553. content: "";
  554. position: absolute;
  555. left: 50%;
  556. bottom: -6px;
  557. transform: translateX(-50%);
  558. width: 44px;
  559. height: 1px;
  560. background: rgba(255, 255, 255, 0.2);
  561. }
  562. img {
  563. width: 34px;
  564. height: 34px;
  565. margin: auto;
  566. z-index: 9;
  567. }
  568. .rightTips {
  569. position: absolute;
  570. right: 24px;
  571. top: 50;
  572. transform: translateX(-50%);
  573. background: rgba(0, 0, 0, 0.7);
  574. border-radius: 6px;
  575. width: 88px;
  576. height: 34px;
  577. line-height: 34px;
  578. text-align: center;
  579. font-size: 16px;
  580. font-family: PingFangSC, PingFang SC;
  581. font-weight: 500;
  582. color: #FFFFFF;
  583. // transition: all 0.8s;
  584. z-index: 1;
  585. opacity: 0;
  586. }
  587. &:hover {
  588. .rightTips {
  589. opacity: 1;
  590. }
  591. }
  592. }
  593. .rightItem:last-child {
  594. width: 54px;
  595. height: 36px;
  596. img {
  597. width: 18px;
  598. height: 18px;
  599. }
  600. &::after {
  601. display: none;
  602. }
  603. }
  604. .itemDisabled {
  605. opacity: 0.7;
  606. cursor: not-allowed;
  607. }
  608. }
  609. .rightColumnZ {
  610. z-index: -1;
  611. }
  612. .rightColumnHide {
  613. transform: translate(80px,-50%);
  614. .rightTips {
  615. display: none;
  616. }
  617. }
  618. .rightHideIcon {
  619. width: 30px;
  620. height: 60px;
  621. position: absolute;
  622. right: 0;
  623. top: 50%;
  624. transform: translate(60px,-50%);
  625. z-index: 10;
  626. cursor: pointer;
  627. // transition: all 0.5s;
  628. }
  629. .rightIconShow {
  630. animation:rightIn 0.3s ease 0.3s;
  631. animation-fill-mode: forwards;
  632. }
  633. @keyframes rightIn {
  634. 0% {
  635. transform: translate(60px,-50%);
  636. }
  637. 100% {
  638. transform: translate(0,-50%);
  639. }
  640. }
  641. .bottomColumn {
  642. position: fixed;
  643. right: 40px;
  644. bottom: 26px;
  645. display: flex;
  646. z-index: 2;
  647. .bottomItem {
  648. width: 54px;
  649. height: 54px;
  650. background: rgba(0, 0, 0, 0.3);
  651. border-radius: 10px;
  652. display: flex;
  653. align-items: center;
  654. justify-content: center;
  655. margin-right: 16px;
  656. position: relative;
  657. cursor: pointer;
  658. .bottomTips {
  659. position: absolute;
  660. left: 50%;
  661. top: -40px;
  662. transform: translateX(-50%);
  663. opacity: 0;
  664. background: rgba(0, 0, 0, 0.7);
  665. border-radius: 6px;
  666. width: 88px;
  667. height: 34px;
  668. line-height: 34px;
  669. text-align: center;
  670. font-size: 16px;
  671. font-family: PingFangSC, PingFang SC;
  672. font-weight: 500;
  673. color: #FFFFFF;
  674. }
  675. &.active, &:hover {
  676. background: rgba(0, 0, 0, 0.5);
  677. .bottomTips {
  678. opacity: 1;
  679. }
  680. }
  681. img {
  682. width: 40px;
  683. height: 40px;
  684. }
  685. }
  686. .bottomItem:last-child {
  687. margin-right: 0;
  688. }
  689. .itemDisabled {
  690. opacity: 0.7;
  691. cursor: not-allowed;
  692. }
  693. }