Commit 78c85bad by heshihao

feat: 修改平面地图

parent 5ad4fe3b
...@@ -5,8 +5,9 @@ ...@@ -5,8 +5,9 @@
<!-- <div :class="['whole', activeDistrict == '晋城市' ? 'active' : '']" @click="changeActive('晋城市')"> <!-- <div :class="['whole', activeDistrict == '晋城市' ? 'active' : '']" @click="changeActive('晋城市')">
晋城市总览 晋城市总览
</div> --> </div> -->
<div class="chart-box"> <div class="chart-box1 chart-box">
<div class="chart" ref="chartMap"></div> <img src="@/assets/images/index/0318-02.jpg" alt="" style="width:650px" />
<!-- <div class="chart" ref="chartMap"></div> -->
</div> </div>
</div> </div>
</div> </div>
...@@ -780,7 +781,7 @@ export default { ...@@ -780,7 +781,7 @@ export default {
this.activeDistrict = this.disabled_district_name || "满城区"; this.activeDistrict = this.disabled_district_name || "满城区";
this.$bus.$emit("setActive", "assess"); this.$bus.$emit("setActive", "assess");
this.initChartMap(); // this.initChartMap();
this.initChartsBar(); this.initChartsBar();
this.ShowCarrierRate(); this.ShowCarrierRate();
this.ShowCarrierEnergy(); this.ShowCarrierEnergy();
...@@ -2156,6 +2157,10 @@ span { ...@@ -2156,6 +2157,10 @@ span {
height: 100%; height: 100%;
} }
.chart-box.chart-box1 {
// background: #213764;
}
.right-popover .pop-title { .right-popover .pop-title {
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
......
...@@ -58,8 +58,9 @@ ...@@ -58,8 +58,9 @@
<!-- <div :class="['jin', district == '晋城市' ? 'active' : '']" @click="changeDistrict"> <!-- <div :class="['jin', district == '晋城市' ? 'active' : '']" @click="changeDistrict">
晋城市 晋城市
</div> --> </div> -->
<img src="@/assets/images/index/0318-02.jpg" alt="" style="width:380px" />
<div class="chart" ref="chart_map"></div> <!-- <div class="chart" ref="chart_map"></div> -->
</div> </div>
<div class="list"> <div class="list">
<div class="list-title"> <div class="list-title">
...@@ -274,10 +275,11 @@ export default { ...@@ -274,10 +275,11 @@ export default {
chartMap: null, chartMap: null,
district: "晋城市", district: "晋城市",
activeType: 1, activeType: 1,
chart_map: null,
}; };
}, },
mounted() { mounted() {
this.initChartMap(); // this.initChartMap();
this.getOverview(); this.getOverview();
this.getData(); this.getData();
}, },
...@@ -763,6 +765,7 @@ table { ...@@ -763,6 +765,7 @@ table {
position: relative; position: relative;
flex: 1; flex: 1;
height: 100%; height: 100%;
margin-left: 80px;
.chart { .chart {
width: 100%; width: 100%;
height: 100%; height: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment