hc-data.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. .hc-layout-box {
  2. position: relative;
  3. height: 100%;
  4. .hc-round-chart {
  5. position: relative;
  6. margin-bottom: 24px;
  7. height: 177px;
  8. .hc-round-chart-card-box {
  9. display: flex;
  10. align-items: center;
  11. .hc-card-content-box {
  12. position: relative;
  13. flex: 1;
  14. .card-title {
  15. color: #50545E;
  16. font-weight: 500;
  17. }
  18. .card-ratio-box {
  19. position: relative;
  20. align-items: center;
  21. display: flex;
  22. margin: 10px 0;
  23. .ratio-num {
  24. font-size: 40px;
  25. color: #1a1a1a;
  26. }
  27. .ratio-text {
  28. position: relative;
  29. margin-left: 10px;
  30. .unit {
  31. color: #1a1a1a;
  32. font-size: 16px;
  33. }
  34. .text {
  35. font-size: 12px;
  36. color: #999999;
  37. margin-top: 2px;
  38. }
  39. }
  40. }
  41. .card-amount-box {
  42. position: relative;
  43. display: flex;
  44. align-items: center;
  45. .amount-item {
  46. position: relative;
  47. text-align: center;
  48. .text {
  49. font-size: 12px;
  50. color: #999999;
  51. }
  52. .num {
  53. font-size: 14px;
  54. color: #50545e;
  55. font-weight: 500;
  56. margin-top: 5px;
  57. }
  58. }
  59. .amount-divider {
  60. position: relative;
  61. width: 1px;
  62. height: 35px;
  63. margin: 0 20px;
  64. background-color: #CCD0DE;
  65. }
  66. }
  67. }
  68. .hc-card-chart-box {
  69. position: relative;
  70. height: 129px;
  71. width: 129px;
  72. display: block;
  73. .text-num {
  74. position: absolute;
  75. top: 0;
  76. left: 0;
  77. right: 0;
  78. bottom: 0;
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. pointer-events: none;
  83. color: var(--el-color-primary);
  84. }
  85. }
  86. }
  87. }
  88. .hc-round-chart-card-box,
  89. .hc-report-chart-card-box,
  90. .hc-media-chart-card-box {
  91. position: relative;
  92. background: #f1f5f8;
  93. border-radius: 10px;
  94. padding: 24px;
  95. box-shadow: -2px 0px 10px 0px rgba(32,37,50,0.03), 0px 10px 21px 20px rgba(32,37,50,0.03);
  96. }
  97. .hc-chart-flex {
  98. position: relative;
  99. height: calc(100% - 200px);
  100. .hc-report-chart-card-box, .hc-media-chart-card-box {
  101. position: relative;
  102. height: 100%;
  103. overflow: hidden;
  104. .hc-chart-title {
  105. position: relative;
  106. .title {
  107. color: #333333;
  108. font-size: 18px;
  109. font-weight: 500;
  110. }
  111. .hc-chart-text {
  112. color: #999999;
  113. font-size: 14px;
  114. margin-left: 16px;
  115. }
  116. }
  117. .hc-report-chart-box {
  118. position: relative;
  119. height: calc(100% - 55px);
  120. margin-top: 30px;
  121. background: #E7EEF4;
  122. border-radius: 10px;
  123. }
  124. .hc-media-chart-box {
  125. position: relative;
  126. height: calc(100% - 70px);
  127. margin-top: 30px;
  128. background: #E7EEF4;
  129. border-radius: 10px;
  130. }
  131. }
  132. .hc-media-chart-card-box {
  133. .hc-chart-title {
  134. display: flex;
  135. align-items: center;
  136. justify-content: space-between;
  137. }
  138. .hc-media-chart-box .hc-media-pian-box {
  139. position: absolute;
  140. background: linear-gradient(0deg,rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.00) 100%);
  141. border: 1px solid #ffffff;
  142. border-radius: 10px;
  143. color: #838791;
  144. padding: 10px;
  145. font-size: 14px;
  146. top: 16px;
  147. left: 16px;
  148. .item {
  149. display: flex;
  150. align-items: center;
  151. .name {
  152. margin-right: 10px;
  153. }
  154. .num {
  155. color: #1A1A1A;
  156. font-size: 16px;
  157. }
  158. .num.c1 {
  159. color: #FF8F3E;
  160. }
  161. .num.c2 {
  162. color: #1573FF;
  163. }
  164. &+.item {
  165. margin-top: 8px;
  166. }
  167. }
  168. }
  169. }
  170. }
  171. }