index.module.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  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: max(18px, 13Px);
  252. font-weight: 600;
  253. color: #131415;
  254. max-width: 220px;
  255. white-space: nowrap;
  256. overflow: hidden;
  257. text-overflow: ellipsis;
  258. // &::after {
  259. // position: absolute;
  260. // bottom: -4px;
  261. // left: 0;
  262. // z-index: -1;
  263. // content: ' ';
  264. // width: 100%;
  265. // display: inline-block;
  266. // height: 10px;
  267. // background: linear-gradient(90deg,
  268. // #77bbff 0%,
  269. // rgba(163, 231, 255, 0.22) 100%);
  270. // }
  271. }
  272. .n-drawer-header__close {
  273. position: absolute;
  274. right: 26px;
  275. }
  276. }
  277. }
  278. }
  279. .sectionAnimate {
  280. opacity: 0;
  281. pointer-events: none;
  282. transform: translateY(100%);
  283. transition: all 0.5s;
  284. }
  285. .sectionAnimateUp {
  286. opacity: 0;
  287. pointer-events: none;
  288. transform: translateY(-100%);
  289. transition: all 0.3s;
  290. }
  291. .switchDisplaySection {
  292. position: absolute;
  293. right: 0px;
  294. bottom: 0px;
  295. z-index: 199;
  296. transition: all 0.3s;
  297. display: flex;
  298. align-items: center;
  299. justify-content: space-between;
  300. width: 100%;
  301. padding: 0 40px;
  302. height: 126px;
  303. background-color: rgba(0, 0, 0, 0.7);
  304. // pointer-events: none;
  305. .switchSpace {
  306. gap: 0 48px !important;
  307. }
  308. .btnItem {
  309. display: flex;
  310. align-items: center;
  311. flex-direction: column;
  312. cursor: pointer;
  313. pointer-events: auto;
  314. &.btnsDisabled {
  315. opacity: 0.7;
  316. cursor: not-allowed;
  317. }
  318. img {
  319. width: 56px;
  320. height: 56px;
  321. }
  322. p {
  323. padding-top: 6px;
  324. font-size: 18px;
  325. color: #FFFFFF;
  326. line-height: 25px;
  327. text-align: center;
  328. }
  329. }
  330. }
  331. .attendClassModal {
  332. width: 442px;
  333. border-radius: 16px;
  334. overflow: hidden;
  335. :global {
  336. .n-card-header {
  337. position: relative;
  338. padding: 20px 18px;
  339. text-align: center;
  340. font-size: 22px;
  341. font-weight: 600;
  342. color: #131415;
  343. line-height: 30px;
  344. }
  345. .n-card-header__close {
  346. position: absolute;
  347. right: 18px;
  348. }
  349. .n-card__content {
  350. padding: 0;
  351. }
  352. .n-base-select-menu .n-base-select-option {
  353. font-size: max(15px, 12Px) !important;
  354. }
  355. }
  356. .modelAttendContent {
  357. font-size: max(18px, 16px);
  358. color: #777777;
  359. line-height: 30px;
  360. text-align: center;
  361. }
  362. .modelAttendBtnGroup {
  363. padding: 40px 0;
  364. justify-content: center !important;
  365. :global {
  366. .n-button {
  367. height: 48px !important;
  368. min-width: 156px;
  369. }
  370. }
  371. }
  372. }
  373. .trainClassModal {
  374. width: 728px;
  375. :global {
  376. .n-card-header {
  377. background: #f5f6fa;
  378. }
  379. }
  380. }
  381. .workContainer {
  382. padding: 20px 40px 40px;
  383. h2 {
  384. font-size: 26px;
  385. text-align: center;
  386. }
  387. }
  388. .toolboxImg {
  389. width: 83px;
  390. height: 83px;
  391. position: absolute;
  392. right: 16px;
  393. bottom: 164px;
  394. cursor: pointer;
  395. z-index: 1000;
  396. }
  397. .isDragIng {
  398. width: 83px;
  399. height: 83px;
  400. }
  401. .toolClassImg {
  402. width: 83px;
  403. height: 83px;
  404. position: absolute;
  405. right: 32px;
  406. bottom: 160px;
  407. cursor: pointer;
  408. z-index: 1000;
  409. }
  410. :global {
  411. .moveable-control-box {
  412. --moveable-color: transparent !important;
  413. }
  414. .n-popover {
  415. background-color: transparent;
  416. }
  417. }
  418. .booxToolWrap {
  419. // width: 286px;
  420. height: 95px;
  421. background: #ffffff;
  422. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  423. border-radius: 20px;
  424. display: flex;
  425. flex-direction: row;
  426. align-items: center;
  427. padding: 10px 8px;
  428. justify-content: space-between;
  429. .booxToolItem {
  430. margin: 0 12px;
  431. display: flex;
  432. flex-direction: column;
  433. align-items: center;
  434. font-size: 12px;
  435. cursor: pointer;
  436. text-align: center;
  437. &:hover {
  438. opacity: 0.8;
  439. }
  440. img {
  441. width: 56px;
  442. height: 56px;
  443. margin-bottom: 4px;
  444. }
  445. }
  446. }
  447. .setTimeImage {
  448. cursor: pointer;
  449. img {
  450. width: 792px;
  451. }
  452. }
  453. .beatImage {
  454. cursor: pointer;
  455. img {
  456. width: 698px;
  457. }
  458. }
  459. .changePwdModal {
  460. border-radius: 16px;
  461. }
  462. .imChatModal {
  463. border-radius: 20px;
  464. }
  465. .modeWrap {
  466. overflow: hidden;
  467. border-radius: 16px;
  468. background-color: #fff;
  469. }
  470. .showModalTone {
  471. width: 500px;
  472. .studentRemove {
  473. padding: 32px 40px 46px;
  474. p {
  475. font-size: 18px;
  476. color: #777777;
  477. line-height: 30px;
  478. text-align: center;
  479. span {
  480. color: #EA4132;
  481. }
  482. }
  483. }
  484. }
  485. .removeVisiable {
  486. width: 432px;
  487. :global {
  488. .n-card-header {
  489. font-size: max(22px, 16Px);
  490. }
  491. }
  492. .studentRemove {
  493. padding: 20px 40px 0;
  494. p {
  495. font-size: max(18px, 14Px);
  496. color: #777777;
  497. line-height: 30px;
  498. text-align: center;
  499. span {
  500. color: #EA4132;
  501. }
  502. }
  503. }
  504. .btnGroupModal {
  505. padding: 32px 0;
  506. :global {
  507. .n-button {
  508. height: 47px;
  509. min-width: 156px;
  510. }
  511. }
  512. }
  513. }
  514. .iframePpt {
  515. width: 100%;
  516. height: 100%;
  517. position: relative;
  518. .pptBox {
  519. position: absolute;
  520. width: 100%;
  521. height: 80%;
  522. left: 0;
  523. top: 10%;
  524. z-index: 9;
  525. background: transparent;
  526. }
  527. }
  528. .rightColumn {
  529. position: absolute;
  530. right: 0;
  531. top: 50%;
  532. transform: translateY(-50%);
  533. background: rgba(0, 0, 0, 0.3);
  534. border-radius: 10px;
  535. width: 76px;
  536. display: flex;
  537. flex-direction: column;
  538. align-items: center;
  539. padding: 10px 0;
  540. transition: all 0.3s;
  541. .rightItem {
  542. width: 54px;
  543. height: 54px;
  544. margin-bottom: 12px;
  545. cursor: pointer;
  546. position: relative;
  547. display: flex;
  548. align-items: center;
  549. justify-content: center;
  550. z-index: 9;
  551. &.active,
  552. &:hover {
  553. background: RGBA(255, 255, 255, 0.3);
  554. border-radius: 8px;
  555. z-index: 9;
  556. }
  557. &::after {
  558. content: "";
  559. position: absolute;
  560. left: 50%;
  561. bottom: -6px;
  562. transform: translateX(-50%);
  563. width: 44px;
  564. height: 1px;
  565. background: rgba(255, 255, 255, 0.2);
  566. }
  567. img {
  568. width: 34px;
  569. height: 34px;
  570. margin: auto;
  571. z-index: 9;
  572. }
  573. .rightTips {
  574. position: absolute;
  575. right: 24px;
  576. top: 50;
  577. transform: translateX(-50%);
  578. background: rgba(0, 0, 0, 0.7);
  579. border-radius: 6px;
  580. width: 88px;
  581. height: 34px;
  582. line-height: 34px;
  583. text-align: center;
  584. font-size: max(16px, 12Px);
  585. font-family: PingFangSC, PingFang SC;
  586. font-weight: 500;
  587. color: #FFFFFF;
  588. // transition: all 0.8s;
  589. z-index: 1;
  590. opacity: 0;
  591. }
  592. &:hover {
  593. .rightTips {
  594. opacity: 1;
  595. }
  596. }
  597. }
  598. .rightItem:last-child {
  599. width: 54px;
  600. height: 36px;
  601. img {
  602. width: 18px;
  603. height: 18px;
  604. }
  605. &::after {
  606. display: none;
  607. }
  608. }
  609. .itemDisabled {
  610. opacity: 0.7;
  611. cursor: not-allowed;
  612. }
  613. .itemHide {
  614. display: none;
  615. }
  616. }
  617. .rightColumnZ {
  618. z-index: -1;
  619. }
  620. .rightColumnHide {
  621. transform: translate(80px, -50%);
  622. .rightTips {
  623. display: none;
  624. }
  625. }
  626. .rightHideIcon {
  627. width: 30px;
  628. height: 60px;
  629. position: absolute;
  630. right: 0;
  631. top: 50%;
  632. transform: translate(60px, -50%);
  633. z-index: 10;
  634. cursor: pointer;
  635. // transition: all 0.5s;
  636. }
  637. .rightIconShow {
  638. animation: rightIn 0.3s ease 0.3s;
  639. animation-fill-mode: forwards;
  640. }
  641. @keyframes rightIn {
  642. 0% {
  643. transform: translate(60px, -50%);
  644. }
  645. 100% {
  646. transform: translate(0, -50%);
  647. }
  648. }
  649. .bottomColumn {
  650. position: fixed;
  651. right: 40px;
  652. bottom: 26px;
  653. display: flex;
  654. z-index: 2;
  655. .bottomItem {
  656. width: 54px;
  657. height: 54px;
  658. background: rgba(0, 0, 0, 0.3);
  659. border-radius: 10px;
  660. display: flex;
  661. align-items: center;
  662. justify-content: center;
  663. margin-right: 16px;
  664. position: relative;
  665. cursor: pointer;
  666. .bottomTips {
  667. position: absolute;
  668. left: 50%;
  669. top: -40px;
  670. transform: translateX(-50%);
  671. opacity: 0;
  672. background: rgba(0, 0, 0, 0.7);
  673. border-radius: 6px;
  674. width: 88px;
  675. height: 34px;
  676. line-height: 34px;
  677. text-align: center;
  678. font-size: max(16px, 12Px);
  679. font-family: PingFangSC, PingFang SC;
  680. font-weight: 500;
  681. color: #FFFFFF;
  682. }
  683. &.active,
  684. &:hover {
  685. background: rgba(0, 0, 0, 0.5);
  686. .bottomTips {
  687. opacity: 1;
  688. }
  689. }
  690. img {
  691. width: 40px;
  692. height: 40px;
  693. }
  694. }
  695. .bottomItem:last-child {
  696. margin-right: 0;
  697. }
  698. .itemDisabled {
  699. opacity: 0.7;
  700. cursor: not-allowed;
  701. }
  702. }
  703. .selectMusicModal {
  704. position: relative;
  705. width: 1352px;
  706. :global {
  707. .n-card-header {
  708. position: absolute;
  709. top: 0;
  710. left: 0;
  711. right: 0;
  712. .n-card-header__main {
  713. color: #fff;
  714. }
  715. }
  716. }
  717. }
  718. .selectClassModal {
  719. width: 900px;
  720. }