index1.vue 6.1 KB

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