index.module.scss 5.0 KB

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