index.vue 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <template>
  2. <div class="company-home">
  3. <div class="top-bg">
  4. <div class="main-title">{{ mainTitle }}</div>
  5. </div>
  6. <div class="company-content">
  7. <div class="area-content">
  8. <div class="left-area">
  9. <!-- 矿井通风状态监测 -->
  10. <div class="area-card">
  11. <mineWind />
  12. </div>
  13. <!-- 一通三防风险分析与预警 -->
  14. <div class="area-card1">
  15. <riskWarn />
  16. </div>
  17. </div>
  18. <div class="center-area">
  19. <!-- 地图底图 -->
  20. <div class="center-bg">
  21. <div class="bg-map">
  22. <iconLight />
  23. </div>
  24. </div>
  25. <!-- 榆家梁矿 -->
  26. <!-- <div class="area-card2">
  27. </div> -->
  28. <!-- 文件共享中心 -->
  29. <div class="area-card3">
  30. <fileShare />
  31. </div>
  32. </div>
  33. <div class="right-area">
  34. <!-- 关键场景通防综合监测 -->
  35. <div class="area-card">
  36. <sceneKey />
  37. </div>
  38. <!-- 通风巷道长度统计 -->
  39. <div class="area-card1">
  40. <windRoad />
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </template>
  47. <script lang="ts" setup>
  48. import { ref } from 'vue';
  49. import mineWind from './components/mine-wind.vue';
  50. import riskWarn from './components/risk-warn.vue';
  51. import fileShare from './components/file-share.vue';
  52. import mapComponent from './components/3Dmap/index.vue';
  53. import windRoad from './components/wind-road.vue';
  54. import sceneKey from './components/scene-key.vue';
  55. import iconLight from './components/icon-light.vue';
  56. // import mapComponent from './components/3Dmap/index.vue';
  57. let mainTitle = ref('国家能源神东煤炭集团');
  58. function showDetail(code) {
  59. if (code) {
  60. // isShowDialog.value = true;
  61. }
  62. }
  63. </script>
  64. <style lang="less" scoped>
  65. @font-face {
  66. font-family: 'douyuFont';
  67. src: url('../../../../assets/font/douyuFont.otf');
  68. }
  69. // @font-face {
  70. // font-family: 'yjsz';
  71. // src: url('../../../../assets/font/yjsz.TTF');
  72. // }
  73. .company-home {
  74. width: 100%;
  75. height: 100%;
  76. position: relative;
  77. background: url('../../../../assets/images/company/home-pageBg.png') no-repeat center;
  78. background-size: 100% 100%;
  79. .top-bg {
  80. width: 100%;
  81. height: 97px;
  82. background: url('../../../../assets/images/company/top-bg.png') no-repeat center;
  83. position: absolute;
  84. z-index: 1;
  85. .main-title {
  86. height: 96px;
  87. color: #fff;
  88. font-family: 'douyuFont';
  89. font-size: 20px;
  90. letter-spacing: 2px;
  91. display: flex;
  92. justify-content: center;
  93. align-items: center;
  94. }
  95. }
  96. .company-content {
  97. position: absolute;
  98. left: 0;
  99. top: 0;
  100. width: 100%;
  101. height: 100%;
  102. background: url('../../../../assets/images/company/content-bg.png') no-repeat;
  103. background-size: 100% 100%;
  104. pointer-events: none;
  105. .area-content {
  106. position: absolute;
  107. top: 45px;
  108. width: 100%;
  109. height: calc(100% - 45px);
  110. padding: 0px 20px 20px 20px;
  111. box-sizing: border-box;
  112. display: flex;
  113. justify-content: space-between;
  114. // pointer-events: none;
  115. .left-area {
  116. width: 23%;
  117. height: 100%;
  118. margin-right: 15px;
  119. display: flex;
  120. flex-direction: column;
  121. justify-content: space-between;
  122. align-items: center;
  123. // pointer-events: auto;
  124. .area-card {
  125. width: 100%;
  126. height: calc(60% - 15px);
  127. margin-bottom: 15px;
  128. background: url('../../../../assets/images/company/area-card.png') no-repeat;
  129. background-size: 100% 100%;
  130. }
  131. .area-card1 {
  132. width: 100%;
  133. height: 40%;
  134. background: url('../../../../assets/images/company/area-card1.png') no-repeat;
  135. background-size: 100% 100%;
  136. }
  137. }
  138. .center-area {
  139. width: calc(54% - 30px);
  140. height: 100%;
  141. position: relative;
  142. .center-bg {
  143. position: absolute;
  144. bottom: 269px;
  145. left: 50%;
  146. transform: translate(-50%, 0);
  147. height: calc(100% - 325px);
  148. width: 100%;
  149. background: url('../../../../assets/images/company/home-dz.png') no-repeat center;
  150. background-position: 50% 90%;
  151. .bg-map {
  152. width: 100%;
  153. height: 100%;
  154. background: url('../../../../assets/images/company/home-map.png') no-repeat center;
  155. background-size: 100% 100%;
  156. }
  157. }
  158. .area-card2 {
  159. position: absolute;
  160. right: 0;
  161. top: 62px;
  162. width: 568px;
  163. height: 437px;
  164. background: url('../../../../assets/images/company/area-card2.png') no-repeat;
  165. background-size: 100% 100%;
  166. // pointer-events: auto;
  167. }
  168. .area-card3 {
  169. position: absolute;
  170. right: 0;
  171. bottom: 0px;
  172. width: 100%;
  173. height: 269px;
  174. background: url('../../../../assets/images/company/area-card3.png') no-repeat;
  175. background-size: 100% 100%;
  176. }
  177. }
  178. .right-area {
  179. width: 23%;
  180. height: 100%;
  181. margin-left: 15px;
  182. display: flex;
  183. flex-direction: column;
  184. justify-content: space-between;
  185. align-items: center;
  186. // pointer-events: auto;
  187. .area-card {
  188. width: 100%;
  189. height: calc(60% - 15px);
  190. margin-bottom: 15px;
  191. background: url('../../../../assets/images/company/area-card.png') no-repeat;
  192. background-size: 100% 100%;
  193. }
  194. .area-card1 {
  195. width: 100%;
  196. height: 40%;
  197. background: url('../../../../assets/images/company/area-card1.png') no-repeat;
  198. background-size: 100% 100%;
  199. }
  200. }
  201. }
  202. }
  203. }
  204. </style>