index.module.scss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. .Layout {
  2. width: 100%;
  3. height: 100%;
  4. display: flex;
  5. :global {
  6. .layoutLeft {
  7. position: relative;
  8. z-index: 10;
  9. width: 220px;
  10. height: 100%;
  11. box-shadow: 0px 0px 5px 3px;
  12. background-color: var(--themeColor2);
  13. .layoutLeftTop {
  14. padding: 20px 20px 40px;
  15. }
  16. .layoutLeftMain {
  17. height: calc(100% - 173px);
  18. padding: 20px;
  19. .mainBoxL2RowBox {
  20. margin-bottom: 20px;
  21. color: #fff;
  22. .mainBoxL2RowBoxTit {
  23. padding-left: 3px;
  24. display: flex;
  25. margin-bottom: 10px;
  26. font-size: 16px;
  27. font-weight: 700;
  28. &>.txt {
  29. margin-left: 15px;
  30. opacity: .7;
  31. }
  32. }
  33. .mainBoxL2Row {
  34. width: 160px;
  35. opacity: .7;
  36. padding-left: 42px;
  37. cursor: pointer;
  38. height: 40px;
  39. line-height: 40px;
  40. font-size: 14px;
  41. position: relative;
  42. margin-bottom: 5px;
  43. border-radius: 6px;
  44. .rowTip {
  45. height: 26px;
  46. width: 26px;
  47. position: absolute;
  48. z-index: 10;
  49. right: 10px;
  50. top: 50%;
  51. transform: translateY(-50%);
  52. border-radius: 50%;
  53. background-color: var(--themeColor);
  54. font-size: 12px;
  55. color: black;
  56. display: flex;
  57. justify-content: center;
  58. align-items: center;
  59. }
  60. &:hover {
  61. background-color: var(--themeColor);
  62. opacity: 1;
  63. color: black;
  64. .rowTip {
  65. background-color: var(--themeColor2);
  66. color: #fff;
  67. }
  68. }
  69. }
  70. .active {
  71. pointer-events: none;
  72. background-color: var(--themeColor);
  73. opacity: 1;
  74. color: black;
  75. .rowTip {
  76. background-color: var(--themeColor2);
  77. color: #fff;
  78. }
  79. }
  80. }
  81. }
  82. }
  83. .layoutRight {
  84. width: calc(100% - 220px);
  85. height: 100%;
  86. .layoutRightTop {
  87. height: 60px;
  88. background-image: url('../../assets/img/layoutTop.jpg');
  89. background-size: 100% 100%;
  90. display: flex;
  91. justify-content: flex-end;
  92. position: relative;
  93. z-index: 11;
  94. .user {
  95. padding-right: 40px;
  96. display: flex;
  97. align-items: center;
  98. padding-left: 55px;
  99. cursor: pointer;
  100. position: relative;
  101. background: url('../../assets/img/user.png') no-repeat left center;
  102. background-size: 40px 40px;
  103. font-size: 16px;
  104. color: #fff;
  105. .userInco {
  106. margin-left: 10px;
  107. color: #fff;
  108. }
  109. .userInco1 {
  110. display: none;
  111. }
  112. .userSet {
  113. border-radius: 10px;
  114. overflow: hidden;
  115. width: 140px;
  116. opacity: 0;
  117. pointer-events: none;
  118. transition: bottom .3s;
  119. height: 120px;
  120. position: absolute;
  121. left: 50%;
  122. transform: translateX(-50%);
  123. bottom: -80px;
  124. padding-top: 20px;
  125. color: rgb(226, 223, 223);
  126. &>span {
  127. background-color: var(--themeColor);
  128. display: block;
  129. width: 100%;
  130. height: 50px;
  131. line-height: 50px;
  132. text-align: center;
  133. &:first-child {
  134. border-radius: 10px 10px 0 0;
  135. }
  136. &:hover {
  137. color: #fff;
  138. }
  139. }
  140. }
  141. &:hover {
  142. .userSet {
  143. opacity: 1;
  144. pointer-events: auto;
  145. bottom: -110px;
  146. }
  147. .userInco1 {
  148. display: block;
  149. }
  150. .userInco2 {
  151. display: none;
  152. }
  153. }
  154. }
  155. }
  156. .layoutRightMain {
  157. height: calc(100% - 60px);
  158. .mainBoxR {
  159. background-color: #f5f4ed;
  160. width: 100%;
  161. height: 100%;
  162. overflow: hidden;
  163. padding: 20px 30px;
  164. &>div {
  165. width: 100%;
  166. height: 100%;
  167. }
  168. }
  169. }
  170. }
  171. }
  172. }