index.module.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. .homeWrap {
  2. display: flex;
  3. flex-direction: row;
  4. // align-items: center;
  5. // justify-content: space-between;
  6. align-content: stretch;
  7. }
  8. .homeInfoLeft {
  9. display: flex;
  10. flex-direction: column;
  11. width: 1286px;
  12. }
  13. .homeBanner {
  14. border-radius: 20px;
  15. background-color: #fff;
  16. position: relative;
  17. margin-bottom: 20px;
  18. padding: 25px 20px;
  19. }
  20. .welcomeInfo {
  21. padding-bottom: 30px;
  22. .userInfo {
  23. display: flex;
  24. align-items: center;
  25. justify-content: space-between;
  26. color: #131415;
  27. padding-bottom: 14px;
  28. .userName {
  29. font-size: 26px;
  30. font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi;
  31. font-weight: bold;
  32. line-height: 35px;
  33. }
  34. .userTime {
  35. display: flex;
  36. align-items: center;
  37. font-size: 20px;
  38. font-weight: 600;
  39. line-height: 28px;
  40. &::before {
  41. content: ' ';
  42. display: inline-block;
  43. width: 18px;
  44. height: 18px;
  45. background: url('./images/icon-date.png') no-repeat center;
  46. background-size: contain;
  47. margin-right: 10px;
  48. }
  49. }
  50. }
  51. .userTips {
  52. font-size: 18px;
  53. color: #787D7F;
  54. line-height: 25px;
  55. }
  56. .guide_btn {
  57. margin-left: 16px;
  58. --n-height: 40px !important;
  59. i {
  60. display: inline-block;
  61. width: 12px;
  62. height: 12px;
  63. background: url('./images/icon-white-arrow.svg') no-repeat center;
  64. background-size: contain;
  65. margin-left: 4px;
  66. }
  67. }
  68. }
  69. .applyInfo {
  70. background: #E6F2FF;
  71. border-radius: 20px;
  72. position: relative;
  73. display: flex;
  74. align-items: center;
  75. .userName {
  76. left: 218px;
  77. top: 28px;
  78. position: absolute;
  79. font-size: 26px;
  80. font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi;
  81. font-weight: bold;
  82. line-height: 35px;
  83. }
  84. .teacherWoman {
  85. position: absolute;
  86. left: 0;
  87. bottom: 0;
  88. z-index: 9;
  89. width: 238px;
  90. height: 518px;
  91. img {
  92. width: inherit;
  93. height: inherit;
  94. }
  95. }
  96. .teacherMan {
  97. position: absolute;
  98. left: -45px;
  99. bottom: -26px;
  100. z-index: 9;
  101. width: 376px;
  102. height: 538px;
  103. img {
  104. width: inherit;
  105. height: inherit;
  106. }
  107. }
  108. .blackborad {
  109. padding-left: 182px;
  110. padding-right: 85px;
  111. .blackBoardBg {
  112. width: 466px;
  113. height: 298px;
  114. }
  115. }
  116. }
  117. .applyContainer {
  118. width: 390px;
  119. padding: 24px 0;
  120. .applyTitle {
  121. display: flex;
  122. align-items: center;
  123. justify-content: space-between;
  124. height: 42px;
  125. .className {
  126. font-size: 26px;
  127. font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi;
  128. font-weight: bold;
  129. color: #323DC5;
  130. line-height: 35px;
  131. &::after {
  132. content: ' ';
  133. margin-left: 8px;
  134. display: inline-block;
  135. width: 16px;
  136. height: 16px;
  137. background: url('./images/icon-right-arrow.png') no-repeat center;
  138. background-size: contain;
  139. }
  140. }
  141. }
  142. .informations {
  143. line-height: 40px;
  144. height: 40px;
  145. font-size: 14px;
  146. color: #6AA1E0;
  147. display: flex;
  148. }
  149. .selectContainer {
  150. display: flex;
  151. align-items: center;
  152. width: 100%;
  153. background-color: #fff;
  154. border-radius: 10px;
  155. img {
  156. position: absolute;
  157. left: 20px;
  158. top: 10px;
  159. width: 32px;
  160. height: 32px;
  161. z-index: 9;
  162. }
  163. }
  164. .startClass,
  165. .beforClass {
  166. --n-height: 60px !important;
  167. min-width: 182px !important;
  168. --n-font-size: max(20px, 16Px) !important;
  169. font-weight: bold !important;
  170. }
  171. .btnGroup {
  172. margin-top: 10px;
  173. width: 100%;
  174. }
  175. :global {
  176. .n-avatar {
  177. --n-merged-size: 42px !important;
  178. --n-merged-color: #3E9FFF !important;
  179. }
  180. .n-base-selection {
  181. --n-height: 52px !important;
  182. --n-border: none !important;
  183. --n-border-radius: 10px !important;
  184. --n-padding-single: 0 26px 0 0px !important;
  185. // --n-placeholder-color: #626264 !important;
  186. padding-left: 70px;
  187. }
  188. .n-form-item {
  189. --n-feedback-height: 20px !important;
  190. }
  191. .n-base-selection.n-base-selection--disabled {
  192. background-color: var(--n-color-disabled);
  193. cursor: not-allowed;
  194. }
  195. }
  196. }
  197. .toolContainer {
  198. display: flex;
  199. align-items: center;
  200. background: url('./images/tool_bg.png') no-repeat left bottom #fff;
  201. background-size: 86px 66px;
  202. border-radius: 16px;
  203. padding: 21px 32px 21px 54px;
  204. .toolTips {
  205. width: 370px;
  206. .toolTitle {
  207. display: flex;
  208. align-items: center;
  209. font-size: 24px;
  210. font-weight: 600;
  211. color: #131415;
  212. padding-bottom: 24px;
  213. &::before {
  214. margin-right: 8px;
  215. content: ' ';
  216. display: inline-block;
  217. width: 5px;
  218. height: 16px;
  219. background: #198CFE;
  220. }
  221. }
  222. .toolContent {
  223. font-size: 16px;
  224. color: #787D7F;
  225. line-height: 25px;
  226. letter-spacing: 1px;
  227. padding-bottom: 18px;
  228. }
  229. }
  230. .iconTo {
  231. margin: 0 120px 0 44px;
  232. width: 38px;
  233. height: 18px
  234. }
  235. .toolFunction {
  236. display: flex;
  237. align-items: center;
  238. img {
  239. width: 159px;
  240. height: 134px;
  241. margin: 5px 13px 10px;
  242. }
  243. .toolItem {
  244. width: 185px;
  245. background: #EBF5FF;
  246. border-radius: 16px;
  247. margin-right: 36px;
  248. text-align: center;
  249. &:last-child {
  250. margin-right: 0;
  251. }
  252. .toolMemo {
  253. font-size: 16px;
  254. color: #4A8FE0;
  255. line-height: 22px;
  256. text-align: center;
  257. }
  258. .btn1,
  259. .btn2,
  260. .btn3 {
  261. --n-border-radius: 9px !important;
  262. --n-height: 38px !important;
  263. --n-padding: 7px 28px !important;
  264. --n-border: none !important;
  265. --n-border-hover: none !important;
  266. --n-border-pressed: none !important;
  267. --n-border-focus: none !important;
  268. --n-border-disabled: none !important;
  269. --n-font-size: 18px !important;
  270. font-weight: 600 !important;
  271. color: #fff;
  272. margin: 16px 0 20px;
  273. }
  274. .btn1 {
  275. background: linear-gradient(135deg, #51E7FF 0%, #2A7CFF 100%) !important;
  276. --n-ripple-color: #51E7FF !important;
  277. }
  278. .btn2 {
  279. background: linear-gradient(135deg, #FFA289 0%, #FF5177 100%);
  280. --n-ripple-color: #FFA289 !important;
  281. }
  282. .btn3 {
  283. background: linear-gradient(135deg, #FFC37B 0%, #FF6635 100%);
  284. --n-ripple-color: #FFC37B !important;
  285. }
  286. }
  287. .item1 {
  288. background: url('./images/t1_bg.png')no-repeat right bottom #EBF5FF;
  289. background-size: 28px;
  290. }
  291. .item2 {
  292. background: url('./images/t2_bg.png')no-repeat right bottom #FFF1EF;
  293. background-size: 28px;
  294. .toolMemo {
  295. color: #F86C58;
  296. }
  297. }
  298. .item3 {
  299. background: url('./images/t3_bg.png')no-repeat right bottom #FFF7E2;
  300. background-size: 28px;
  301. .toolMemo {
  302. color: #F28D1E;
  303. }
  304. }
  305. }
  306. }
  307. .beatImage {
  308. cursor: pointer;
  309. img {
  310. width: 698px;
  311. }
  312. }
  313. .homeInfoRight {
  314. display: flex;
  315. margin-left: 20px;
  316. width: 450px;
  317. }
  318. // 学情
  319. .homeStudy {
  320. background-color: #fff;
  321. .homeStudyTitle {
  322. display: flex;
  323. flex-direction: row;
  324. align-items: center;
  325. font-size: 20px;
  326. font-weight: 600;
  327. color: #131415;
  328. line-height: 28px;
  329. .homeStudyTitleDot {
  330. width: 5px;
  331. height: 16px;
  332. background: #198cfe;
  333. margin-right: 8px;
  334. }
  335. }
  336. .homeStudyInfoList {
  337. display: flex;
  338. flex-direction: row;
  339. align-items: center;
  340. justify-content: space-between;
  341. margin-top: 21px;
  342. .homeStudyInfoTabs {
  343. display: flex;
  344. flex-direction: row;
  345. align-items: center;
  346. .homeStudyInfoTabItem {
  347. cursor: pointer;
  348. width: 112px;
  349. height: 39px;
  350. border-radius: 20px;
  351. font-size: 18px;
  352. font-weight: 600;
  353. line-height: 39px;
  354. text-align: center;
  355. margin-right: 24px;
  356. background: #f5f6fa;
  357. color: rgba(0, 0, 0, 0.5);
  358. &:hover {
  359. background: #198cfe;
  360. color: #ffffff;
  361. opacity: 0.8;
  362. }
  363. }
  364. .homeStudyInfoTabItem.active {
  365. background: #198cfe;
  366. color: #ffffff;
  367. }
  368. }
  369. .homeStudyInfoDate {
  370. display: flex;
  371. flex-direction: row;
  372. align-items: center;
  373. justify-content: flex-end;
  374. }
  375. }
  376. .searchBtn {
  377. width: 90px;
  378. height: 43px;
  379. background: #198cfe;
  380. border-radius: 8px;
  381. line-height: 41px;
  382. font-weight: 600 !important;
  383. font-size: 18px;
  384. }
  385. .resetBtn {
  386. width: 90px;
  387. height: 43px;
  388. border-radius: 8px;
  389. line-height: 41px;
  390. font-weight: 600 !important;
  391. font-size: 18px;
  392. }
  393. }
  394. .homeTrainData {
  395. margin-top: 40px;
  396. .TrainDataTop {
  397. margin-bottom: 40px;
  398. display: flex;
  399. flex-direction: row;
  400. align-items: center;
  401. justify-content: space-between;
  402. .TrainDataTopLeft {
  403. display: flex;
  404. flex-direction: row;
  405. align-items: center;
  406. .TrainDataItem {
  407. margin-right: 40px;
  408. .TrainDataItemTitle {
  409. display: flex;
  410. flex-direction: row;
  411. align-items: center;
  412. text-align: center;
  413. font-size: 13px;
  414. font-weight: 400;
  415. color: #777777;
  416. line-height: 18px;
  417. width: 100%;
  418. justify-content: center;
  419. span {
  420. font-family: 'DINA';
  421. font-size: 26px;
  422. font-weight: 600;
  423. color: #131415;
  424. line-height: 28px;
  425. }
  426. }
  427. .TrainDataItemsubTitle {
  428. margin-top: 4px;
  429. text-align: center;
  430. font-size: 13px;
  431. font-family: PingFangSC-Regular, PingFang SC;
  432. font-weight: 400;
  433. color: #777777;
  434. line-height: 18px;
  435. }
  436. }
  437. }
  438. .TrainDataTopRight {
  439. display: flex;
  440. flex-direction: row;
  441. align-items: center;
  442. .DataTopRightItem {
  443. cursor: pointer;
  444. display: flex;
  445. flex-direction: row;
  446. align-items: center;
  447. margin-left: 30px;
  448. &:hover {
  449. opacity: 0.8;
  450. }
  451. .DataTopRightDot {
  452. width: 16px;
  453. height: 16px;
  454. background: #3583fa;
  455. border-radius: 4px;
  456. margin-right: 6px;
  457. }
  458. .DataTopRightDot.DataTopRightDotBlue {
  459. background: #edeef1;
  460. }
  461. .DataTopRightDot.red {
  462. background: #ff7aa7;
  463. }
  464. }
  465. .DataTopRightItem.DataTopRightItemDis {
  466. .DataTopRightDot {
  467. background: #f5f6fa;
  468. }
  469. }
  470. }
  471. }
  472. }
  473. .homeInfoRight {
  474. // display: flex;
  475. // flex-direction: column;
  476. .rightTitle {
  477. display: flex;
  478. flex-direction: row;
  479. align-items: center;
  480. font-weight: 600;
  481. color: #131415;
  482. font-size: 20px;
  483. .titleDot {
  484. width: 5px;
  485. height: 16px;
  486. background: #198cfe;
  487. margin-right: 8px;
  488. }
  489. }
  490. .headerContainer {
  491. padding-top: 12px;
  492. text-align: center;
  493. }
  494. .HeaderWrap {
  495. position: relative;
  496. display: inline-block;
  497. cursor: pointer;
  498. .headerD {
  499. width: 237px;
  500. height: 138px;
  501. }
  502. .defultHeade {
  503. width: 116px;
  504. height: 116px;
  505. overflow: hidden;
  506. border-radius: 50%;
  507. position: absolute;
  508. top: 11px;
  509. left: 61px;
  510. }
  511. }
  512. .headerInfo {
  513. text-align: center;
  514. padding-bottom: 32px;
  515. border-bottom: 1px solid #F2F2F2;
  516. margin-bottom: 32px;
  517. .headerTitle {
  518. font-size: max(20px, 16Px);
  519. font-weight: 600;
  520. color: #131415;
  521. line-height: 28px;
  522. letter-spacing: 1px;
  523. padding: 20px 0 8px;
  524. }
  525. .headerSubTitle {
  526. font-size: 14Px;
  527. font-weight: 400;
  528. color: #707a92;
  529. line-height: 20px;
  530. }
  531. }
  532. .rightTeachingWrap {
  533. overflow: hidden;
  534. flex: 1;
  535. background-color: #fff;
  536. padding: 20px;
  537. border-radius: 20px;
  538. .rightTeachingWrapTitle {
  539. display: flex;
  540. flex-direction: row;
  541. align-items: center;
  542. justify-content: space-between;
  543. .lookMore {
  544. cursor: pointer;
  545. display: flex;
  546. align-items: center;
  547. min-width: 114px;
  548. border-radius: 8px;
  549. border: 1px solid #DEDEDE;
  550. font-size: 15px;
  551. color: #131415;
  552. padding: 7px 12px;
  553. svg {
  554. margin-left: 8px;
  555. width: 16px;
  556. height: 16px;
  557. }
  558. }
  559. }
  560. }
  561. }
  562. .teachListWrap {
  563. position: relative;
  564. .teachListWrapWall {
  565. position: absolute;
  566. bottom: 0;
  567. height: 159px;
  568. width: 100%;
  569. background: linear-gradient(180deg,
  570. rgba(255, 255, 255, 0) 0%,
  571. #ffffff 100%);
  572. border-radius: 0px 0px 20px 20px;
  573. span {
  574. position: absolute;
  575. bottom: 0px;
  576. left: 0;
  577. width: 100%;
  578. text-align: center;
  579. color: #1677FF;
  580. font-size: 16px;
  581. &::after {
  582. content: ' ';
  583. display: inline-block;
  584. width: 12px;
  585. height: 12px;
  586. background: url('./images/blueArrow.png') no-repeat center;
  587. background-size: contain;
  588. }
  589. }
  590. }
  591. }
  592. .teachGroup {
  593. margin-top: 12px;
  594. .teachGroupTitle {
  595. position: relative;
  596. left: -10px;
  597. font-size: 14px;
  598. font-weight: 400;
  599. color: #aaaaaa;
  600. width: 60px;
  601. text-align: center;
  602. margin-bottom: 12px;
  603. }
  604. .teachGroupList {
  605. padding-bottom: 12px;
  606. margin-left: 20px;
  607. border-left: 1px solid #d1e8ff;
  608. min-height: 92px;
  609. position: relative;
  610. .teachGroupListDot {
  611. width: 15px;
  612. height: 15px;
  613. background: #198cfe;
  614. border: 4px solid #d1e8ff;
  615. border-radius: 50%;
  616. top: 28px;
  617. left: -8px;
  618. position: absolute;
  619. }
  620. }
  621. .teachGroupItemWrap {
  622. margin-left: 28px;
  623. background: #f7f9ff;
  624. border-radius: 12px;
  625. display: flex;
  626. flex-direction: row;
  627. align-items: top;
  628. &:nth-last-of-type(1) {
  629. margin-bottom: 0;
  630. }
  631. margin-bottom: 12px;
  632. padding: 10px;
  633. .teachGroupItemLeft {
  634. margin-right: 12px;
  635. width: 50px;
  636. height: 50px;
  637. border-radius: 50%;
  638. overflow: hidden;
  639. border: 2px solid #198cfe;
  640. .teachGroupItemHeader {
  641. border: 2px solid #fff;
  642. border-radius: 50%;
  643. overflow: hidden;
  644. img {
  645. width: 44px;
  646. height: 44px;
  647. }
  648. }
  649. }
  650. .teachGroupItemRight {
  651. flex: 1;
  652. .teachGroupItemName {
  653. display: flex;
  654. flex-direction: row;
  655. align-items: center;
  656. justify-content: space-between;
  657. font-size: 16px;
  658. margin-top: 2px;
  659. font-weight: 600;
  660. color: #131415;
  661. span {
  662. font-size: 13px;
  663. font-weight: 400;
  664. color: #1677ff;
  665. line-height: 18px;
  666. }
  667. }
  668. .teachGroupItemInfo {
  669. font-size: 13px;
  670. line-height: 18px;
  671. color: rgba(0, 0, 0, 0.5);
  672. }
  673. }
  674. }
  675. }
  676. .indDot,
  677. .endDot {
  678. display: flex;
  679. flex-direction: row;
  680. align-items: center;
  681. }
  682. .indDot {
  683. span {
  684. border-radius: 50%;
  685. width: 8px;
  686. height: 8px;
  687. background: #198cfe;
  688. margin-right: 8px;
  689. }
  690. }
  691. .endDot {
  692. opacity: 0.7;
  693. color: #aaaaaa;
  694. span {
  695. border-radius: 50%;
  696. width: 8px;
  697. height: 8px;
  698. background: #aaaaaa;
  699. margin-right: 8px;
  700. }
  701. }
  702. .assignHomework {
  703. width: 520px;
  704. }
  705. .assignHomeworkContainer {
  706. padding: 24px 30px;
  707. .updateBtnGroup {
  708. padding: 0;
  709. justify-content: center !important;
  710. :global {
  711. .n-button {
  712. height: 48px !important;
  713. min-width: 156px;
  714. }
  715. }
  716. }
  717. }
  718. .tableWrap {
  719. margin-top: 40px;
  720. }