index.module.less 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804
  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. .dragbom{
  452. position: absolute;
  453. bottom: 0;
  454. left: 0;
  455. }
  456. .removeVisiable {
  457. width: 432px;
  458. position: relative;
  459. :global {
  460. .bom_drag{
  461. position: absolute;
  462. bottom: 0;
  463. left: 0;
  464. }
  465. .n-card-header {
  466. font-size: max(22px, 16Px);
  467. }
  468. }
  469. .studentRemove {
  470. padding: 20px 40px 0;
  471. p {
  472. font-size: max(18px, 14Px);
  473. color: #777777;
  474. line-height: 30px;
  475. text-align: center;
  476. span {
  477. color: #ea4132;
  478. }
  479. }
  480. }
  481. .btnGroupModal {
  482. padding: 32px 0;
  483. :global {
  484. .n-button {
  485. height: 47px;
  486. min-width: 156px;
  487. }
  488. }
  489. }
  490. }
  491. .iframePpt {
  492. width: 100%;
  493. height: 100%;
  494. position: relative;
  495. .pptBox {
  496. position: absolute;
  497. width: 100%;
  498. height: 80%;
  499. left: 0;
  500. top: 10%;
  501. z-index: 9;
  502. background: transparent;
  503. }
  504. }
  505. .rightColumn,
  506. .leftColumn {
  507. position: absolute;
  508. right: 14px;
  509. bottom: 130px;
  510. background: rgba(0, 0, 0, 0.3);
  511. border-radius: 10px;
  512. width: 52px;
  513. display: flex;
  514. flex-direction: column;
  515. align-items: center;
  516. padding: 10px;
  517. transition: all 0.3s;
  518. .columnItemBox {
  519. border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  520. padding: 5px 0;
  521. &:last-child {
  522. border-bottom: none;
  523. }
  524. }
  525. .columnItem {
  526. padding: 5px;
  527. cursor: pointer;
  528. position: relative;
  529. display: flex;
  530. align-items: center;
  531. justify-content: center;
  532. z-index: 9;
  533. &.active,
  534. &:hover {
  535. background: RGBA(255, 255, 255, 0.3);
  536. border-radius: 8px;
  537. z-index: 9;
  538. }
  539. img {
  540. width: 28px;
  541. height: 28px;
  542. z-index: 9;
  543. }
  544. }
  545. .itemDisabled {
  546. opacity: 0.7;
  547. cursor: not-allowed;
  548. }
  549. }
  550. :global {
  551. .columnItemTooltip.n-tooltip {
  552. background: #ffffff !important;
  553. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1) !important;
  554. border-radius: 20px !important;
  555. padding: 0 !important;
  556. margin-left: 22px !important;
  557. &.rightColumnItemTooltip {
  558. margin-right: 22px !important;
  559. }
  560. .tools {
  561. padding: 10px 20px;
  562. display: flex;
  563. > div {
  564. display: flex;
  565. flex-direction: column;
  566. margin-right: 16px;
  567. cursor: pointer;
  568. &.active,
  569. &:hover {
  570. opacity: 0.8;
  571. }
  572. &:last-child {
  573. margin-right: 0;
  574. }
  575. img {
  576. width: 56px;
  577. height: 56px;
  578. }
  579. .tit {
  580. margin-top: 4px;
  581. text-align: center;
  582. font-weight: 400;
  583. font-size: max(6px, 12Px);
  584. color: #383a3d;
  585. }
  586. }
  587. }
  588. }
  589. }
  590. .leftColumn {
  591. left: 14px;
  592. }
  593. .rightColumnHide {
  594. transform: translate(80px);
  595. }
  596. .leftColumnHide {
  597. transform: translate(-80px);
  598. }
  599. .rightHideIcon,
  600. .leftHideIcon {
  601. width: 28px;
  602. height: 60px;
  603. position: absolute;
  604. right: 0;
  605. bottom: 300px;
  606. transform: translate(60px);
  607. z-index: 10;
  608. cursor: pointer;
  609. // transition: all 0.5s;
  610. }
  611. .leftHideIcon {
  612. left: 0;
  613. transform: translate(-60px);
  614. }
  615. .rightIconShow {
  616. animation: rightIn 0.3s ease 0.3s;
  617. animation-fill-mode: forwards;
  618. }
  619. .leftIconShow {
  620. animation: leftIn 0.3s ease 0.3s;
  621. animation-fill-mode: forwards;
  622. }
  623. @keyframes rightIn {
  624. 0% {
  625. transform: translate(60px, -50%);
  626. }
  627. 100% {
  628. transform: translate(0, -50%);
  629. }
  630. }
  631. @keyframes leftIn {
  632. 0% {
  633. transform: translate(-60px, -50%);
  634. }
  635. 100% {
  636. transform: translate(0, -50%);
  637. }
  638. }
  639. .instrumentContainer {
  640. background: #ffffff;
  641. padding: 68px;
  642. height: 100%;
  643. }
  644. :global{
  645. .selResourBoxClass_drag{
  646. .select-resource{
  647. padding-bottom: 0;
  648. height: 50vh;
  649. .list_container{
  650. --listContainerHeight:50vh;
  651. .selresources_item_Wrap{
  652. width: calc(100% / 3) !important;
  653. padding-bottom: calc(100% / 3 * 0.73333) !important;
  654. }
  655. }
  656. }
  657. }
  658. }
  659. .selectMusicModal {
  660. position: relative;
  661. width: 1050px;
  662. :global {
  663. .n-card-header {
  664. position: absolute;
  665. top: 0;
  666. left: 0;
  667. right: 0;
  668. .n-card-header__main {
  669. color: #fff;
  670. }
  671. }
  672. }
  673. }
  674. .selectClassModal {
  675. width: 1000px;
  676. }
  677. .workVisiable {
  678. width: 1200px;
  679. }
  680. .workContainer {
  681. display: flex;
  682. align-items: center;
  683. .workTrain {
  684. flex: 1;
  685. height: 55vh;
  686. & > div {
  687. padding-top: 15px;
  688. }
  689. }
  690. :global {
  691. .train-container {
  692. // max-height: calc(var(--window-page-lesson-height) - 135px) !important;
  693. max-height: calc(var(--window-page-lesson-height) - 100px) !important;
  694. .train-listSection {
  695. min-height: calc(var(--window-page-lesson-height) - 100px) !important;
  696. }
  697. }
  698. }
  699. .resourceMain {
  700. flex: 0 0 360px;
  701. height: 55vh;
  702. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  703. }
  704. }