index.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <template>
  2. <div class="header">1111</div>
  3. <div class="container-box">
  4. <div class="left-box lr-box">
  5. <div class="lr-top air-monitor">
  6. </div>
  7. <div class="lr-bottom warning-monitor"></div>
  8. </div>
  9. <div class="center-box ">
  10. <div class="center-container file-list"></div>
  11. </div>
  12. <div class="right-box lr-box">
  13. <div class="lr-top scene-monitor"></div>
  14. <div class="lr-bottom tunnel-statistic">
  15. </div>
  16. </div>
  17. </div>
  18. </template>
  19. <script lang="ts" setup>
  20. </script>
  21. <style lang="less" scoped>
  22. .header {
  23. width: 100%;
  24. height: 100px;
  25. background-color: #ffffff11;
  26. }
  27. .container-box {
  28. height: calc(100% - 32px);
  29. display: flex;
  30. margin: 16px 10px;
  31. .lr-box {
  32. width: 400px;
  33. height: calc(100% - 50px);
  34. position: relative;
  35. top: -50px;
  36. background-color: #ffffff11;
  37. }
  38. .center-box {
  39. flex: 1;
  40. margin: 0 16px;
  41. .center-container {
  42. height: 500px;
  43. position: fixed;
  44. bottom: 0;
  45. background-color: #ffffff11;
  46. }
  47. }
  48. .air-monitor {
  49. .column-header {
  50. width: 100%;
  51. display: flex;
  52. justify-content: center;
  53. color: aqua;
  54. height: 80px;
  55. line-height: 80px;
  56. .header-item {
  57. width: 25%;
  58. text-align: center;
  59. }
  60. }
  61. .column-container {
  62. height: 400px;
  63. overflow-y: auto;
  64. &:hover {
  65. overflow-y: auto;
  66. &>.column-item {
  67. animation-play-state: paused;
  68. // animation: move1 2s linear;
  69. }
  70. }
  71. .column-item {
  72. width: 100%;
  73. display: flex;
  74. justify-content: center;
  75. color: #fff;
  76. height: 60px;
  77. animation: move 10s linear infinite;
  78. .item-column {
  79. width: 25%;
  80. text-align: center;
  81. }
  82. }
  83. }
  84. @keyframes move {
  85. 0% {
  86. transform: translateY(0px);
  87. }
  88. 100% {
  89. transform: translateY(-269px);
  90. }
  91. }
  92. @keyframes move1 {
  93. 0% {
  94. transform: translateY(0px);
  95. }
  96. }
  97. }
  98. }</style>