index.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. .content {
  2. display: flex;
  3. justify-content: space-between;
  4. align-items: center;
  5. height: 100vh;
  6. width: 100%;
  7. padding-top: 300px;
  8. }
  9. .box {
  10. background: url('@/assets/home-box-bg.png') no-repeat center;
  11. background-size: 100% 100%;
  12. width: 520px;
  13. padding: 24px;
  14. position: relative;
  15. margin-bottom: 40px;
  16. cursor: pointer;
  17. color: #fff;
  18. &:last-child {
  19. margin-bottom: 0;
  20. }
  21. .boxTitle {
  22. padding-left: 68px;
  23. margin-bottom: 20px;
  24. font-size: 26px;
  25. font-weight: 400;
  26. color: #ffffff;
  27. line-height: 34px;
  28. }
  29. > ul {
  30. display: flex;
  31. justify-content: center;
  32. > li {
  33. width: 50%;
  34. }
  35. }
  36. .name {
  37. font-size: 22px;
  38. font-weight: 400;
  39. color: #ffffff;
  40. line-height: 28px;
  41. text-align: center;
  42. margin-top: 18px;
  43. }
  44. .value {
  45. font-size: 32px;
  46. font-weight: 600;
  47. color: #329bfe;
  48. line-height: 50px;
  49. text-align: center;
  50. }
  51. }
  52. .boxBig {
  53. .box;
  54. background-image: url('@/assets/home-box-bg2.png');
  55. }
  56. .scada {
  57. padding: 0 10px;
  58. }
  59. .scadaContent {
  60. padding: 20px;
  61. height: 300px;
  62. width: 1000px;
  63. display: flex;
  64. justify-content: space-between;
  65. iframe {
  66. height: 100%;
  67. width: calc(50% - 10px);
  68. border: none;
  69. pointer-events: none;
  70. }
  71. }
  72. .scoreBox {
  73. display: flex;
  74. flex-direction: column;
  75. align-items: center;
  76. .scoreTitle {
  77. font-size: 24px;
  78. margin-top: 10px;
  79. margin-bottom: 14px;
  80. }
  81. .grade {
  82. font-size: 22px;
  83. margin-top: 10px;
  84. }
  85. }
  86. .time {
  87. font-size: 22px;
  88. margin-bottom: 20px;
  89. text-align: center;
  90. }
  91. .insTag {
  92. position: absolute;
  93. right: 54px;
  94. top: 44px;
  95. width: 114px;
  96. height: 50px;
  97. background: #4a90e2;
  98. border-radius: 5px;
  99. text-align: center;
  100. line-height: 50px;
  101. font-size: 26px;
  102. font-weight: 400;
  103. color: #ffffff;
  104. }
  105. .insStatus {
  106. text-align: center;
  107. font-size: 42px;
  108. font-weight: 500;
  109. color: #f5a623;
  110. line-height: 56px;
  111. margin-top: 50px;
  112. margin-bottom: 22px;
  113. }
  114. .centerBox {
  115. display: flex;
  116. height: 880px;
  117. align-items: flex-end;
  118. .box {
  119. width: 100%;
  120. }
  121. }
  122. .backlog {
  123. padding: 0 10px;
  124. overflow-y: auto;
  125. height: 200px;
  126. .createTime {
  127. }
  128. .item {
  129. margin: 4px 0 10px;
  130. width: 100%;
  131. height: 50px;
  132. background-color: #346194;
  133. line-height: 50px;
  134. }
  135. .point {
  136. margin: 0 10px;
  137. display: inline-block;
  138. width: 10px;
  139. height: 10px;
  140. border-radius: 50%;
  141. background-color: yellow;
  142. }
  143. }
  144. .count {
  145. background: #f69040;
  146. border-radius: 4px;
  147. margin-left: 10px;
  148. padding: 0 6px;
  149. }