index.module.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. .Layout {
  2. width: 100%;
  3. height: 100%;
  4. background-color: #f1f2f6;
  5. overflow: hidden;
  6. :global {
  7. .layoutLeft {
  8. position: relative;
  9. width: 100%;
  10. height: 60px;
  11. display: flex;
  12. box-shadow: 1px 1px 1px #ccc;
  13. background-color: #fff;
  14. .layoutLeftTit {
  15. width: 240px;
  16. height: 100%;
  17. display: flex;
  18. flex-direction: column;
  19. justify-content: center;
  20. align-items: center;
  21. & > p {
  22. &:nth-of-type(1) {
  23. font-size: 18px;
  24. font-weight: 700;
  25. }
  26. }
  27. }
  28. .layoutLeftMain {
  29. display: flex;
  30. .layoutLRowBox {
  31. font-size: 18px;
  32. font-weight: 700;
  33. display: flex;
  34. justify-content: center;
  35. align-items: center;
  36. padding: 0 30px;
  37. background-color: #f8f8f8;
  38. border-left: 1px solid #ccc;
  39. border-right: 1px solid #ccc;
  40. border-bottom: 5px solid transparent;
  41. transition: all 0.5s;
  42. cursor: pointer;
  43. &:hover {
  44. border-bottom: 5px solid var(--themeColor);
  45. }
  46. }
  47. .active {
  48. pointer-events: none;
  49. border-bottom: 5px solid var(--themeColor);
  50. }
  51. }
  52. .layoutRightTop {
  53. height: 60px;
  54. width: auto;
  55. position: absolute;
  56. right: 0;
  57. top: 0;
  58. .user {
  59. position: relative;
  60. right: -150px;
  61. top: 0;
  62. height: 100%;
  63. display: flex;
  64. align-items: center;
  65. font-size: 16px;
  66. color: black;
  67. transition: all 0.3s;
  68. .userNameBox {
  69. width: auto;
  70. cursor: pointer;
  71. background: url('../../assets/img/user.png') no-repeat left center;
  72. background-size: 40px 40px;
  73. padding-left: 46px;
  74. height: 60px;
  75. display: flex;
  76. align-items: center;
  77. color: var(--themeColor);
  78. }
  79. .userInco {
  80. margin-left: 10px;
  81. color: var(--themeColor);
  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. }
  118. .layoutRight {
  119. height: calc(100% - 60px);
  120. width: 100%;
  121. overflow: hidden;
  122. padding: 20px;
  123. .layoutRightMain {
  124. border-radius: 14px;
  125. overflow: hidden;
  126. height: 100%;
  127. background-color: #fff;
  128. .mainBoxR {
  129. width: 100%;
  130. height: 100%;
  131. // overflow: hidden;
  132. position: relative;
  133. & > div {
  134. width: 100%;
  135. height: 100%;
  136. // background-color: #fff;
  137. // border-radius: 10px;
  138. // padding: 20px;
  139. }
  140. }
  141. }
  142. }
  143. }
  144. }