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