index.vue 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <template>
  2. <div class="guard_flow">
  3. <layout>
  4. <template #left>
  5. <div class="left_guard_flow">
  6. <div style="height: 500px;">
  7. <HeadlineTag value="门禁设备"></HeadlineTag>
  8. <div class="box_arch">
  9. <equipment></equipment>
  10. </div>
  11. </div>
  12. <div class="flex_spection">
  13. <HeadlineTag value="非法侵入统计"></HeadlineTag>
  14. <div class="box_arch">
  15. <inbreak></inbreak>
  16. </div>
  17. </div>
  18. </div>
  19. </template>
  20. <template #right>
  21. <div class="right_guard_flow">
  22. <div class="flex_spection">
  23. <HeadlineTag type="right" value="今日通行数据概览"></HeadlineTag>
  24. <div class="box_arch">
  25. <passable></passable>
  26. </div>
  27. </div>
  28. <div class="flex_spection">
  29. <HeadlineTag type="right" value="出入记录统计"></HeadlineTag>
  30. <div class="box_arch">
  31. <alleyway></alleyway>
  32. </div>
  33. </div>
  34. <div class="flex_spection">
  35. <HeadlineTag type="right" value="实时告警与通知"></HeadlineTag>
  36. <div class="box_arch">
  37. <inform></inform>
  38. </div>
  39. </div>
  40. </div>
  41. </template>
  42. </layout>
  43. </div>
  44. </template>
  45. <script setup>
  46. import layout from "@/components/layout_/index.vue";
  47. import HeadlineTag from '@/components/HeadlineTag'
  48. import alleyway from './alleyway'
  49. import equipment from './equipment'
  50. import inbreak from './inbreak'
  51. import passable from './passable'
  52. import inform from './inform'
  53. </script>
  54. <style scoped lang="scss">
  55. .guard_flow {
  56. position: relative;
  57. width: 100%;
  58. height: 100%;
  59. overflow: hidden;
  60. }
  61. .left_guard_flow {
  62. position: absolute;
  63. left: 0;
  64. width: 100%;
  65. height: 100%;
  66. display: flex;
  67. flex-direction: column;
  68. }
  69. .right_guard_flow {
  70. position: absolute;
  71. right: 0;
  72. width: 100%;
  73. height: 100%;
  74. display: flex;
  75. flex-direction: column;
  76. }
  77. .flex_spection {
  78. flex: 1;
  79. color: #fff;
  80. }
  81. .box_arch {
  82. width: 100%;
  83. height: calc(100% - 40px);
  84. }
  85. </style>