index.module.less 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  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. flex: 1;
  175. .rotueLeft {
  176. transform: rotate(-90deg);
  177. transition: 0.2s;
  178. margin-left: 10px;
  179. }
  180. .rotueRight {
  181. transform: rotate(90deg);
  182. margin-left: 10px;
  183. transition: 0.2s;
  184. }
  185. }
  186. }
  187. }
  188. }
  189. :global {
  190. .nameTool.n-popover {
  191. background-color: #000 !important;
  192. color: #fff;
  193. }
  194. }
  195. :global {
  196. .n-popover {
  197. // overflow: hidden;
  198. border-radius: 16px;
  199. }
  200. }
  201. .propWrap {
  202. background-color: var(--n-color);
  203. border-radius: 16px;
  204. width: 300px;
  205. overflow-y: auto;
  206. background: #ffffff;
  207. box-shadow: 0px 2px 17px 0px rgba(0, 0, 0, 0.08);
  208. padding: 20px !important;
  209. .teacherInfo {
  210. display: flex;
  211. flex-direction: row;
  212. align-items: center;
  213. border-bottom: 1px solid #f2f2f2;
  214. padding-bottom: 20px;
  215. .teacherIcon {
  216. width: 48px;
  217. height: 48px;
  218. border-radius: 50%;
  219. border: 1px solid #ffffff;
  220. overflow: hidden;
  221. }
  222. .teacherName {
  223. flex: 1;
  224. font-size: 22px;
  225. font-weight: 600;
  226. color: #333333;
  227. margin-left: 16px;
  228. overflow: hidden;
  229. text-overflow: ellipsis;
  230. white-space: nowrap;
  231. }
  232. }
  233. .propWrapList {
  234. padding-bottom: 17px;
  235. border-bottom: 1px solid #f2f2f2;
  236. margin-top: 16px;
  237. }
  238. .propWrapItem {
  239. display: flex;
  240. flex-direction: row;
  241. align-items: center;
  242. height: 50px;
  243. line-height: 50px;
  244. cursor: pointer;
  245. &:hover {
  246. background: #f5f6fa;
  247. border-radius: 10px;
  248. }
  249. }
  250. .smallIcon {
  251. width: 22px;
  252. height: 23px;
  253. margin-right: 21px;
  254. margin-left: 10px;
  255. }
  256. .smallTitle {
  257. font-size: 18px;
  258. font-weight: 600;
  259. color: #333333;
  260. }
  261. .logoutInfo {
  262. margin-top: 16px;
  263. }
  264. }
  265. :global {
  266. .fade-slide-leave-active,
  267. .fade-slide-enter-active {
  268. transition: all 0.3s;
  269. }
  270. .fade-slide-enter-from {
  271. opacity: 0;
  272. transform: translateX(-30px);
  273. }
  274. .fade-slide-leave-to {
  275. opacity: 0;
  276. transform: translateX(30px);
  277. }
  278. }
  279. .toolboxImg {
  280. width: 138px;
  281. height: 138px;
  282. position: absolute;
  283. right: 32px;
  284. bottom: 84px;
  285. cursor: pointer;
  286. z-index: 1000;
  287. }
  288. .isDragIng {
  289. width: 138px;
  290. height: 138px;
  291. }
  292. :global {
  293. .moveable-control-box {
  294. --moveable-color: transparent !important;
  295. }
  296. .n-popover {
  297. background-color: transparent;
  298. }
  299. }
  300. .booxToolWrap {
  301. width: 286px;
  302. height: 95px;
  303. background: #ffffff;
  304. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  305. border-radius: 20px;
  306. display: flex;
  307. flex-direction: row;
  308. align-items: center;
  309. padding: 8px 23px 10px;
  310. justify-content: space-between;
  311. .booxToolItem {
  312. display: flex;
  313. flex-direction: column;
  314. align-items: center;
  315. font-size: 12px;
  316. cursor: pointer;
  317. &:hover {
  318. opacity: 0.8;
  319. }
  320. img {
  321. width: 56px;
  322. height: 56px;
  323. margin-bottom: 4px;
  324. }
  325. }
  326. }
  327. .setTimeImage {
  328. cursor: pointer;
  329. img {
  330. width: 792px;
  331. }
  332. }
  333. .beatImage {
  334. cursor: pointer;
  335. img {
  336. width: 698px;
  337. }
  338. }
  339. .changePwdModal {
  340. border-radius: 16px;
  341. }
  342. .modeWrap {
  343. overflow: hidden;
  344. border-radius: 16px;
  345. }