778b7e00 by 任超

feat:引入配置文件

2 parents 0752255d f55854f3
<!--
* @Description:
* @Description: 引入配置文件
* @Autor: renchao
* @LastEditTime: 2023-03-15 14:48:13
* @LastEditTime: 2023-03-15 16:17:17
-->
<!DOCTYPE html>
<html>
......@@ -24,7 +24,7 @@
</html>
<script>
document.write("<s" + "cript type='text/javascript' src='./dist/config.js?" + Math.random().toString(36).substr(2) + "'></scr" + "ipt>");
document.write("<s" + "cript type='text/javascript' src='./config.js?" + Math.random().toString(36).substr(2) + "'></scr" + "ipt>");
window.baseUrl = location.origin || location.protocol + '//' + location.host
// window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR';
// window.authorization = 'bearer AT-223-c-Q86EHx75m7ig3EDf-SwMWl4U0AKn0b';
......
<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>
......
......@@ -11,9 +11,9 @@
</template>
<script>
import maps from "@/components/Echart/Map";
import brokenline from "@/components/Echart/Brokenline";
export default {
import maps from "@/components/Echart/Map";
import brokenline from "@/components/Echart/Brokenline";
export default {
data () {
return {};
},
......@@ -21,12 +21,12 @@
mounted () { },
beforeDestroy () { },
methods: {},
};
};
</script>
<style lang="scss" scoped>
.centercard {
width: 44%;
.centercard {
width: 40%;
height: calc(100vh - 114px);
box-sizing: border-box;
padding: 0 0.0521rem;
......@@ -75,10 +75,11 @@
text-align: center;
margin-bottom: 0.0521rem;
}
.brokenline {
margin: auto;
width: 100%;
}
}
}
}
</style>
......
......@@ -118,7 +118,7 @@ export default {
<style lang="scss" scoped>
.leftcard {
width: 32%;
width: 30%;
display: flex;
height: calc(100vh - 114px);
flex-direction: column;
......
......@@ -19,10 +19,10 @@
</template>
<script>
import columnarsmat from "@/components/Echart/Columnarsmat";
import Rose from "@/components/Echart/Rose";
import work from "@/api/work";
export default {
import columnarsmat from "@/components/Echart/Columnarsmat";
import Rose from "@/components/Echart/Rose";
import work from "@/api/work";
export default {
data () {
return {
config: {
......@@ -70,15 +70,15 @@
},
},
}
}
</script>
<style lang="scss" scoped>
/deep/.row-item:not(:last-child) {
/deep/.row-item:not(:last-child) {
margin-bottom: 0.026rem;
}
}
.rightcard {
width: 32%;
.rightcard {
width: 30%;
display: flex;
height: calc(100vh - 114px);
flex-direction: column;
......@@ -121,20 +121,24 @@
height: 33%;
background: url("~@/image/xjgyfwxx.png") no-repeat;
background-size: 100% 100%;
/deep/.dv-scroll-board {
.header {
height: 0.1875rem;
align-items: center;
}
}
.board {
width: 90%;
margin: 0 auto;
height: 1.1031rem;
margin-top: 0.0521rem;
/deep/.header {
font-size: 0.0738rem;
}
/deep/.rows {
.ceil {
font-size: 0.0738rem;
......@@ -167,5 +171,5 @@
.cardhead {
position: absolute;
}
}
}
</style>
......