index.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. body {
  2. margin: 0;
  3. }
  4. .container {
  5. position: relative;
  6. width: 100%;
  7. height: 100vh;
  8. overflow: hidden;
  9. //background: #010421;
  10. background: url('../../../public/assets/dataBoardBg.jpg') center no-repeat;
  11. background-size: 100% 100%;
  12. .dataBoardBg_two {
  13. position: absolute;
  14. bottom: 0;
  15. }
  16. // 顶部
  17. .dataTitleItem {
  18. position: relative;
  19. width: 100%;
  20. height: 10%;
  21. img {
  22. position: absolute;
  23. left: 50%;
  24. width: 100%;
  25. transform: translate(-50%);
  26. }
  27. .decoration1 {
  28. position: absolute;
  29. top: 37%;
  30. left: 3%;
  31. }
  32. .title {
  33. position: absolute;
  34. top: 8%;
  35. left: 50%;
  36. color: #2ff8ff;
  37. font-size: 25px;
  38. transform: translate(-50%);
  39. }
  40. .decoration5 {
  41. position: absolute;
  42. top: 75px;
  43. left: 50%;
  44. width: 300px;
  45. height: 40px;
  46. transform: translate(-50%);
  47. }
  48. }
  49. // 内容
  50. .dataBoardContent {
  51. position: relative;
  52. width: 100%;
  53. height: 60%;
  54. .decoration_map {
  55. position: absolute;
  56. top: 0;
  57. left: 50%;
  58. width: 40%;
  59. height: 80%;
  60. transform: translate(-50%);
  61. .data_show {
  62. position: relative;
  63. .data_show_num {
  64. position: absolute;
  65. top: 10%;
  66. left: 50%;
  67. transform: translate(-50%);
  68. }
  69. .data_show_title {
  70. position: absolute;
  71. bottom: 20%;
  72. width: 100%;
  73. font-size: 13px;
  74. text-align: center;
  75. }
  76. }
  77. }
  78. .decoration_left_1,
  79. .decoration_left_2,
  80. .decoration_right_3,
  81. .decoration_right_4 {
  82. position: absolute;
  83. width: 27%;
  84. height: calc(100% - 50%);
  85. }
  86. .title_text {
  87. position: absolute;
  88. top: 5%;
  89. left: 10%;
  90. color: #fff;
  91. font-size: 15px;
  92. }
  93. .radio_style {
  94. position: absolute;
  95. top: 15%;
  96. right: 15%;
  97. z-index: 10;
  98. :global {
  99. .ant-radio-button-wrapper {
  100. background: rgba(255, 255, 255, 0.78);
  101. }
  102. .ant-radio-button-wrapper-checked {
  103. background: rgba(64, 197, 241, 0.5);
  104. border-right-color: #40c5f1;
  105. }
  106. }
  107. }
  108. .user_charts {
  109. position: absolute;
  110. top: 15%;
  111. left: 0;
  112. }
  113. .decoration_left_1 {
  114. top: 0;
  115. left: 3%;
  116. .statistics {
  117. position: absolute;
  118. top: 15%;
  119. left: 0;
  120. display: flex;
  121. justify-content: space-around;
  122. width: 92%;
  123. height: 77%;
  124. .statistics_title_text {
  125. margin-top: 10px;
  126. margin-left: 15px;
  127. color: #fff;
  128. font-weight: bold;
  129. font-size: 16px;
  130. line-height: 30px;
  131. background-image: -webkit-linear-gradient(right, #52ffff, #2aacfa);
  132. -webkit-background-clip: text;
  133. -webkit-text-fill-color: transparent;
  134. }
  135. .user_data {
  136. width: 40%;
  137. .user_content {
  138. .user_item {
  139. margin: 13% 0;
  140. text-align: center;
  141. .item_title {
  142. color: #fff;
  143. }
  144. }
  145. }
  146. }
  147. .device_data {
  148. width: 60%;
  149. .device_content {
  150. display: flex;
  151. width: 100%;
  152. margin: 5% 0;
  153. .device_item {
  154. position: relative;
  155. text-align: center;
  156. .device_num {
  157. position: absolute;
  158. top: 0;
  159. left: 50%;
  160. transform: translate(-50%);
  161. }
  162. .device_bg {
  163. width: 70%;
  164. }
  165. .device_title {
  166. margin-top: 3%;
  167. color: #fff;
  168. font-size: 12px;
  169. }
  170. }
  171. }
  172. }
  173. }
  174. }
  175. .decoration_left_2 {
  176. top: 50%;
  177. left: 3%;
  178. }
  179. .decoration_right_3 {
  180. top: 0;
  181. right: 1%;
  182. }
  183. .decoration_right_4 {
  184. top: 50%;
  185. right: 1%;
  186. }
  187. }
  188. .dataBottom {
  189. position: relative;
  190. top: 0.5%;
  191. left: 0.5%;
  192. width: 99%;
  193. height: 30%;
  194. }
  195. }