index.module.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. .wrap {
  2. width: 100vw;
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: row;
  6. background: #f1f5ff;
  7. overflow: hidden;
  8. .WrapcoreView {
  9. padding: 32px;
  10. height: calc(100vh - 64px);
  11. overflow-y: auto;
  12. }
  13. }
  14. .silder {
  15. width: 100px;
  16. background: #3044ca;
  17. min-height: 100vh;
  18. height: 100%;
  19. display: flex;
  20. flex-direction: column;
  21. align-items: center;
  22. .logoWrap {
  23. margin-top: 22px;
  24. .logo {
  25. img {
  26. width: 62px;
  27. height: 60px;
  28. }
  29. }
  30. }
  31. .sliderList {
  32. margin-top: 37px;
  33. }
  34. }
  35. .silderItem {
  36. position: relative;
  37. width: 84px;
  38. height: 80px;
  39. display: flex;
  40. flex-direction: column;
  41. align-items: center;
  42. margin-bottom: 18px;
  43. justify-content: center;
  44. border-radius: 20px;
  45. .radiusIcon {
  46. img {
  47. width: 24px;
  48. height: 139px;
  49. }
  50. position: absolute;
  51. right: -8px;
  52. top: -26px;
  53. }
  54. p {
  55. margin-top: 4px;
  56. font-size: 14px;
  57. font-weight: 600;
  58. color: #ffffff;
  59. line-height: 20px;
  60. }
  61. &:hover {
  62. background-color: rgba(255, 255, 255, 0.1);
  63. }
  64. }
  65. .silderItem.isActiveItem {
  66. background-color: #f1f5ff;
  67. border-radius: 20px 0px 0px 20px;
  68. p {
  69. color: #21225d;
  70. }
  71. }
  72. .Wrapcore {
  73. height: 100%;
  74. flex: 1;
  75. .layoutTop {
  76. height: 64px;
  77. background-color: #fff;
  78. line-height: 64px;
  79. padding: 0 50px 0 32px;
  80. display: flex;
  81. flex-direction: row;
  82. align-items: center;
  83. justify-content: space-between;
  84. .layoutLeft {
  85. display: flex;
  86. flex-direction: row;
  87. align-items: center;
  88. .schoolIcon {
  89. margin-right: 8px;
  90. img {
  91. width: 32px;
  92. height: 32px;
  93. }
  94. }
  95. p {
  96. font-size: 18px;
  97. font-weight: 600;
  98. color: #131415;
  99. }
  100. }
  101. .layoutRight {
  102. display: flex;
  103. flex-direction: row;
  104. align-items: center;
  105. .messageBadge {
  106. margin-right: 24px;
  107. .messageIcon {
  108. width: 32px;
  109. height: 32px;
  110. }
  111. }
  112. .line {
  113. width: 1px;
  114. height: 18px;
  115. background-color: #dfdfdf;
  116. margin-right: 24px;
  117. }
  118. .mesgWrap {
  119. display: flex;
  120. flex-direction: row;
  121. align-items: center;
  122. .teacherIcon {
  123. width: 32px;
  124. height: 32px;
  125. border-radius: 50%;
  126. overflow: hidden;
  127. }
  128. .rotueLeft {
  129. transform: rotate(-90deg);
  130. transition: 0.2s;
  131. margin-left: 10px;
  132. }
  133. .rotueRight {
  134. transform: rotate(90deg);
  135. margin-left: 10px;
  136. transition: 0.2s;
  137. }
  138. }
  139. }
  140. }
  141. }
  142. :global {
  143. .n-popover {
  144. overflow: hidden;
  145. border-radius: 16px;
  146. }
  147. }
  148. .propWrap {
  149. background-color: var(--n-color);
  150. border-radius: 16px;
  151. width: 300px;
  152. overflow-y: auto;
  153. background: #ffffff;
  154. box-shadow: 0px 2px 17px 0px rgba(0, 0, 0, 0.08);
  155. padding: 20px !important;
  156. .teacherInfo {
  157. display: flex;
  158. flex-direction: row;
  159. align-items: center;
  160. border-bottom: 1px solid #f2f2f2;
  161. padding-bottom: 20px;
  162. .teacherIcon {
  163. width: 48px;
  164. height: 48px;
  165. border-radius: 50%;
  166. border: 1px solid #ffffff;
  167. overflow: hidden;
  168. }
  169. .teacherName {
  170. font-size: 22px;
  171. font-weight: 600;
  172. color: #333333;
  173. margin-left: 16px;
  174. }
  175. }
  176. .propWrapList {
  177. padding-bottom: 17px;
  178. border-bottom: 1px solid #f2f2f2;
  179. margin-top: 16px;
  180. }
  181. .propWrapItem {
  182. display: flex;
  183. flex-direction: row;
  184. align-items: center;
  185. height: 50px;
  186. line-height: 50px;
  187. cursor: pointer;
  188. &:hover {
  189. background: #f5f6fa;
  190. border-radius: 10px;
  191. }
  192. }
  193. .smallIcon {
  194. width: 22px;
  195. height: 23px;
  196. margin-right: 21px;
  197. margin-left: 10px;
  198. }
  199. .smallTitle {
  200. font-size: 18px;
  201. font-weight: 600;
  202. color: #333333;
  203. }
  204. .logoutInfo {
  205. margin-top: 16px;
  206. }
  207. }
  208. :global {
  209. .fade-slide-leave-active,
  210. .fade-slide-enter-active {
  211. transition: all 0.3s;
  212. }
  213. .fade-slide-enter-from {
  214. opacity: 0;
  215. transform: translateX(-30px);
  216. }
  217. .fade-slide-leave-to {
  218. opacity: 0;
  219. transform: translateX(30px);
  220. }
  221. }