index.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. html, body {
  2. font-size: 14px;
  3. }
  4. .flex {
  5. display: flex;
  6. }
  7. .flex-auto {
  8. flex: 1;
  9. }
  10. .flex-center {
  11. align-items: center;
  12. }
  13. .w100 {
  14. width: 100% !important;
  15. }
  16. .h100 {
  17. height: 100% !important;
  18. }
  19. .vh100 {
  20. height: 100vh !important;
  21. }
  22. .max100vh {
  23. max-height: 100vh !important;
  24. }
  25. .min100vh {
  26. min-height: 100vh !important;
  27. }
  28. /* 外边距、内边距全局样式
  29. ------------------------------- */
  30. @for $i from 1 through 35 {
  31. .mt#{$i} {
  32. margin-top: #{$i}px !important;
  33. }
  34. .mr#{$i} {
  35. margin-right: #{$i}px !important;
  36. }
  37. .mb#{$i} {
  38. margin-bottom: #{$i}px !important;
  39. }
  40. .ml#{$i} {
  41. margin-left: #{$i}px !important;
  42. }
  43. .pt#{$i} {
  44. padding-top: #{$i}px !important;
  45. }
  46. .pr#{$i} {
  47. padding-right: #{$i}px !important;
  48. }
  49. .pb#{$i} {
  50. padding-bottom: #{$i}px !important;
  51. }
  52. .pl#{$i} {
  53. padding-left: #{$i}px !important;
  54. }
  55. }
  56. .custom-submenu {
  57. .el-menu {
  58. padding: 0;
  59. border-radius: 4px;
  60. min-width: 120px;
  61. }
  62. .el-menu-item {
  63. font-weight: 400;
  64. font-size: 16px;
  65. color: #323232 !important;
  66. height: 24px;
  67. line-height: 24px;
  68. text-align: center;
  69. &:hover {
  70. background-color: #ebf3ff !important;
  71. color: #386afe !important;
  72. }
  73. }
  74. }
  75. .el-card {
  76. border-radius: 8px !important;
  77. .header {
  78. display: flex;
  79. align-items: center;
  80. justify-content: space-between;
  81. h4 {
  82. font-weight: bold;
  83. font-size: 18px;
  84. color: #2c405e;
  85. }
  86. }
  87. }
  88. .common-container {
  89. padding: 20px 0 40px;
  90. background-color: #F8F9FD;
  91. .el-container {
  92. width: 1200px;
  93. margin: 0 auto;
  94. }
  95. }
  96. .left-tabs {
  97. width: 266px;
  98. border-radius: 8px;
  99. overflow: hidden;
  100. background-color: #fff;
  101. box-shadow: 0px 3px 6px 1px rgba(1, 64, 100, 0.16);
  102. margin-right: 24px;
  103. min-height: 550px;
  104. display: flex;
  105. flex-direction: column;
  106. h4 {
  107. height: 72px;
  108. line-height: 72px;
  109. font-weight: bold;
  110. font-size: 24px;
  111. color: #ffffff;
  112. text-align: center;
  113. background: linear-gradient(99deg, #1964fe 0%, #19abff 100%);
  114. }
  115. ul {
  116. flex: 1;
  117. li {
  118. height: 60px;
  119. font-weight: 400;
  120. font-size: 16px;
  121. color: #323232;
  122. cursor: pointer;
  123. transition: all 0.3s;
  124. display: flex;
  125. align-items: center;
  126. justify-content: center;
  127. &:before {
  128. content: "";
  129. display: inline-block;
  130. width: 8px;
  131. height: 8px;
  132. background: transparent;
  133. border-radius: 4px;
  134. margin-right: 8px;
  135. }
  136. &:hover,
  137. &.active {
  138. background-color: #e7f1ff;
  139. &:before {
  140. background: #2C78FF;
  141. }
  142. }
  143. }
  144. }
  145. }
  146. .right-content {
  147. flex: 1;
  148. border-radius: 8px;
  149. overflow: hidden;
  150. min-height: 550px;
  151. box-shadow: 0px 3px 6px 1px rgba(1, 64, 100, 0.16);
  152. ::v-deep .el-card__body {
  153. height: calc(100% - 100px);
  154. }
  155. .header {
  156. display: flex;
  157. align-items: center;
  158. justify-content: space-between;
  159. h4 {
  160. font-weight: bold;
  161. font-size: 18px;
  162. color: #2c405e;
  163. }
  164. }
  165. .article {
  166. h4 {
  167. text-align: center;
  168. font-weight: bold;
  169. font-size: 24px;
  170. color: #386afe;
  171. }
  172. .snd-title {
  173. font-weight: 400;
  174. font-size: 14px;
  175. color: #565656;
  176. display: flex;
  177. justify-content: center;
  178. p {
  179. margin: 8px;
  180. }
  181. }
  182. }
  183. .link-list {
  184. display: flex;
  185. flex-direction: column;
  186. height: 100%;
  187. overflow-y: auto;
  188. > ul {
  189. flex: 1;
  190. li {
  191. display: flex;
  192. justify-content: space-between;
  193. padding: 12px;
  194. border-bottom: 1px dashed #ebf1f6;
  195. cursor: pointer;
  196. transition: all 0.3s;
  197. &:hover {
  198. background-color: #e7f1ff;
  199. }
  200. div {
  201. font-weight: 400;
  202. font-size: 16px;
  203. color: #585858;
  204. }
  205. span {
  206. font-weight: 400;
  207. font-size: 16px;
  208. color: #b5c1d8;
  209. }
  210. }
  211. }
  212. .el-pagination {
  213. display: flex;
  214. justify-content: center;
  215. }
  216. }
  217. }