index.module.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. .Layout {
  2. width: 100%;
  3. height: 100%;
  4. display: flex;
  5. :global {
  6. .layoutLeft {
  7. position: relative;
  8. width: 220px;
  9. height: 100%;
  10. background-color: var(--themeColor);
  11. .layoutLeftTop {
  12. text-align: center;
  13. padding: 20px 20px 0px;
  14. & > img {
  15. width: 208px;
  16. }
  17. }
  18. .layoutLeftMain {
  19. height: calc(100% - 67px);
  20. overflow-y: auto;
  21. padding-bottom: 10px;
  22. &::-webkit-scrollbar-thumb {
  23. background: var(--themeColor2);
  24. }
  25. .layoutLRowBox {
  26. .layoutLRowBoxTxt {
  27. // opacity: 0.8;
  28. font-size: 18px;
  29. font-weight: 700;
  30. height: 50px;
  31. line-height: 50px;
  32. padding-left: 35px;
  33. color: #fff;
  34. display: flex;
  35. align-items: center;
  36. & > img {
  37. width: 30px;
  38. height: 30px;
  39. object-fit: cover;
  40. display: inline-block;
  41. margin-right: 10px;
  42. }
  43. }
  44. .layoutLRowBoxRow {
  45. color: #fff;
  46. text-align: center;
  47. cursor: pointer;
  48. font-size: 16px;
  49. height: 40px;
  50. line-height: 40px;
  51. &:hover {
  52. background-color: var(--themeColor2);
  53. }
  54. }
  55. .active {
  56. // pointer-events: none;
  57. background-color: var(--themeColor2);
  58. }
  59. }
  60. }
  61. }
  62. .layoutRight {
  63. width: calc(100% - 220px);
  64. height: 100%;
  65. overflow: hidden;
  66. .layoutRightTop {
  67. height: 60px;
  68. position: relative;
  69. .user {
  70. position: absolute;
  71. right: -150px;
  72. top: 0;
  73. height: 100%;
  74. display: flex;
  75. align-items: center;
  76. font-size: 16px;
  77. color: black;
  78. transition: all 0.3s;
  79. .userNameBox {
  80. cursor: pointer;
  81. // background: url('../../assets/img/user.png') no-repeat left center;
  82. // background-size: 40px 40px;
  83. // padding-left: 46px;
  84. height: 60px;
  85. display: flex;
  86. align-items: center;
  87. img {
  88. border-radius: 50%;
  89. width: 40px;
  90. height: 40px;
  91. margin-right: 20px;
  92. }
  93. }
  94. .userNameBoxDing {
  95. pointer-events: none;
  96. }
  97. .userInco {
  98. margin-left: 10px;
  99. color: black;
  100. }
  101. .userInco1 {
  102. // display: none;
  103. opacity: 0 !important;
  104. }
  105. .userSet {
  106. position: relative;
  107. top: 10px;
  108. margin-left: 40px;
  109. width: 140px;
  110. opacity: 1;
  111. height: 74px;
  112. & > div {
  113. box-shadow: 1px 1px 4px 4px #ccc;
  114. border-radius: 10px;
  115. overflow: hidden;
  116. & > span {
  117. cursor: pointer;
  118. background-color: #fff;
  119. display: block;
  120. width: 100%;
  121. text-align: center;
  122. height: 35px;
  123. line-height: 35px;
  124. &:hover {
  125. color: var(--themeColor);
  126. }
  127. }
  128. }
  129. }
  130. }
  131. .userShow {
  132. right: 20px;
  133. }
  134. }
  135. .layoutRightMain {
  136. height: calc(100% - 60px);
  137. padding: 15px;
  138. background-color: #ecedf1;
  139. .mainBoxR {
  140. width: 100%;
  141. height: 100%;
  142. // overflow: hidden;
  143. position: relative;
  144. & > div {
  145. width: 100%;
  146. height: 100%;
  147. }
  148. }
  149. }
  150. }
  151. }
  152. }