index.module.less 4.2 KB

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