index.module.less 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. .listWrap {
  2. padding: 32px;
  3. background-color: #fff;
  4. border-radius: 20px;
  5. }
  6. .searchList {
  7. .searchInput {
  8. max-width: 260px;
  9. }
  10. // .CDatePickerItem {
  11. // :global {
  12. // .n-input {
  13. // width: 303px;
  14. // }
  15. // }
  16. // }
  17. :global {
  18. .n-form.n-form--inline {
  19. flex-wrap: wrap;
  20. }
  21. .n-form.n-form--inline .n-form-item {
  22. margin-right: 18px;
  23. }
  24. // .n-form-item-blank>div {
  25. // .n-select {
  26. // min-width: 150px !important;
  27. // width: 150px !important;
  28. // }
  29. // }
  30. }
  31. }
  32. .infoListWrap {
  33. min-height: calc(100vh - 150px) !important
  34. }
  35. .addBtnIcon {
  36. width: 13Px !important;
  37. height: 14Px !important;
  38. }
  39. .addBtn {
  40. margin-bottom: 30px;
  41. background: #198cfe !important;
  42. border-radius: 7Px !important;
  43. padding: 0 18Px !important;
  44. font-weight: 600 !important;
  45. }
  46. .btnGroup {
  47. padding: 40px 0;
  48. :global {
  49. .n-button {
  50. height: 47px;
  51. min-width: 156px;
  52. }
  53. }
  54. }
  55. .addClass {
  56. display: flex;
  57. flex-direction: column;
  58. align-items: center;
  59. padding-top: 50px;
  60. }
  61. .listWrap {
  62. min-height: 100%;
  63. padding: 32px;
  64. background-color: #fff;
  65. border-radius: 20px;
  66. }
  67. .workVisiable {
  68. width: 1258px;
  69. }
  70. .workContainer {
  71. display: flex;
  72. align-items: center;
  73. .workTrain {
  74. flex: 1;
  75. height: 75vh;
  76. &>div {
  77. padding-top: 15px;
  78. }
  79. }
  80. :global {
  81. .train-container {
  82. // max-height: calc(var(--window-page-lesson-height) - 135px) !important;
  83. max-height: calc(var(--window-page-lesson-height) - 100px) !important;
  84. .train-listSection {
  85. min-height: calc(var(--window-page-lesson-height) - 100px) !important;
  86. }
  87. }
  88. }
  89. .resourceMain {
  90. flex: 0 0 360px;
  91. height: 75vh;
  92. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  93. }
  94. }
  95. .removeVisiable {
  96. width: 432px;
  97. :global {
  98. .n-card-header {
  99. font-size: max(22px, 16Px);
  100. }
  101. }
  102. .studentRemove {
  103. padding: 0 40px;
  104. p {
  105. font-size: max(18px, 14Px);
  106. color: #777777;
  107. line-height: 30px;
  108. span {
  109. color: #EA4132;
  110. }
  111. }
  112. }
  113. .btnGroup {
  114. padding: 32px 0;
  115. :global {
  116. .n-button {
  117. height: 47px;
  118. min-width: 156px;
  119. }
  120. }
  121. }
  122. }
  123. .listSection {
  124. padding: 0 0 12px;
  125. display: flex;
  126. flex-flow: row wrap;
  127. justify-content: flex-start;
  128. gap: 20px 2%;
  129. &>div {
  130. width: 49% !important;
  131. }
  132. }
  133. .item {
  134. cursor: pointer;
  135. background: #F7F9FF;
  136. border-radius: 13px;
  137. padding: 0 17px 17px;
  138. position: relative;
  139. display: flex;
  140. flex-direction: column;
  141. .header {
  142. display: flex;
  143. align-items: center;
  144. padding: 13px 0;
  145. .navatar {
  146. width: 60px;
  147. height: 60px;
  148. border-radius: 50%;
  149. padding: 2px;
  150. border: 1px solid #198CFE;
  151. margin-right: 15px;
  152. flex-shrink: 0;
  153. background-color: #fff !important;
  154. :global {
  155. img {
  156. border-radius: 50%;
  157. }
  158. }
  159. }
  160. .userInfo {
  161. padding-top: 4px;
  162. flex: 1;
  163. h2 {
  164. font-size: max(17px, 14Px);
  165. font-weight: 600;
  166. color: #131415;
  167. line-height: 28px;
  168. }
  169. p {
  170. font-size: max(16px, 12Px);
  171. color: #777777;
  172. line-height: 28px;
  173. }
  174. }
  175. .ing,
  176. .over {
  177. position: absolute;
  178. top: 0;
  179. right: 0;
  180. width: 121px;
  181. height: 38px;
  182. display: inline-block;
  183. }
  184. .ing {
  185. background: url('./images/icon-ing.png') no-repeat center;
  186. background-size: contain;
  187. }
  188. .over {
  189. background: url('./images/icon-over.png') no-repeat center;
  190. background-size: contain;
  191. }
  192. }
  193. .content {
  194. // display: flex;
  195. // justify-content: space-between;
  196. // align-items: flex-end;
  197. flex: 1;
  198. padding: 13px;
  199. background: #FFFFFF;
  200. border-radius: 10px;
  201. .homeTitle {
  202. font-size: max(17px, 14Px);
  203. font-family: PingFangSC, PingFang SC;
  204. font-weight: 600;
  205. color: #000000;
  206. padding-bottom: 5px;
  207. display: flex;
  208. align-items: center;
  209. justify-content: space-between;
  210. :global {
  211. .n-space {
  212. flex-shrink: 0;
  213. }
  214. }
  215. &>p {
  216. display: flex;
  217. align-items: center;
  218. }
  219. .CLASSWORK,
  220. .HOMEWORK {
  221. padding: 2px 8px 1px;
  222. border-radius: 4px;
  223. font-size: max(13px, 11Px);
  224. line-height: 18px;
  225. margin-right: 7px;
  226. }
  227. .CLASSWORK {
  228. color: #E24F4F;
  229. background: #FFD2D2;
  230. }
  231. .HOMEWORK {
  232. color: #3F8ADF;
  233. background: #D2E9FF;
  234. }
  235. }
  236. .homeContent {
  237. padding-bottom: 5px;
  238. }
  239. .homeworkText {
  240. display: flex;
  241. align-items: flex-start;
  242. .pSection {
  243. max-width: 650px;
  244. }
  245. .p1,
  246. .p2 {
  247. white-space: nowrap;
  248. overflow: hidden;
  249. text-overflow: ellipsis;
  250. }
  251. .p1::before,
  252. .p2::before {
  253. content: '';
  254. display: inline-block;
  255. width: 5px;
  256. height: 5px;
  257. background: #198CFE;
  258. margin-right: 7px;
  259. border-radius: 50%;
  260. flex-shrink: 0;
  261. transform: translateY(-3px);
  262. }
  263. .p1 {
  264. padding-bottom: 6px;
  265. }
  266. .p2::before {
  267. background: #F44040;
  268. }
  269. }
  270. .title {
  271. font-size: max(13px, 12Px);
  272. color: #777777;
  273. flex-shrink: 0;
  274. }
  275. .text {
  276. font-size: max(13px, 12Px);
  277. font-weight: 500;
  278. color: #333333;
  279. line-height: 22px;
  280. :global {
  281. .showContentWidthWrap {
  282. max-width: 100% !important;
  283. display: inline;
  284. }
  285. }
  286. }
  287. .errorBtn {
  288. // min-width: 93px;
  289. // height: 30px;
  290. --n-height: 24px !important;
  291. // background: #F94D50;
  292. // border-radius: 7px;
  293. --n-font-size: max(15px, 13Px);
  294. font-weight: 500 !important;
  295. // color: #FFFFFF;
  296. line-height: 18px;
  297. }
  298. }
  299. }