index.module.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927
  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: 860px;
  231. :global {
  232. .n-card-header {
  233. background-color: #ffffff !important;
  234. }
  235. .n-card__content {
  236. position: relative;
  237. .bom_drag {
  238. position: absolute;
  239. bottom: 0;
  240. left: 0;
  241. z-index: 1;
  242. }
  243. }
  244. }
  245. }
  246. .sectionAnimate {
  247. opacity: 0;
  248. pointer-events: none;
  249. transform: translateY(100%);
  250. transition: all 0.5s;
  251. }
  252. .sectionAnimateUp {
  253. opacity: 0;
  254. pointer-events: none;
  255. transform: translateY(-100%);
  256. transition: all 0.3s;
  257. }
  258. .switchDisplaySection {
  259. position: absolute;
  260. right: 0px;
  261. bottom: 0px;
  262. z-index: 199;
  263. transition: all 0.3s;
  264. display: flex;
  265. align-items: center;
  266. justify-content: space-between;
  267. width: 100%;
  268. padding: 0 40px;
  269. height: 126px;
  270. background-color: rgba(0, 0, 0, 0.7);
  271. // pointer-events: none;
  272. .switchSpace {
  273. gap: 0 48px !important;
  274. }
  275. .btnItem {
  276. display: flex;
  277. align-items: center;
  278. flex-direction: column;
  279. cursor: pointer;
  280. pointer-events: auto;
  281. &.btnsDisabled {
  282. opacity: 0.7;
  283. cursor: not-allowed;
  284. }
  285. img {
  286. width: 56px;
  287. height: 56px;
  288. }
  289. p {
  290. padding-top: 6px;
  291. font-size: 18px;
  292. color: #ffffff;
  293. line-height: 25px;
  294. text-align: center;
  295. }
  296. }
  297. }
  298. .attendClassModal {
  299. width: 442px;
  300. border-radius: 16px;
  301. overflow: hidden;
  302. :global {
  303. .n-card-header {
  304. position: relative;
  305. padding: 20px 18px;
  306. text-align: center;
  307. font-size: 22px;
  308. font-weight: 600;
  309. color: #131415;
  310. line-height: 30px;
  311. }
  312. .n-card-header__close {
  313. position: absolute;
  314. right: 18px;
  315. }
  316. .n-card__content {
  317. padding: 0;
  318. }
  319. .n-base-select-menu .n-base-select-option {
  320. font-size: max(15px, 12Px) !important;
  321. }
  322. }
  323. .modelAttendContent {
  324. font-size: max(18px, 16px);
  325. color: #777777;
  326. line-height: 30px;
  327. text-align: center;
  328. }
  329. .modelAttendBtnGroup {
  330. padding: 40px 0;
  331. justify-content: center !important;
  332. :global {
  333. .n-button {
  334. height: 48px !important;
  335. min-width: 156px;
  336. }
  337. }
  338. }
  339. }
  340. .trainClassModal {
  341. width: 728px;
  342. :global {
  343. .n-card-header {
  344. background: #f5f6fa;
  345. }
  346. }
  347. }
  348. .workContainer {
  349. // padding: 20px 40px 40px;
  350. h2 {
  351. font-size: 26px;
  352. text-align: center;
  353. }
  354. }
  355. .toolboxImg {
  356. width: 83px;
  357. height: 83px;
  358. position: absolute;
  359. right: 16px;
  360. bottom: 164px;
  361. cursor: pointer;
  362. z-index: 1000;
  363. }
  364. .isDragIng {
  365. width: 83px;
  366. height: 83px;
  367. }
  368. .toolClassImg {
  369. width: 83px;
  370. height: 83px;
  371. position: absolute;
  372. right: 32px;
  373. bottom: 160px;
  374. cursor: pointer;
  375. z-index: 1000;
  376. }
  377. :global {
  378. .moveable-control-box {
  379. --moveable-color: transparent !important;
  380. }
  381. .n-popover {
  382. background-color: transparent;
  383. }
  384. }
  385. .booxToolWrap {
  386. // width: 286px;
  387. height: 95px;
  388. background: #ffffff;
  389. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  390. border-radius: 20px;
  391. display: flex;
  392. flex-direction: row;
  393. align-items: center;
  394. padding: 10px 8px;
  395. justify-content: space-between;
  396. .booxToolItem {
  397. margin: 0 12px;
  398. display: flex;
  399. flex-direction: column;
  400. align-items: center;
  401. font-size: 12px;
  402. cursor: pointer;
  403. text-align: center;
  404. &:hover {
  405. opacity: 0.8;
  406. }
  407. img {
  408. width: 56px;
  409. height: 56px;
  410. margin-bottom: 4px;
  411. }
  412. }
  413. }
  414. .setTimeImage {
  415. cursor: pointer;
  416. img {
  417. width: 792px;
  418. }
  419. }
  420. .beatImage {
  421. cursor: pointer;
  422. img {
  423. width: 698px;
  424. }
  425. }
  426. .changePwdModal {
  427. border-radius: 16px;
  428. }
  429. .imChatModal {
  430. border-radius: 20px;
  431. }
  432. .modeWrap {
  433. overflow: hidden;
  434. border-radius: 16px;
  435. background-color: #fff;
  436. }
  437. .showModalTone {
  438. width: 500px;
  439. .studentRemove {
  440. padding: 32px 40px 46px;
  441. p {
  442. font-size: 18px;
  443. color: #777777;
  444. line-height: 30px;
  445. text-align: center;
  446. span {
  447. color: #ea4132;
  448. }
  449. }
  450. }
  451. }
  452. .removeVisiable {
  453. width: 432px;
  454. position: relative;
  455. :global {
  456. .bom_drag {
  457. height: 36px;
  458. position: absolute;
  459. bottom: 0;
  460. left: 0;
  461. z-index: 1;
  462. }
  463. .n-card-header {
  464. font-size: max(22px, 16Px);
  465. }
  466. }
  467. .studentRemove {
  468. padding: 20px 40px 0;
  469. p {
  470. font-size: max(18px, 14Px);
  471. color: #777777;
  472. line-height: 30px;
  473. text-align: center;
  474. span {
  475. color: #ea4132;
  476. }
  477. }
  478. }
  479. .btnGroupModal {
  480. padding: 32px 0;
  481. :global {
  482. .n-button {
  483. height: 47px;
  484. min-width: 156px;
  485. }
  486. }
  487. }
  488. }
  489. .iframePpt {
  490. width: 100%;
  491. height: 100%;
  492. position: relative;
  493. .pptBox {
  494. position: absolute;
  495. width: 100%;
  496. height: 80%;
  497. left: 0;
  498. top: 10%;
  499. z-index: 9;
  500. background: transparent;
  501. }
  502. }
  503. .rightColumn,
  504. .leftColumn {
  505. position: absolute;
  506. right: 14px;
  507. bottom: 130px;
  508. background: rgba(0, 0, 0, 0.3);
  509. border-radius: 10px;
  510. width: 52px;
  511. display: flex;
  512. flex-direction: column;
  513. align-items: center;
  514. padding: 10px;
  515. transition: all 0.3s;
  516. .columnItemBox {
  517. border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  518. padding: 5px 0;
  519. &:last-child {
  520. border-bottom: none;
  521. }
  522. }
  523. .columnItem {
  524. padding: 5px;
  525. cursor: pointer;
  526. position: relative;
  527. display: flex;
  528. align-items: center;
  529. justify-content: center;
  530. z-index: 9;
  531. &.active,
  532. &:hover {
  533. background: RGBA(255, 255, 255, 0.3);
  534. border-radius: 8px;
  535. z-index: 9;
  536. }
  537. img {
  538. width: 28px;
  539. height: 28px;
  540. z-index: 9;
  541. }
  542. }
  543. .itemDisabled {
  544. opacity: 0.7;
  545. cursor: not-allowed;
  546. }
  547. }
  548. :global {
  549. .columnItemTooltip.n-tooltip {
  550. background: #ffffff !important;
  551. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1) !important;
  552. border-radius: 20px !important;
  553. padding: 0 !important;
  554. margin-left: 22px !important;
  555. &.rightColumnItemTooltip {
  556. margin-right: 22px !important;
  557. }
  558. .tools {
  559. padding: 10px 20px;
  560. display: flex;
  561. >div {
  562. display: flex;
  563. flex-direction: column;
  564. margin-right: 16px;
  565. cursor: pointer;
  566. &.active,
  567. &:hover {
  568. opacity: 0.8;
  569. }
  570. &:last-child {
  571. margin-right: 0;
  572. }
  573. img {
  574. width: 56px;
  575. height: 56px;
  576. }
  577. .tit {
  578. margin-top: 4px;
  579. text-align: center;
  580. font-weight: 400;
  581. font-size: max(6px, 12Px);
  582. color: #383a3d;
  583. }
  584. }
  585. }
  586. }
  587. }
  588. .leftColumn {
  589. left: 14px;
  590. }
  591. .rightColumnHide {
  592. transform: translate(80px);
  593. }
  594. .leftColumnHide {
  595. transform: translate(-80px);
  596. }
  597. .rightHideIcon,
  598. .leftHideIcon {
  599. width: 28px;
  600. height: 60px;
  601. position: absolute;
  602. right: 0;
  603. bottom: 300px;
  604. transform: translate(60px);
  605. z-index: 10;
  606. cursor: pointer;
  607. // transition: all 0.5s;
  608. }
  609. .leftHideIcon {
  610. left: 0;
  611. transform: translate(-60px);
  612. background: url("./image/left_hide_icon.png") no-repeat;
  613. background-size: 100% 100%;
  614. &:hover {
  615. background: url("./image/left_hide_icon_act.png") no-repeat;
  616. background-size: 100% 100%;
  617. }
  618. }
  619. .rightHideIcon {
  620. background: url("./image/right_hide_icon.png") no-repeat;
  621. background-size: 100% 100%;
  622. &:hover {
  623. background: url("./image/right_hide_icon_act.png") no-repeat;
  624. background-size: 100% 100%;
  625. }
  626. }
  627. .rightIconShow {
  628. animation: rightIn 0.3s ease 0.3s;
  629. animation-fill-mode: forwards;
  630. }
  631. .leftIconShow {
  632. animation: leftIn 0.3s ease 0.3s;
  633. animation-fill-mode: forwards;
  634. }
  635. @keyframes rightIn {
  636. 0% {
  637. transform: translate(60px, -50%);
  638. }
  639. 100% {
  640. transform: translate(0, -50%);
  641. }
  642. }
  643. @keyframes leftIn {
  644. 0% {
  645. transform: translate(-60px, -50%);
  646. }
  647. 100% {
  648. transform: translate(0, -50%);
  649. }
  650. }
  651. .instrumentContainer {
  652. background: #ffffff;
  653. padding: 68px;
  654. height: 100%;
  655. }
  656. :global {
  657. .selResourBoxClass_drag {
  658. .select-resource {
  659. padding-bottom: 0;
  660. height: 50vh;
  661. .spaceSectionBox {
  662. width: calc(100% - 360px) !important;
  663. }
  664. .list_container {
  665. --listContainerHeight: 50vh;
  666. .selresources_item_Wrap {
  667. width: calc(100% / 3) !important;
  668. padding-bottom: calc(100% / 3 * 0.73333) !important;
  669. }
  670. }
  671. }
  672. }
  673. }
  674. .selectMusicModal {
  675. position: relative;
  676. width: 1050px;
  677. :global {
  678. .n-card-header {
  679. position: absolute;
  680. top: 0;
  681. left: 0;
  682. right: 0;
  683. .n-card-header__main {
  684. color: #fff;
  685. }
  686. }
  687. }
  688. }
  689. .selectClassModal {
  690. width: 1000px;
  691. }
  692. .workVisiable {
  693. width: 1358px;
  694. :global {
  695. .bom_drag {
  696. position: absolute;
  697. bottom: 0;
  698. left: 0;
  699. z-index: 1;
  700. }
  701. }
  702. }
  703. :global {
  704. .metronomeConBoxClass_drag {
  705. .bom_drag {
  706. position: absolute;
  707. bottom: 0;
  708. left: 0;
  709. z-index: 1;
  710. }
  711. }
  712. }
  713. :global {
  714. .timerMeterConBoxClass_drag {
  715. box-shadow: initial;
  716. width: 651px;
  717. .topDragDom {
  718. position: absolute;
  719. left: 0;
  720. top: 0;
  721. width: calc(100% - 31px);
  722. height: 40px;
  723. }
  724. }
  725. }
  726. .timerMeterClose {
  727. position: absolute;
  728. width: 31px;
  729. height: 32px;
  730. top: 16px;
  731. right: 0;
  732. cursor: pointer;
  733. }
  734. .workContainer {
  735. display: flex;
  736. align-items: center;
  737. .workTrain {
  738. flex: 1;
  739. height: 55vh;
  740. &>div {
  741. padding-top: 15px;
  742. }
  743. }
  744. :global {
  745. .train-container {
  746. // max-height: calc(var(--window-page-lesson-height) - 135px) !important;
  747. max-height: calc(var(--window-page-lesson-height) - 100px) !important;
  748. .train-listSection {
  749. min-height: calc(var(--window-page-lesson-height) - 100px) !important;
  750. }
  751. }
  752. }
  753. .resourceMain {
  754. flex: 0 0 360px;
  755. height: 55vh;
  756. width: 360px;
  757. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  758. }
  759. }
  760. :global {
  761. .chapterConBoxClass_drag,
  762. .resourcesConBoxClass_drag {
  763. .n-card-header .n-card-header__main {
  764. text-align: left;
  765. position: relative;
  766. font-weight: 600;
  767. font-size: 22px;
  768. color: #131415;
  769. padding-left: 30px;
  770. &::before {
  771. content: "";
  772. position: absolute;
  773. width: 5px;
  774. height: 15px;
  775. background: #198CFE;
  776. left: 15px;
  777. top: 50%;
  778. transform: translateY(-50%);
  779. }
  780. }
  781. }
  782. }