index.less 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. .content {
  2. display: flex;
  3. justify-content: space-between;
  4. align-items: center;
  5. height: 100vh;
  6. width: 100%;
  7. padding-top: 90px;
  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: 20px;
  16. cursor: pointer;
  17. color: #fff;
  18. &:last-child {
  19. margin-bottom: 0;
  20. }
  21. .boxTitle {
  22. padding-left: 46px;
  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. position: relative;
  59. .mask {
  60. position: absolute;
  61. top: 0;
  62. left: 0;
  63. width: 100%;
  64. height: 100%;
  65. }
  66. }
  67. .scadaContent {
  68. padding: 20px;
  69. height: 300px;
  70. width: 1000px;
  71. display: flex;
  72. justify-content: space-between;
  73. iframe {
  74. height: 100%;
  75. width: calc(50% - 10px);
  76. border: none;
  77. pointer-events: none;
  78. }
  79. }
  80. .scoreBox {
  81. display: flex;
  82. flex-direction: column;
  83. align-items: center;
  84. .scoreTitle {
  85. font-size: 24px;
  86. margin-top: 10px;
  87. margin-bottom: 14px;
  88. }
  89. .grade {
  90. font-size: 22px;
  91. margin-top: 10px;
  92. }
  93. }
  94. .time {
  95. font-size: 22px;
  96. margin-bottom: 20px;
  97. text-align: center;
  98. }
  99. .insTag {
  100. position: absolute;
  101. right: 54px;
  102. top: 44px;
  103. width: 114px;
  104. height: 50px;
  105. background: #4a90e2;
  106. border-radius: 5px;
  107. text-align: center;
  108. line-height: 50px;
  109. font-size: 26px;
  110. font-weight: 400;
  111. color: #ffffff;
  112. }
  113. .insStatus {
  114. text-align: center;
  115. font-size: 42px;
  116. font-weight: 500;
  117. color: #f5a623;
  118. line-height: 56px;
  119. margin-top: 50px;
  120. margin-bottom: 22px;
  121. }
  122. .centerBox {
  123. display: flex;
  124. height: 880px;
  125. align-items: flex-end;
  126. .box {
  127. width: 100%;
  128. }
  129. }
  130. .backlog {
  131. padding: 0 10px;
  132. overflow-y: auto;
  133. height: 200px;
  134. .createTime {
  135. }
  136. .item {
  137. margin: 8px 0 20px;
  138. width: 100%;
  139. font-size: 22px;
  140. // height: 50px;
  141. background-color: #346194;
  142. line-height: 50px;
  143. }
  144. .point {
  145. position: relative;
  146. float: left;
  147. top: 20px;
  148. margin: 0 10px;
  149. display: inline-block;
  150. width: 10px;
  151. height: 10px;
  152. border-radius: 50%;
  153. background-color: yellow;
  154. }
  155. .titleText {
  156. margin: 0 20px;
  157. border-bottom: 1px solid #eeeeee;
  158. }
  159. .bottomCon {
  160. padding: 0 20px;
  161. font-size: 20px;
  162. word-wrap: break-word;
  163. }
  164. }
  165. .count {
  166. background: #f69040;
  167. border-radius: 4px;
  168. margin-left: 10px;
  169. padding: 0 6px;
  170. }