index.module.less 12 KB

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