火箭军大屏html静态页面
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

592 lines
11 KiB

  1. .env-container {
  2. width: 100%;
  3. height: calc(100vh);
  4. background-color: #031435;
  5. overflow: hidden;
  6. }
  7. .env-top-title {
  8. width: calc(100vw);
  9. height: 1.625rem;
  10. background: url("../images/largeScreen/top-title.png") no-repeat 0 -0.175rem;
  11. background-size: contain;
  12. }
  13. .current-date {
  14. position: fixed;
  15. top: .3125rem;
  16. right: 1.875rem;
  17. font-size: .2rem;
  18. color: #3a99fd;
  19. }
  20. .env-main {
  21. display: flex;
  22. justify-content: space-between;
  23. padding: 0 .3125rem;
  24. margin-top: -0.15rem;
  25. }
  26. .env-main-left,
  27. .env-main-right {
  28. max-width: 24%;
  29. flex: 1;
  30. height: calc(100vh - 1.725rem);
  31. overflow: hidden;
  32. }
  33. .env-main-middle {
  34. flex: 1;
  35. margin: 0 .25rem;
  36. height: calc(100vh - 1.725rem);
  37. overflow: hidden;
  38. }
  39. .container-wrap {
  40. height: calc(100% / 3 - .2rem);
  41. }
  42. .env-item {
  43. position: relative;
  44. margin-bottom: .25rem;
  45. text-align: center;
  46. background-color: #021941;
  47. border: 1px solid #113d72;
  48. }
  49. .container-wrap::before,
  50. .container-wrap::after {
  51. content: "";
  52. position: absolute;
  53. width: .2125rem;
  54. height: .2125rem;
  55. z-index: 99;
  56. }
  57. .container-wrap::before {
  58. top: -1px;
  59. left: -1px;
  60. border-top: 1px solid #339cff;
  61. border-left: 1px solid #339cff;
  62. }
  63. .container-wrap::after {
  64. right: -1px;
  65. bottom: -1px;
  66. border-right: 1px solid #339cff;
  67. border-bottom: 1px solid #339cff;
  68. }
  69. .right-top-line,
  70. .left-bottom-line,
  71. .right-bottom-line {
  72. display: block;
  73. position: absolute;
  74. width: .2125rem;
  75. height: .2125rem;
  76. z-index: 99;
  77. }
  78. .right-top-line {
  79. right: -1px;
  80. top: -1px;
  81. border-right: 1px solid #339cff;
  82. border-top: 1px solid #339cff;
  83. }
  84. .left-bottom-line {
  85. bottom: -1px;
  86. left: -1px;
  87. border-bottom: 1px solid #339cff;
  88. border-left: 1px solid #339cff;
  89. }
  90. .env-item h3 {
  91. position: relative;
  92. display: inline-block;
  93. padding: .125rem .875rem;
  94. font-size: .2rem;
  95. color: #fff;
  96. }
  97. .env-item h3 .iconfont {
  98. margin-right: .125rem;
  99. font-size: .175rem;
  100. color: #f65163;
  101. }
  102. .env-item h3::before {
  103. content: "";
  104. position: absolute;
  105. left: 0;
  106. top: 50%;
  107. width: .45rem;
  108. height: .15rem;
  109. margin-top: -0.075rem;
  110. background: url("../images/largeScreen/item-left.png") no-repeat;
  111. background-size: cover;
  112. }
  113. .env-item h3::after {
  114. content: "";
  115. position: absolute;
  116. top: 50%;
  117. right: 0;
  118. width: .45rem;
  119. height: .15rem;
  120. margin-top: -0.075rem;
  121. background: url("../images/largeScreen/item-right.png") no-repeat;
  122. background-size: cover;
  123. }
  124. .env-3d {
  125. position: relative;
  126. width: 100%;
  127. height: calc(100% - (100% / 4));
  128. margin-bottom: .225rem;
  129. background: url("../images/largeScreen/bg.png") no-repeat center -130px;
  130. overflow: hidden;
  131. }
  132. .screen-env-list {
  133. display: flex;
  134. flex-wrap: wrap;
  135. justify-content: space-between;
  136. height: calc(100% - .475rem);
  137. padding: 0 .55rem 0 .05rem;
  138. }
  139. .screen-env-list li {
  140. display: flex;
  141. flex-wrap: nowrap;
  142. align-items: center;
  143. align-content: center;
  144. justify-content: center;
  145. margin: .25rem 0 .25rem .5rem;
  146. background: url('../images/data_border_default.png') no-repeat;
  147. background-size: 100% 100%;
  148. position: relative;
  149. width: calc(100% / 2 - .55rem);
  150. height: calc(100% / 2 - .5rem);
  151. }
  152. .env-svg-item {
  153. width: .5rem;
  154. height: 1rem;
  155. margin-left: .25rem;
  156. }
  157. .env-svg1 {
  158. background: url('../iconfont/co2.svg') no-repeat;
  159. background-size: 100% 100%;
  160. }
  161. .env-svg2 {
  162. background: url('../iconfont/voc.svg') no-repeat;
  163. background-size: 100% 100%;
  164. }
  165. .env-svg3 {
  166. background: url('../iconfont/pm25.svg') no-repeat;
  167. background-size: 100% 100%;
  168. }
  169. .env-svg4 {
  170. background: url('../iconfont/pm10.svg') no-repeat;
  171. background-size: 100% 100%;
  172. }
  173. .env-svg5 {
  174. background: url('../iconfont/temperature.svg') no-repeat;
  175. background-size: 100% 100%;
  176. }
  177. .env-svg6 {
  178. background: url('../iconfont/shidu.svg') no-repeat;
  179. background-size: 100% 100%;
  180. }
  181. .screen-env-list li .msg-txt {
  182. position: relative;
  183. -webkit-box-flex: 1;
  184. -ms-flex: 1;
  185. flex: 1;
  186. height: 1rem;
  187. text-align: center;
  188. }
  189. .screen-env-list li.li-warn{
  190. background: url('../images/data_border_warn.png') no-repeat;
  191. background-size: 100% 100%;
  192. }
  193. .screen-env-list li .msg-list-num {
  194. color: #fff;
  195. font-size: .325rem;
  196. position: absolute;
  197. left: 0;
  198. top: .175rem;
  199. width: 100%;
  200. }
  201. .screen-env-list li .msg-list-unit {
  202. position: absolute;
  203. left: 0;
  204. bottom: .15rem;
  205. width: 100%;
  206. font-size: .175rem;
  207. color: #339cff;
  208. }
  209. .env-3d .screen-env-list {
  210. position: absolute;
  211. right: 0;
  212. bottom: 0;
  213. flex-wrap: wrap;
  214. justify-content: space-between;
  215. padding: 0;
  216. width: 2.0625rem;
  217. height: 2.5rem;
  218. z-index: 9999;
  219. }
  220. .env-3d .screen-env-list li {
  221. width: 100%;
  222. margin: .25rem 0 0 0;
  223. height: calc(100% / 2 - .25rem);
  224. }
  225. .state-list {
  226. display: flex;
  227. justify-content: flex-end;
  228. margin-bottom: .125rem;
  229. font-size: .175rem;
  230. color: #339cff;
  231. }
  232. .state-list span {
  233. position: relative;
  234. display: block;
  235. padding-left: .2rem;
  236. margin-left: .375rem;
  237. }
  238. .state-list span::before {
  239. content: "";
  240. position: absolute;
  241. left: 0;
  242. top: 50%;
  243. width: .125rem;
  244. height: .125rem;
  245. border-radius: 50%;
  246. margin-top: -0.0625rem;
  247. background-color: #18b08f;
  248. }
  249. .state-list span:last-child::before {
  250. background-color: #f65164;
  251. }
  252. .leakage-detection {
  253. padding: 0 .55rem;
  254. font-size: .175rem;
  255. color: #339cff;
  256. height: calc(100% - .475rem);
  257. }
  258. .leakage-list {
  259. height: calc(100% - .325rem);
  260. text-align: left;
  261. }
  262. .leakage-list li {
  263. position: relative;
  264. display: flex;
  265. justify-content: space-between;
  266. align-items: center;
  267. height: calc(100% / 4 - .225rem);
  268. margin-bottom: .175rem;
  269. padding: 0 .375rem;
  270. border: 1px solid #3581cc;
  271. background-color: #02255f;
  272. border-radius: 2px;
  273. }
  274. .leakage-list li::before {
  275. content: "";
  276. position: absolute;
  277. top: .05rem;
  278. left: .05rem;
  279. width: 0;
  280. height: 0;
  281. border-color: transparent #339cff;
  282. border-width: 0 0 .075rem .075rem;
  283. border-style: solid;
  284. }
  285. .leakage-list li p i {
  286. margin-right: .1rem;
  287. }
  288. .leakage-state-tip {
  289. position: relative;
  290. display: block;
  291. width: .075rem;
  292. height: .075rem;
  293. border-radius: 50%;
  294. background-color: #18b08f;
  295. }
  296. .leakage-state-tip::before {
  297. content: "";
  298. position: absolute;
  299. left: 50%;
  300. top: 50%;
  301. width: 14px;
  302. height: 14px;
  303. border-radius: 50%;
  304. box-shadow: inset 0px 0px 10px 1px #18b08f;
  305. transform: translate(-50%, -50%);
  306. }
  307. .leakage-warn {
  308. border-color: #f65164;
  309. box-shadow: inset 0px 0px 15px 1px #f65164;
  310. color: #f65164;
  311. }
  312. .leakage-warn::before {
  313. border-color: transparent #f65164;
  314. }
  315. .leakage-warn span.leakage-state-tip {
  316. background-color: #f65164;
  317. }
  318. .leakage-warn span.leakage-state-tip::before {
  319. box-shadow: inset 0px 0px 10px 1px #f65164;
  320. }
  321. .middle-bottom {
  322. display: flex;
  323. color: #339cff;
  324. font-size: 14px;
  325. justify-content: space-between;
  326. height: calc(100% / 4);
  327. }
  328. .middle-bottom-l {
  329. display: flex;
  330. justify-content: space-between;
  331. width: 60%;
  332. height: calc(100% - 22px) !important;
  333. }
  334. .middle-bottom-l ul {
  335. width: 59%;
  336. padding: 25px 20px;
  337. display: flex;
  338. flex-direction: column;
  339. justify-content: space-between;
  340. }
  341. .middle-bottom-l ul li {
  342. height: calc(100% / 3 - 14px);
  343. background: linear-gradient(360deg,
  344. rgba(51, 156, 255, 0.24) 0%,
  345. rgba(56, 158, 225, 0) 70%,
  346. rgba(56, 158, 225, 0) 100%);
  347. display: flex;
  348. align-items: center;
  349. justify-content: space-between;
  350. }
  351. .middle-bottom-l ul li .row-item {
  352. display: flex;
  353. align-items: center;
  354. }
  355. .middle-bottom-l ul li .row-icon {
  356. display: block;
  357. width: 24px;
  358. height: 24px;
  359. margin-right: 10px;
  360. }
  361. .middle-bottom-l ul li .row-icon1 {
  362. background: url("../iconfont/danganzongliang.png") no-repeat;
  363. background-size: cover;
  364. }
  365. .middle-bottom-l ul li .row-icon2 {
  366. background: url("../iconfont/zaijieshuliang.png") no-repeat;
  367. background-size: cover;
  368. }
  369. .middle-bottom-l ul li .row-icon3 {
  370. background: url("../iconfont/zaikushuliang.png") no-repeat;
  371. background-size: cover;
  372. }
  373. .middle-bottom-l ul li .row-icon4 {
  374. background: url("../iconfont/quanbushebei.png") no-repeat;
  375. background-size: cover;
  376. }
  377. .middle-bottom-l ul li .row-icon5 {
  378. background: url("../iconfont/zaixianshebei.png") no-repeat;
  379. background-size: cover;
  380. }
  381. .middle-bottom-l ul li .row-icon6 {
  382. background: url("../iconfont/lixianshebei.png") no-repeat;
  383. background-size: cover;
  384. }
  385. .card-panel-icon {
  386. font-size: .3rem;
  387. }
  388. .row-num {
  389. font-size: .225rem;
  390. color: #fff;
  391. margin-right: .125rem;
  392. }
  393. .middle-bottom-r {
  394. width: 38%;
  395. height: calc(100% - 22px) !important;
  396. }
  397. .middle-bottom-r ul {
  398. /* width: 100%; */
  399. height: calc(85%);
  400. padding: .1875rem;
  401. display: flex;
  402. flex-direction: column;
  403. justify-content: space-between;
  404. }
  405. .middle-bottom-r ul li {
  406. height: 20%;
  407. display: flex;
  408. align-items: center;
  409. justify-content: space-between;
  410. }
  411. .table-wrapper {
  412. width: 100%;
  413. font-size: .175rem;
  414. color: #339cff;
  415. }
  416. .table-header {
  417. background: #02255F;
  418. box-shadow: inset 0px 0px 6px 1px #339CFF;
  419. }
  420. .table-wrapper th {
  421. height: .375rem;
  422. text-align: center;
  423. }
  424. .table-wrapper td {
  425. height: .5rem;
  426. text-align: center;
  427. border-bottom: 1px dashed #113D72;
  428. }
  429. .table-wrapper tr:nth-child(odd) {
  430. background-color: #02255F;
  431. }
  432. .scrollTable{
  433. height: 3.75rem;
  434. overflow-y: scroll;
  435. font-size: 12px;
  436. }
  437. /* 设置滚动条的样式 */
  438. .scrollTable::-webkit-scrollbar {
  439. width: 4px;
  440. height: 4px;
  441. }
  442. /* 滚动槽 */
  443. .scrollTable::-webkit-scrollbar-track {
  444. border-radius: 3px;
  445. }
  446. /* 滚动条滑块 */
  447. .scrollTable::-webkit-scrollbar-thumb {
  448. background-color: #13439E;
  449. border-radius: 3px;
  450. }
  451. /* 滚动条显示,但占位*/
  452. .scrollTable.show-scrollbar::-webkit-scrollbar-thumb{
  453. visibility: visible;
  454. }
  455. /* 数据为空 */
  456. .empty-main{
  457. display: flex;
  458. height: calc(100% - 40px);
  459. flex-flow: column;
  460. justify-content: center;
  461. align-items: center;
  462. }
  463. .empty-img{
  464. width: 140px;
  465. height: 140px;
  466. background: url('../iconfont/empty.svg') no-repeat;
  467. background-size: 100% 100%;
  468. vertical-align: middle;
  469. }
  470. .empty-main p{
  471. font-size: 12px;
  472. color: #999;
  473. margin-top: -10px;
  474. }
  475. .num {
  476. width: 3.15rem;
  477. }
  478. .num div{
  479. width: .4rem;
  480. /* height: .375rem;
  481. line-height: .375rem; */
  482. font-size: .175rem;
  483. font-weight: bold;
  484. color: #fff;
  485. border: 1px solid #0E3465;
  486. }
  487. .banner-top-name{
  488. position: absolute;
  489. left: 0;
  490. top: 0;
  491. padding: 0 15px;
  492. height: 34px;
  493. line-height: 34px;
  494. font-size: 18px;
  495. color: #fff;
  496. background-color: #113d72;
  497. border: 1px solid #339cff;
  498. border-radius: 4px;
  499. }
  500. .right-td span{
  501. display: inline-block;
  502. padding: 2px 4px;
  503. font-size: 12px;
  504. border: 1px solid #339cff;
  505. background-color: #02255f;
  506. border-radius: 4px;
  507. }
  508. .right-td span.out-door{
  509. background-color: transparent;
  510. border-color: #fd8042;
  511. color: #fd8042;
  512. }