index.module.less 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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: 26px;
  53. height: 137px;
  54. }
  55. position: absolute;
  56. right: -10px;
  57. top: -29px;
  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. :global {
  113. .n-badge-sup {
  114. left: 20px;
  115. -webkit-animation: TadaNum 1s 2s both infinite !important;
  116. -moz-animation: TadaNum 1s 2s both infinite !important;
  117. -ms-animation: TadaNum 1s 2s both infinite !important;
  118. animation: TadaNum 1s 2s both infinite !important;
  119. }
  120. }
  121. .messageIcon {
  122. -webkit-animation: Tada 1s 2s both infinite;
  123. -moz-animation: Tada 1s 2s both infinite;
  124. -ms-animation: Tada 1s 2s both infinite;
  125. animation: Tada 1s 2s both infinite;
  126. width: 32px;
  127. height: 32px;
  128. }
  129. }
  130. @keyframes Tada {
  131. 0% {
  132. transform: scale(1);
  133. transform: scale(1);
  134. }
  135. 10%,
  136. 20% {
  137. transform: scale(0.9) rotate(-3deg);
  138. transform: scale(0.9) rotate(-3deg);
  139. }
  140. 30%,
  141. 50%,
  142. 70%,
  143. 90% {
  144. transform: scale(1.1) rotate(3deg);
  145. transform: scale(1.1) rotate(3deg);
  146. }
  147. 40%,
  148. 60%,
  149. 80% {
  150. transform: scale(1.1) rotate(-3deg);
  151. transform: scale(1.1) rotate(-3deg);
  152. }
  153. 100% {
  154. transform: scale(1) rotate(0);
  155. transform: scale(1) rotate(0);
  156. }
  157. }
  158. .line {
  159. width: 1px;
  160. height: 18px;
  161. background-color: #dfdfdf;
  162. margin-right: 24px;
  163. }
  164. .mesgWrap {
  165. display: flex;
  166. flex-direction: row;
  167. align-items: center;
  168. .teacherIcon {
  169. width: 32px;
  170. height: 32px;
  171. border-radius: 50%;
  172. overflow: hidden;
  173. }
  174. .rotueLeft {
  175. transform: rotate(-90deg);
  176. transition: 0.2s;
  177. margin-left: 10px;
  178. }
  179. .rotueRight {
  180. transform: rotate(90deg);
  181. margin-left: 10px;
  182. transition: 0.2s;
  183. }
  184. }
  185. }
  186. }
  187. }
  188. :global {
  189. .n-popover {
  190. overflow: hidden;
  191. border-radius: 16px;
  192. }
  193. }
  194. .propWrap {
  195. background-color: var(--n-color);
  196. border-radius: 16px;
  197. width: 300px;
  198. overflow-y: auto;
  199. background: #ffffff;
  200. box-shadow: 0px 2px 17px 0px rgba(0, 0, 0, 0.08);
  201. padding: 20px !important;
  202. .teacherInfo {
  203. display: flex;
  204. flex-direction: row;
  205. align-items: center;
  206. border-bottom: 1px solid #f2f2f2;
  207. padding-bottom: 20px;
  208. .teacherIcon {
  209. width: 48px;
  210. height: 48px;
  211. border-radius: 50%;
  212. border: 1px solid #ffffff;
  213. overflow: hidden;
  214. }
  215. .teacherName {
  216. font-size: 22px;
  217. font-weight: 600;
  218. color: #333333;
  219. margin-left: 16px;
  220. }
  221. }
  222. .propWrapList {
  223. padding-bottom: 17px;
  224. border-bottom: 1px solid #f2f2f2;
  225. margin-top: 16px;
  226. }
  227. .propWrapItem {
  228. display: flex;
  229. flex-direction: row;
  230. align-items: center;
  231. height: 50px;
  232. line-height: 50px;
  233. cursor: pointer;
  234. &:hover {
  235. background: #f5f6fa;
  236. border-radius: 10px;
  237. }
  238. }
  239. .smallIcon {
  240. width: 22px;
  241. height: 23px;
  242. margin-right: 21px;
  243. margin-left: 10px;
  244. }
  245. .smallTitle {
  246. font-size: 18px;
  247. font-weight: 600;
  248. color: #333333;
  249. }
  250. .logoutInfo {
  251. margin-top: 16px;
  252. }
  253. }
  254. :global {
  255. .fade-slide-leave-active,
  256. .fade-slide-enter-active {
  257. transition: all 0.3s;
  258. }
  259. .fade-slide-enter-from {
  260. opacity: 0;
  261. transform: translateX(-30px);
  262. }
  263. .fade-slide-leave-to {
  264. opacity: 0;
  265. transform: translateX(30px);
  266. }
  267. }
  268. .toolboxImg {
  269. width: 138px;
  270. height: 138px;
  271. position: absolute;
  272. right: 32px;
  273. bottom: 84px;
  274. cursor: pointer;
  275. z-index: 1000;
  276. }
  277. .isDragIng {
  278. width: 138px;
  279. height: 138px;
  280. }
  281. :global {
  282. .moveable-control-box {
  283. --moveable-color: transparent !important;
  284. }
  285. .n-popover {
  286. background-color: transparent !important;
  287. }
  288. }
  289. .booxToolWrap {
  290. width: 286px;
  291. height: 95px;
  292. background: #ffffff;
  293. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  294. border-radius: 20px;
  295. display: flex;
  296. flex-direction: row;
  297. align-items: center;
  298. padding: 8px 23px 10px;
  299. justify-content: space-between;
  300. .booxToolItem {
  301. display: flex;
  302. flex-direction: column;
  303. align-items: center;
  304. font-size: 12px;
  305. cursor: pointer;
  306. &:hover {
  307. opacity: 0.8;
  308. }
  309. img {
  310. width: 56px;
  311. height: 56px;
  312. margin-bottom: 4px;
  313. }
  314. }
  315. }
  316. .setTimeImage {
  317. cursor: pointer;
  318. img {
  319. width: 792px;
  320. }
  321. }
  322. .beatImage {
  323. cursor: pointer;
  324. img {
  325. width: 698px;
  326. }
  327. }
  328. .changePwdModal {
  329. border-radius: 16px;
  330. }