index.module.less 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. .assignStudent {
  2. display: flex;
  3. }
  4. .studentListGroup,
  5. .selectStudentGroup {
  6. flex: 1;
  7. }
  8. .studentListGroup {
  9. border-right: 1px solid #DCDCDC;
  10. .searchSection {
  11. padding: 20px 30px 12px;
  12. }
  13. .searchSpace {
  14. display: flex;
  15. margin-bottom: 13px;
  16. :global {
  17. .n-select+.n-cascader {
  18. margin-left: 13px;
  19. }
  20. }
  21. }
  22. .studentSection {
  23. padding: 0 40px 13px;
  24. .checkboxAll {
  25. display: flex;
  26. align-items: center;
  27. p {
  28. padding-left: 8px;
  29. font-size: max(15px, 13Px) !important;
  30. font-weight: 600 !important;
  31. color: #333333 !important;
  32. }
  33. .nums {
  34. font-size: max(15px, 13Px) !important;
  35. color: #777;
  36. font-weight: 400;
  37. }
  38. }
  39. }
  40. .student {
  41. padding: 0 30px 15px;
  42. height: 48vh;
  43. }
  44. .loadingSection {
  45. height: calc(48vh - 15px);
  46. }
  47. .studentItem {
  48. padding: 12px;
  49. border-radius: 8px;
  50. display: flex;
  51. align-items: center;
  52. :global {
  53. .n-checkbox__label {
  54. padding: 0;
  55. }
  56. }
  57. &:hover {
  58. background: #F5F6FA;
  59. }
  60. .studentInfo {
  61. display: flex;
  62. align-items: center;
  63. padding-left: 12px;
  64. .studentImg {
  65. width: 48px;
  66. height: 48px;
  67. border-radius: 8px;
  68. background: transparent !important;
  69. }
  70. }
  71. .studentValue {
  72. padding-left: 10px;
  73. }
  74. .userInfo {
  75. display: flex;
  76. align-items: center;
  77. .name {
  78. font-size: max(16px, 13Px);
  79. font-weight: 500;
  80. color: #333333;
  81. line-height: 18px;
  82. padding-right: 5px;
  83. max-width: 120px;
  84. overflow: hidden;
  85. text-overflow: ellipsis;
  86. white-space: nowrap;
  87. }
  88. .iconMember {
  89. width: max(16px, 14Px);
  90. height: max(16px, 14Px);
  91. display: inline-block;
  92. margin-right: 5px;
  93. background: url('../../../../images/icon-member.png') no-repeat center;
  94. background-size: contain;
  95. }
  96. .className {
  97. flex-shrink: 0;
  98. padding: 1px 3px;
  99. font-size: max(12px, 11Px);
  100. font-family: PingFangSC, PingFang SC;
  101. font-weight: 500;
  102. color: #2089FF;
  103. line-height: 14px;
  104. background: #E8F4FF;
  105. border-radius: 3px;
  106. border: 1px solid #97C7FF;
  107. }
  108. }
  109. .phone {
  110. padding-top: 3px;
  111. font-size: 12Px;
  112. color: #777777;
  113. line-height: 15px;
  114. }
  115. }
  116. }
  117. .selectStudentGroup {
  118. .selectCount {
  119. padding: 20px 30px 13px;
  120. font-size: 15px;
  121. font-weight: 600;
  122. color: #333333;
  123. line-height: 21px;
  124. font-size: max(15px, 13Px) !important;
  125. span {
  126. color: #777777;
  127. font-weight: 400;
  128. }
  129. }
  130. .searchSection {
  131. padding: 0 30px 12px;
  132. }
  133. .student {
  134. padding: 0 30px;
  135. height: calc(48vh);
  136. }
  137. .studentItem {
  138. padding: 10px 12px;
  139. border-radius: 8px;
  140. display: flex;
  141. align-items: center;
  142. justify-content: space-between;
  143. &:hover {
  144. background: #F5F6FA;
  145. }
  146. &.hide {
  147. display: none;
  148. }
  149. .iconClose {
  150. width: 13Px;
  151. height: 13Px;
  152. display: inline-block;
  153. background: url('../../../../images/icon-close.png') no-repeat center;
  154. background-size: contain;
  155. cursor: pointer;
  156. }
  157. }
  158. .studentInfo {
  159. display: flex;
  160. align-items: center;
  161. }
  162. .studentImg {
  163. width: 34px;
  164. height: 34px;
  165. margin-right: 8px;
  166. background: transparent !important;
  167. }
  168. .name {
  169. font-size: max(16px, 13Px);
  170. color: #333333;
  171. line-height: 18px;
  172. }
  173. .btnGroup {
  174. margin-right: 27px;
  175. padding-top: 12px;
  176. :global {
  177. .n-button {
  178. border-radius: 8px;
  179. --n-height: 38px !important;
  180. min-width: 100px;
  181. }
  182. }
  183. }
  184. }