index.module.less 8.6 KB

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