index.scoped.scss 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. page {
  2. background: #FAFBFE;
  3. height: 100%;
  4. overflow: hidden;
  5. }
  6. .hc-search-bar {
  7. position: relative;
  8. }
  9. .hc-page-body {
  10. position: relative;
  11. display: flex;
  12. height: calc(100vh - 176rpx - (var(--window-bottom) + 0.3125rem) - (var(--status-bar-height) + 0.3125rem));
  13. overflow: hidden;
  14. .hc-page-menu {
  15. height: 100%;
  16. width: 260rpx;
  17. background-color: #f3f5f8;
  18. border-right: 1px solid #ececed;
  19. .hc-page-menu-item {
  20. padding: 20rpx;
  21. font-size: 26rpx;
  22. color: #415058;
  23. &.cur {
  24. background-color: #544e80;
  25. color: #FFFFFF;
  26. }
  27. }
  28. }
  29. .hc-page-data {
  30. height: 100%;
  31. flex: 1;
  32. .hc-page-data-item {
  33. padding: 20rpx 24rpx;
  34. font-size: 26rpx;
  35. color: #4f4f4f;
  36. font-weight: bold;
  37. &.cur {
  38. color: #4095E5;
  39. }
  40. }
  41. }
  42. .fold-tree-node {
  43. position: relative;
  44. padding: 20rpx 16rpx;
  45. margin: 20rpx;
  46. border-radius: 10rpx;
  47. background: white;
  48. .node-title {
  49. color: #4F4F4F;
  50. font-size: 27rpx;
  51. &.blue {
  52. color: var(--primary-color);
  53. }
  54. .icon {
  55. font-size: 40rpx;
  56. margin-right: 10rpx;
  57. width: 40rpx;
  58. }
  59. }
  60. &.current {
  61. opacity: 1;
  62. background-color: rgba(180, 253, 255, .44);
  63. box-shadow: 0 4rpx 12rpx 0 rgba(122, 122, 122, .34);
  64. transform-origin: 350rpx 550rpx;
  65. animation-duration: 1s;
  66. animation-iteration-count: 1;
  67. animation-name: foldTreeNodeCurrentZoomIn;
  68. animation-fill-mode: backwards;
  69. .node-title {
  70. color: #EE5B20;
  71. }
  72. }
  73. .node-child {
  74. position: relative;
  75. padding-left: 40rpx;
  76. .node-title {
  77. color: #4F4F4F;
  78. margin-top: 22rpx;
  79. }
  80. }
  81. }
  82. }
  83. @keyframes foldTreeNodeCurrentZoomIn {
  84. 0% {
  85. opacity: 0;
  86. transform: scale3d(0.3, 0.3, 0.3);
  87. }
  88. 50% {
  89. opacity: 1;
  90. }
  91. }