index.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. .content {
  2. display: flex;
  3. justify-content: space-between;
  4. align-items: center;
  5. height: 100vh;
  6. width: 100%;
  7. padding-top: 0.9rem;
  8. color: #3b3b3b;
  9. }
  10. .box {
  11. width: 6.4rem;
  12. padding: 0.24rem;
  13. position: relative;
  14. margin-bottom: 0.1rem;
  15. display: inline-block;
  16. cursor: pointer;
  17. background: url('@/assets/home-box-bg.png') no-repeat center;
  18. background-size: 100% 100%;
  19. // &:last-child {
  20. // margin-bottom: 0;
  21. // }
  22. .titleContent {
  23. margin: 0.2rem 0.38rem;
  24. display: inline-block;
  25. position: relative;
  26. }
  27. .boxTitle {
  28. padding: 0 0.1rem;
  29. position: relative;
  30. // z-index: 99;
  31. font-size: 0.32rem;
  32. font-weight: 600;
  33. color: #0139f1;
  34. line-height: 0.34rem;
  35. z-index: 1;
  36. }
  37. .line {
  38. position: absolute;
  39. // left: 0.38rem;
  40. bottom: 0;
  41. width: 100%;
  42. height: 0.14rem;
  43. background: url('@/assets/home-box-line.png') no-repeat center;
  44. background-size: 100% 100%;
  45. z-index: 0;
  46. }
  47. > ul {
  48. display: flex;
  49. justify-content: center;
  50. > li {
  51. text-align: center;
  52. width: 50%;
  53. }
  54. }
  55. .name {
  56. font-size: 0.22rem;
  57. font-weight: 400;
  58. color: #ffffff;
  59. line-height: 0.28rem;
  60. text-align: center;
  61. margin-top: 0.18rem;
  62. }
  63. .value {
  64. margin: 0.6rem 0;
  65. font-size: 0.4rem;
  66. font-weight: 600;
  67. color: #3b3b3b;
  68. line-height: 0.5rem;
  69. text-align: center;
  70. font-family: PangMenZhengDao-3, PangMenZhengDao-3;
  71. }
  72. }
  73. .boxBig {
  74. .box;
  75. background-image: url('@/assets/home-box-bg2.png');
  76. }
  77. .scada {
  78. margin-bottom: 0.2rem;
  79. padding: 0 0.1rem;
  80. position: relative;
  81. .mask {
  82. position: absolute;
  83. top: 0;
  84. left: 0;
  85. width: 100%;
  86. height: 100%;
  87. }
  88. }
  89. .scadaContent {
  90. padding: 0.2rem;
  91. height: 3rem;
  92. width: 10rem;
  93. display: flex;
  94. justify-content: space-between;
  95. iframe {
  96. height: 100%;
  97. width: calc(50% - 0.1rem);
  98. border: none;
  99. pointer-events: none;
  100. }
  101. }
  102. .scoreBox {
  103. display: flex;
  104. justify-content: space-around;
  105. .score {
  106. font-size: 0.5rem;
  107. font-weight: 600;
  108. font-family: PangMenZhengDao-3, PangMenZhengDao-3;
  109. color: #615d5d;
  110. }
  111. .scoreTitle {
  112. width: 3rem;
  113. font-size: 0.4rem;
  114. margin-top: 0.2rem;
  115. font-family: Source Han Sans, Source Han Sans;
  116. color: #3b3b3b;
  117. }
  118. .grade {
  119. font-size: 0.22rem;
  120. margin-top: 0.1rem;
  121. }
  122. .circle {
  123. width: 1.78rem;
  124. height: 1.78rem;
  125. text-align: center;
  126. display: flex;
  127. flex-direction: column;
  128. justify-content: center;
  129. // border-image: linear-gradient(49deg, rgba(255, 123.24999645352364, 0, 1), rgba(255, 242.24999696016312, 0, 1)) 25 25;
  130. background: url('@/assets/home-circle.png') no-repeat center;
  131. background-size: 100% 100%;
  132. }
  133. }
  134. .time {
  135. font-size: 0.22rem;
  136. margin-bottom: 0.2rem;
  137. text-align: right;
  138. margin-right: 30px;
  139. }
  140. .insTag {
  141. position: absolute;
  142. right: 0.54rem;
  143. top: 0.44rem;
  144. width: 1.14rem;
  145. height: 0.5rem;
  146. background: #4a90e2;
  147. border-radius: 0.05rem;
  148. text-align: center;
  149. line-height: 0.5rem;
  150. font-size: 0.26rem;
  151. font-weight: 400;
  152. color: #ffffff;
  153. }
  154. .insStatus {
  155. text-align: center;
  156. font-size: 0.42rem;
  157. font-weight: 500;
  158. color: #f5a623;
  159. line-height: 0.56rem;
  160. margin-top: 0.5rem;
  161. margin-bottom: 0.22rem;
  162. }
  163. .centerBox {
  164. display: flex;
  165. height: calc(100vh - 0.9rem);
  166. align-items: flex-end;
  167. }
  168. .backlog {
  169. margin-bottom: 0.4rem;
  170. padding: 0 0.2rem;
  171. overflow-y: auto;
  172. height: 2.6rem;
  173. color: #3b3b3b;
  174. .item {
  175. padding: 0.08rem 0 0.2rem;
  176. width: 100%;
  177. font-size: 0.22rem;
  178. line-height: 0.5rem;
  179. border-bottom: 1px solid #ffffff;
  180. }
  181. .titleCon {
  182. display: flex;
  183. align-items: center;
  184. }
  185. .point {
  186. display: inline-block;
  187. width: 0.12rem;
  188. height: 0.24rem;
  189. background-color: #ff8400;
  190. }
  191. .createTime {
  192. float: right;
  193. }
  194. .titleText {
  195. font-size: 0.22rem;
  196. margin: 0 0.2rem;
  197. }
  198. .bottomCon {
  199. font-size: 0.18rem;
  200. word-wrap: break-word;
  201. }
  202. }
  203. .count {
  204. background: #f69040;
  205. border-radius: 0.04rem;
  206. margin-left: 0.1rem;
  207. padding: 0 0.06rem;
  208. }
  209. .btn1 {
  210. margin-bottom: 0.2rem;
  211. padding: 0.14rem 0.3rem;
  212. font-size: 0.32rem;
  213. font-family: Source Han Sans, Source Han Sans;
  214. font-weight: 500;
  215. color: #ffffff;
  216. display: inline-block;
  217. border-radius: 1rem;
  218. background-color: #1755ff;
  219. }
  220. .btn2 {
  221. .btn1;
  222. background-color: #1d83ff;
  223. }
  224. .selfCon {
  225. display: flex;
  226. justify-content: space-around;
  227. align-items: center;
  228. .circle {
  229. width: 1.78rem;
  230. height: 1.78rem;
  231. text-align: center;
  232. line-height: 1.78rem;
  233. background: url('@/assets/home-self-circle.png') no-repeat center;
  234. background-size: 100% 100%;
  235. }
  236. .text {
  237. width: 1.19rem;
  238. height: 0.5rem;
  239. font-size: 0.5rem;
  240. font-family: Source Han Sans, Source Han Sans;
  241. font-weight: 500;
  242. }
  243. .texting {
  244. width: 2rem;
  245. font-size: 0.4rem;
  246. margin-top: 0.2rem;
  247. font-family: Source Han Sans, Source Han Sans;
  248. color: #3b3b3b;
  249. }
  250. }