f6216528 by 任超

style;首页样式修改

1 parent e4a5d48e
<template>
<!-- 地图 -->
<Echart
id="centreLeft2Chart"
class="centreLeft2Chart"
:key="key"
ref="centreLeft2ChartRef"
width="100%"
height="100%"
<Echart id="centreLeft2Chart" class="centreLeft2Chart" :key="key" ref="centreLeft2ChartRef" width="100%" height="100%"
:options="options"></Echart>
</template>
<script>
import Echart from "@/common/echart";
import { mapGetters } from "vuex";
export default {
import Echart from "@/common/echart";
import { mapGetters } from "vuex";
export default {
data () {
return {
options: {},
......@@ -34,7 +28,6 @@
},
},
mounted () {
window.addEventListener("resize", () => {
this.key++;
});
......@@ -79,7 +72,7 @@
visualMap: {
min: 0,
max: _this.max,
bottom: "13%",
bottom: "12%",
left: 50,
splitNumber: 6,
seriesIndex: [0],
......@@ -255,6 +248,6 @@
});
},
},
};
};
</script>
<style></style>
......
......@@ -78,7 +78,7 @@ export default {
}
.rightcard {
width: 30%;
width: 32%;
display: flex;
height: calc(100vh - 114px);
flex-direction: column;
......