index.module.less 15 KB

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