index.module.less 15 KB

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