index.module.scss 3.3 KB

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