index.vue 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <template>
  2. <div class="container">
  3. <div class="top">
  4. <Header></Header>
  5. </div>
  6. <div class="content">
  7. <div class="left">
  8. <div class="left-card">
  9. <Yjwzfl></Yjwzfl>
  10. </div>
  11. <div class="left-card">
  12. <Wzkytj></Wzkytj>
  13. </div>
  14. <div class="left-card">
  15. <Wzdyqk></Wzdyqk>
  16. </div>
  17. </div>
  18. <div class="center">
  19. <div class="title">
  20. <div class="title-item">
  21. <p class="num">103</p>
  22. <p class="titlename">应急物资库区数量(个)</p>
  23. </div>
  24. <div class="title-item">
  25. <p class="num">6656</p>
  26. <p class="titlename">储备物资库总价值(亿元)</p>
  27. </div>
  28. <div class="title-item">
  29. <p class="num">9656</p>
  30. <p class="titlename">累计救援物资价值(亿元)</p>
  31. </div>
  32. </div>
  33. <div class="map">
  34. <Map></Map>
  35. </div>
  36. </div>
  37. <div class="right">
  38. <div class="right-card">
  39. <Wzcrktj></Wzcrktj>
  40. </div>
  41. <div class="right-card">
  42. <Wzsyqkpm></Wzsyqkpm>
  43. </div>
  44. <div class="right-card">
  45. <Wzshtj></Wzshtj>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. </template>
  51. <script setup lang="ts">
  52. import Header from '@/views/DataVisualization/home/components/header.vue';
  53. import Map from '@/views/DataVisualization/home/components/map.vue'
  54. import Yjwzfl from '@/views/DataVisualization/home/components/yjwzfl.vue'
  55. import Wzshtj from '@/views/DataVisualization/home/components/wzshtj.vue'
  56. import Wzkytj from '@/views/DataVisualization/home/components/wzkytj.vue'
  57. import Wzdyqk from '@/views/DataVisualization/home/components/wzdyqk.vue'
  58. import Wzcrktj from '@/views/DataVisualization/home/components/wzcrktj.vue'
  59. import Wzsyqkpm from '@/views/DataVisualization/home/components/wzsyqkpm.vue'
  60. </script>
  61. <style scoped>
  62. .container {
  63. width: 100%;
  64. height: 100%;
  65. background: url("@/assets/DataVisualization/bg.png") no-repeat;
  66. background-size: 100% 100%;
  67. display: flex;
  68. flex-direction: column;
  69. }
  70. .container .top {
  71. width: 100%;
  72. height: 64px;
  73. text-align: center;
  74. font-size: 24px;
  75. font-weight: 700;
  76. font-family: "黑体";
  77. }
  78. .container .content {
  79. flex: 1;
  80. width: 100%;
  81. /* height: 100%; */
  82. display: flex;
  83. overflow: hidden;
  84. justify-content: space-around;
  85. }
  86. .container .content .center .title {
  87. width: 100%;
  88. height: 20%;
  89. display: flex;
  90. justify-content: space-between;
  91. overflow: hidden;
  92. margin-top: 20px;
  93. }
  94. .container .content .center .title .title-item {
  95. width:33%;
  96. height: 160px;
  97. text-align: center;
  98. background: url("@/assets/DataVisualization/bg-dz.png") no-repeat;
  99. background-size: 100% 100%;
  100. text-align: center;
  101. }
  102. .container .content .center .title .num {
  103. font-size: 36px;
  104. color: white;
  105. text-align: center;
  106. font-weight: 700;
  107. margin-top: 60px;
  108. font-family: "黑体";
  109. background: linear-gradient(to bottom, #ffffff, rgb(29, 233, 234));
  110. -webkit-background-clip: text;
  111. -webkit-text-fill-color: transparent;
  112. }
  113. .container .content .center .title .titlename {
  114. font-size: 18px;
  115. color: white;
  116. text-align: center;
  117. font-weight: 700;
  118. font-family: "黑体";
  119. opacity: 0.6;
  120. }
  121. .container .content .center .map {
  122. width: 100%;
  123. height: 80%;
  124. }
  125. .container .content .left {
  126. /* background: skyblue; */
  127. width: 30%;
  128. height: 100%;
  129. display: flex;
  130. flex-direction: column;
  131. justify-content: space-around;
  132. }
  133. .container .content .left .left-card {
  134. width: 100%;
  135. height: 33%;
  136. /* background: pink; */
  137. background: url("@/assets/DataVisualization/外框.png") no-repeat;
  138. background-size: 100% 100%;
  139. }
  140. .container .content .right {
  141. /* background: skyblue; */
  142. width: 30%;
  143. height: 100%;
  144. display: flex;
  145. flex-direction: column;
  146. justify-content: space-around;
  147. }
  148. .container .content .right .right-card {
  149. width: 100%;
  150. height: 33%;
  151. background: url("@/assets/DataVisualization/外框.png") no-repeat;
  152. background-size: 100% 100%;
  153. }
  154. .container .content .center {
  155. width: 40%;
  156. height: 100%;
  157. }
  158. </style>