index.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <template>
  2. <div class="company-home">
  3. <div class="top-bg">
  4. <div class="main-title">{{ mainTitle }}</div>
  5. </div>
  6. <a-dropdown class="module-dropdown" :trigger="['click']" placement="bottomRight">
  7. <a class="ant-dropdown-link" @click.prevent>
  8. 全矿井通风检测
  9. <CaretDownOutlined />
  10. </a>
  11. <template #overlay>
  12. <MonitorCenter />
  13. </template>
  14. </a-dropdown>
  15. <div class="module-left-wrapper">
  16. <ModuleLeft class="module-left" title="局部通风机监测">
  17. <SubVentilate />
  18. </ModuleLeft>
  19. <ModuleLeft class="module-left" title="主通风机监测">
  20. <Ventilate />
  21. </ModuleLeft>
  22. <ModuleLeft class="module-left" title="通风设施远程控制">
  23. <VentilateControl />
  24. </ModuleLeft>
  25. </div>
  26. <div class="module-bottom-wrapper">
  27. <ModuleBottom class="module-bottom" title="矿井风量实时监测">
  28. <AirVolumeMonitor />
  29. </ModuleBottom>
  30. </div>
  31. <div class="module-right-wrapper">
  32. <ModuleRight class="module-right" title="通风系统监测与分析">
  33. <VentilateAnalysis />
  34. </ModuleRight>
  35. <ModuleRight class="module-right" title="采煤工作面智能管控">
  36. <WorkSurface />
  37. </ModuleRight>
  38. <ModuleRight class="module-right" title="设备告警">
  39. <DeviceWarning />
  40. </ModuleRight>
  41. </div>
  42. </div>
  43. </template>
  44. <script lang="ts" setup>
  45. import { computed, ref } from 'vue';
  46. import ModuleLeft from './components/moduleLeft.vue';
  47. import ModuleRight from './components/moduleRight.vue';
  48. import ModuleBottom from './components/moduleBottom.vue';
  49. import SubVentilate from './components/SubVentilate.vue';
  50. import Ventilate from './components/Ventilate.vue';
  51. import { CaretDownOutlined } from '@ant-design/icons-vue';
  52. import VentilateControl from './components/VentilateControl.vue';
  53. import AirVolumeMonitor from './components/AirVolumeMonitor.vue';
  54. import VentilateAnalysis from './components/VentilateAnalysis.vue';
  55. import WorkSurface from './components/WorkSurface.vue';
  56. import DeviceWarning from './components/DeviceWarning.vue';
  57. import MonitorCenter from './components/MonitorCenter.vue';
  58. // import mapComponent from './components/3Dmap/index.vue';
  59. const mainTitle = ref('智能通风管控系统');
  60. </script>
  61. <style lang="less" scoped>
  62. @font-face {
  63. font-family: 'douyuFont';
  64. src: url('../../../../assets/font/douyuFont.otf');
  65. }
  66. .company-home {
  67. width: 100%;
  68. height: 100%;
  69. color: @white;
  70. position: relative;
  71. .top-bg {
  72. width: 100%;
  73. height: 56px;
  74. background: url('@/assets/images/home-container/configurable/main_title_bg.png') no-repeat center;
  75. position: absolute;
  76. z-index: 1;
  77. .main-title {
  78. height: 56px;
  79. font-family: 'douyuFont';
  80. font-size: 20px;
  81. letter-spacing: 2px;
  82. display: flex;
  83. justify-content: center;
  84. align-items: center;
  85. }
  86. }
  87. .module-left-wrapper {
  88. position: absolute;
  89. top: 50px;
  90. left: 0;
  91. .module-left {
  92. width: 450px;
  93. height: 280px;
  94. margin-top: 10px;
  95. }
  96. }
  97. .module-right-wrapper {
  98. position: absolute;
  99. top: 50px;
  100. right: 0;
  101. .module-right {
  102. width: 450px;
  103. height: 280px;
  104. margin-top: 10px;
  105. }
  106. }
  107. .module-bottom-wrapper {
  108. position: absolute;
  109. bottom: 10px;
  110. left: 460px;
  111. .module-bottom {
  112. width: 1000px;
  113. height: 280px;
  114. }
  115. }
  116. .module-dropdown {
  117. padding: 10px;
  118. background-image: linear-gradient(to bottom, #036886, #072a40);
  119. border-bottom: 2px solid #3df6ff;
  120. color: #fff;
  121. position: absolute;
  122. top: 70px;
  123. right: 460px;
  124. }
  125. }
  126. </style>