index.module.less 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625
  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. .assignHomework {
  24. position: absolute;
  25. top: 40px;
  26. left: 40px;
  27. width: 187px;
  28. height: 65px;
  29. cursor: pointer;
  30. transition: all 0.5s;
  31. &.isClose {
  32. left: 124px;
  33. }
  34. img {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. }
  39. .sectionAnimateUp {
  40. opacity: 0;
  41. pointer-events: none;
  42. transform: translateY(-100%);
  43. transition: all 0.5s;
  44. }
  45. .coursewarePlay {
  46. position: relative;
  47. height: 100vh;
  48. margin: 0 auto;
  49. overflow: hidden;
  50. }
  51. .playModel {
  52. position: absolute;
  53. left: 0;
  54. top: 0;
  55. right: 0;
  56. bottom: 0;
  57. box-shadow: inset 0px 0px 164px 0px rgba(0, 0, 0, 1);
  58. pointer-events: none;
  59. }
  60. .headerContainer {
  61. position: fixed;
  62. top: 0;
  63. left: 0;
  64. right: 0;
  65. z-index: 10;
  66. display: flex;
  67. align-items: center;
  68. justify-content: space-between;
  69. height: 46px;
  70. // background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  71. background-color: rgba(0, 0, 0, 0.5);
  72. transition: transform 0.5s;
  73. box-sizing: border-box;
  74. font-size: max(16px, 14Px);
  75. color: #fff;
  76. pointer-events: none;
  77. div {
  78. box-sizing: border-box;
  79. }
  80. }
  81. .backBtn {
  82. color: #fff;
  83. height: 100%;
  84. display: flex;
  85. justify-content: space-between;
  86. align-items: center;
  87. z-index: 10;
  88. padding: 0 15px;
  89. :global {
  90. .van-icon {
  91. margin-right: 8px;
  92. }
  93. }
  94. }
  95. .headRight {
  96. position: relative;
  97. z-index: 10;
  98. display: flex;
  99. align-items: center;
  100. margin-left: auto;
  101. height: 100%;
  102. padding-right: 15px;
  103. .rightBtn {
  104. display: flex;
  105. justify-content: center;
  106. align-items: center;
  107. height: 100%;
  108. padding: 0 10px;
  109. img {
  110. width: 22px;
  111. height: 22px;
  112. display: block;
  113. }
  114. }
  115. }
  116. .menu {
  117. position: absolute;
  118. width: 100%;
  119. height: 100%;
  120. display: flex;
  121. justify-content: center;
  122. align-items: center;
  123. font-size: 17px;
  124. font-weight: bold;
  125. color: #fff;
  126. }
  127. .tabsContent {
  128. width: 100vw;
  129. height: 100vh;
  130. :global {
  131. .van-tabs__wrap {
  132. display: none !important;
  133. }
  134. .van-tabs__content {
  135. width: 100%;
  136. height: 100%;
  137. }
  138. }
  139. }
  140. .wraps {
  141. width: 100%;
  142. height: 100%;
  143. transform-style: preserve-3d;
  144. perspective: (32rem);
  145. transition-timing-function: initial;
  146. }
  147. .itemDiv {
  148. position: absolute;
  149. left: 0;
  150. top: 0;
  151. width: 100%;
  152. height: 100%;
  153. background-color: #000;
  154. transform-style: preserve-3d;
  155. transition-property: transform, opacity, height;
  156. backface-visibility: hidden;
  157. overflow: hidden;
  158. z-index: 1;
  159. &.itemActive {
  160. z-index: 10;
  161. }
  162. &.acitveAnimation {
  163. transition-duration: 0.8s;
  164. }
  165. &.show {
  166. display: block;
  167. }
  168. &.hide {
  169. display: none;
  170. }
  171. video {
  172. width: 100%;
  173. height: 100%;
  174. }
  175. img {
  176. display: block;
  177. width: 100%;
  178. height: 100%;
  179. object-fit: contain;
  180. }
  181. }
  182. .rightFixedBtns {
  183. position: absolute;
  184. top: 50%;
  185. transform: translateY(-50%);
  186. right: 16px;
  187. z-index: 10;
  188. }
  189. .fullBtn {
  190. width: 60px;
  191. height: 60px;
  192. overflow: hidden;
  193. &.point {
  194. margin: 20px 0 0;
  195. }
  196. img {
  197. width: 100%;
  198. height: 100%;
  199. }
  200. &:active {
  201. opacity: 0.8;
  202. }
  203. &.iconUp,
  204. &.iconDown {
  205. margin-top: 20px;
  206. }
  207. &.btnsDisabled {
  208. opacity: 0;
  209. pointer-events: none;
  210. display: none;
  211. }
  212. }
  213. :global {
  214. .top-enter-active,
  215. .top-leave-active {
  216. transition: transform 0.5s;
  217. }
  218. .top-enter-from,
  219. .top-leave-to {
  220. transform: translateY(-100%);
  221. }
  222. .right-enter-active,
  223. .right-leave-active {
  224. transition: all 0.5s;
  225. }
  226. .right-enter-from,
  227. .right-leave-to {
  228. right: -60px;
  229. opacity: 0;
  230. }
  231. .bottom-enter-active,
  232. .bottom-leave-active {
  233. transition: transform 0.5s;
  234. }
  235. .bottom-enter-from,
  236. .bottom-leave-to {
  237. transform: translateY(100%);
  238. }
  239. }
  240. .loadWrap {
  241. position: absolute;
  242. left: 0;
  243. top: 0;
  244. right: 0;
  245. bottom: 0;
  246. background: linear-gradient(45deg, #21232a, #111218);
  247. display: flex;
  248. justify-content: center;
  249. align-items: center;
  250. }
  251. .drawerContainer {
  252. width: 360px !important;
  253. .cardContainer {
  254. margin-bottom: 24px;
  255. }
  256. :global {
  257. .n-drawer-body-content-wrapper {
  258. padding: 8px 0px 0px !important;
  259. text-align: center;
  260. &>div {
  261. // margin-bottom: 24px;
  262. }
  263. }
  264. .n-drawer-header {
  265. position: relative;
  266. justify-content: center !important;
  267. padding-top: 24px !important;
  268. padding-bottom: 20px !important;
  269. border-bottom: 0 !important;
  270. .n-drawer-header__main {
  271. position: relative;
  272. z-index: 2;
  273. font-size: 18px;
  274. font-weight: 600;
  275. color: #131415;
  276. &::after {
  277. position: absolute;
  278. bottom: -4px;
  279. left: 0;
  280. z-index: -1;
  281. content: ' ';
  282. width: 100%;
  283. display: inline-block;
  284. height: 10px;
  285. background: linear-gradient(90deg,
  286. #77bbff 0%,
  287. rgba(163, 231, 255, 0.22) 100%);
  288. }
  289. }
  290. .n-drawer-header__close {
  291. position: absolute;
  292. right: 26px;
  293. }
  294. }
  295. }
  296. }
  297. .sectionAnimate {
  298. opacity: 0;
  299. pointer-events: none;
  300. transform: translateY(100%);
  301. transition: all 0.5s;
  302. }
  303. .switchDisplaySection {
  304. position: absolute;
  305. right: 0px;
  306. bottom: 0px;
  307. z-index: 199;
  308. transition: all 0.5s;
  309. display: flex;
  310. align-items: center;
  311. justify-content: space-between;
  312. width: 100%;
  313. padding: 0 30px;
  314. height: 126px;
  315. background-color: rgba(0, 0, 0, 0.7);
  316. .switchSpace {
  317. gap: 0 48px !important;
  318. }
  319. .btnItem {
  320. display: flex;
  321. align-items: center;
  322. flex-direction: column;
  323. cursor: pointer;
  324. &.btnsDisabled {
  325. opacity: 0.7;
  326. cursor: not-allowed;
  327. }
  328. img {
  329. width: 56px;
  330. height: 56px;
  331. }
  332. p {
  333. padding-top: 6px;
  334. font-size: 18px;
  335. color: #FFFFFF;
  336. line-height: 25px;
  337. text-align: center;
  338. }
  339. }
  340. }
  341. .attendClassModal {
  342. width: 442px;
  343. border-radius: 16px;
  344. overflow: hidden;
  345. :global {
  346. .n-card-header {
  347. position: relative;
  348. padding: 20px 18px;
  349. text-align: center;
  350. font-size: 22px;
  351. font-weight: 600;
  352. color: #131415;
  353. line-height: 30px;
  354. }
  355. .n-card-header__close {
  356. position: absolute;
  357. right: 18px;
  358. }
  359. .n-card__content {
  360. padding: 0;
  361. }
  362. .n-base-select-menu .n-base-select-option {
  363. font-size: 18px !important;
  364. }
  365. }
  366. .modelAttendContent {
  367. font-size: max(18px, 16px);
  368. color: #777777;
  369. line-height: 30px;
  370. text-align: center;
  371. }
  372. .modelAttendBtnGroup {
  373. padding: 40px 0;
  374. justify-content: center !important;
  375. :global {
  376. .n-button {
  377. height: 48px !important;
  378. min-width: 156px;
  379. }
  380. }
  381. }
  382. }
  383. .trainClassModal {
  384. width: 1028px;
  385. :global {
  386. .n-card-header {
  387. background: #f5f6fa;
  388. }
  389. }
  390. }
  391. .workContainer {
  392. padding: 20px 40px 40px;
  393. h2 {
  394. font-size: 26px;
  395. text-align: center;
  396. }
  397. }
  398. .toolboxImg {
  399. width: 83px;
  400. height: 83px;
  401. position: absolute;
  402. right: 16px;
  403. bottom: 164px;
  404. cursor: pointer;
  405. z-index: 1000;
  406. }
  407. .isDragIng {
  408. width: 83px;
  409. height: 83px;
  410. }
  411. .toolClassImg {
  412. width: 83px;
  413. height: 83px;
  414. position: absolute;
  415. right: 32px;
  416. bottom: 160px;
  417. cursor: pointer;
  418. z-index: 1000;
  419. }
  420. :global {
  421. .moveable-control-box {
  422. --moveable-color: transparent !important;
  423. }
  424. .n-popover {
  425. background-color: transparent;
  426. }
  427. }
  428. .booxToolWrap {
  429. // width: 286px;
  430. height: 95px;
  431. background: #ffffff;
  432. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  433. border-radius: 20px;
  434. display: flex;
  435. flex-direction: row;
  436. align-items: center;
  437. padding: 10px 8px;
  438. justify-content: space-between;
  439. .booxToolItem {
  440. margin: 0 12px;
  441. display: flex;
  442. flex-direction: column;
  443. align-items: center;
  444. font-size: 12px;
  445. cursor: pointer;
  446. text-align: center;
  447. &:hover {
  448. opacity: 0.8;
  449. }
  450. img {
  451. width: 56px;
  452. height: 56px;
  453. margin-bottom: 4px;
  454. }
  455. }
  456. }
  457. .setTimeImage {
  458. cursor: pointer;
  459. img {
  460. width: 792px;
  461. }
  462. }
  463. .beatImage {
  464. cursor: pointer;
  465. img {
  466. width: 698px;
  467. }
  468. }
  469. .changePwdModal {
  470. border-radius: 16px;
  471. }
  472. .imChatModal {
  473. border-radius: 20px;
  474. }
  475. .modeWrap {
  476. overflow: hidden;
  477. border-radius: 16px;
  478. background-color: #fff;
  479. }
  480. .showModalTone {
  481. width: 500px;
  482. .studentRemove {
  483. padding: 32px 40px 46px;
  484. p {
  485. font-size: 18px;
  486. color: #777777;
  487. line-height: 30px;
  488. text-align: center;
  489. span {
  490. color: #EA4132;
  491. }
  492. }
  493. }
  494. }
  495. .removeVisiable {
  496. width: 432px;
  497. :global {
  498. .n-card-header {
  499. font-size: max(22px, 16Px);
  500. }
  501. }
  502. .studentRemove {
  503. padding: 20px 40px 0;
  504. p {
  505. font-size: max(18px, 14Px);
  506. color: #777777;
  507. line-height: 30px;
  508. text-align: center;
  509. span {
  510. color: #EA4132;
  511. }
  512. }
  513. }
  514. .btnGroupModal {
  515. padding: 32px 0;
  516. :global {
  517. .n-button {
  518. height: 47px;
  519. min-width: 156px;
  520. }
  521. }
  522. }
  523. }