index.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <template>
  2. <div class="map-container">
  3. <Header>配网安全精益管理辅助应用</Header>
  4. <el-row :gutter="10">
  5. <el-col :span="12" class="h-full-calc">
  6. <el-card class="h-48">
  7. <PointsRanking></PointsRanking>
  8. </el-card>
  9. <el-card class="h-48 mt-10">
  10. <TargetSituation height="100%"></TargetSituation>
  11. <!-- <MapView></MapView> -->
  12. </el-card>
  13. </el-col>
  14. <el-col :span="12" class="h-full-calc">
  15. <el-card>
  16. <MapHy></MapHy>
  17. </el-card>
  18. <!-- <el-card class="h-40">
  19. <RiskIdentification height="95%"></RiskIdentification>
  20. </el-card> -->
  21. <!-- <el-card class="h-60 mt-10">
  22. <TargetSituation height="100%"></TargetSituation>
  23. </el-card> -->
  24. </el-col>
  25. </el-row>
  26. </div>
  27. </template>
  28. <script>
  29. import MapHy from "./components/map/index.vue";
  30. import TargetSituation from "./components/TargetSituation/index.vue";
  31. import RiskIdentification from "./components/RiskIdentification/index.vue";
  32. import PointsRanking from "./components/PointsRanking/index.vue";
  33. import TargetMonth from "./components/TargetMonth/index.vue";
  34. import Header from "./components/Header.vue";
  35. // import MapView from "../map-view/MapView.vue";
  36. export default {
  37. components: {
  38. TargetMonth,
  39. TargetSituation,
  40. RiskIdentification,
  41. MapHy,
  42. PointsRanking,
  43. Header,
  44. // MapView,
  45. },
  46. data() {
  47. return {
  48. chartOptions1: {
  49. data: [],
  50. },
  51. chartOptions2: {
  52. xData: [],
  53. data: [],
  54. },
  55. };
  56. },
  57. methods: {},
  58. };
  59. </script>
  60. <style lang="scss" scoped>
  61. .mt-10 {
  62. margin-top: 10px;
  63. }
  64. .map-container {
  65. width: 100%;
  66. overflow-x: hidden;
  67. // height: 100vh;
  68. padding: 15px;
  69. // position: relative;
  70. background-image: url("../../assets/images/bg3.409270cc.jpg");
  71. background-repeat: no-repeat;
  72. background-position: center center;
  73. background-size: cover;
  74. // background-size: 100% 100%;
  75. }
  76. .h-full-calc {
  77. // height: calc(100vh - 30px);
  78. height: calc(100vh - 90px);
  79. }
  80. .mt-10 {
  81. margin-top: 10px;
  82. }
  83. .c-title {
  84. border-left: 4px solid #000;
  85. }
  86. .el-card {
  87. height: 100%;
  88. }
  89. .h-40 {
  90. height: calc(33% - 5px);
  91. }
  92. .h-60 {
  93. width: 100%;
  94. height: calc(67% - 5px);
  95. }
  96. .h-48 {
  97. height: calc(50% - 5px);
  98. }
  99. ::v-deep {
  100. .el-card__body {
  101. height: 100%;
  102. // border: 1px solid #1b3166;
  103. background-image: url("../../assets/images/card_bg.png");
  104. // background-color: rgba(0, 34, 51, 0.6);
  105. background-repeat: no-repeat;
  106. background-size: 100% 100%;
  107. }
  108. .el-card {
  109. border: none;
  110. background-color: rgba(11, 42, 96, 0);
  111. }
  112. .el-table {
  113. background-color: transparent;
  114. color: white;
  115. }
  116. .el-table tr {
  117. background-color: transparent !important;
  118. }
  119. .el-table th {
  120. color: white;
  121. background-color: transparent !important;
  122. }
  123. .el-loading-mask {
  124. background-color: transparent !important;
  125. }
  126. /* 修改下拉框默认状态下的背景色 */
  127. .el-select,
  128. .el-date-editor {
  129. .el-input__inner {
  130. color: #fff !important;
  131. background-color: #00a4ff !important;
  132. border: none !important;
  133. }
  134. }
  135. .el-select-dropdown__list {
  136. background-color: #00a4ff !important;
  137. }
  138. .el-range-editor,
  139. .el-range-input,
  140. .el-range-separator {
  141. color: #fff !important;
  142. background-color: #00a4ff !important;
  143. border: none !important;
  144. }
  145. /* 修改下拉框悬停时的背景色 */
  146. .el-select-dropdown__item.hover,
  147. .el-select-dropdown__item:hover {
  148. background-color: #00a4ff !important;
  149. }
  150. }
  151. </style>