2023-11-22 18:30:06 +08:00
|
|
|
<template>
|
2023-11-25 18:35:23 +08:00
|
|
|
<div class="box" :style="{ opacity: loading ? 0 : 1 }">
|
2023-11-23 19:39:47 +08:00
|
|
|
<div class="body">
|
|
|
|
<div class="l">
|
2023-12-07 19:05:27 +08:00
|
|
|
<topLeft :areaCodes="areaCodes" />
|
2023-11-23 19:39:47 +08:00
|
|
|
</div>
|
|
|
|
<div class="c" id="">
|
2023-12-07 19:05:27 +08:00
|
|
|
<topCenter :areaCodes="areaCodes"></topCenter>
|
2023-11-23 19:39:47 +08:00
|
|
|
</div>
|
|
|
|
<div class="r">
|
2023-12-07 19:05:27 +08:00
|
|
|
<topRight :areaCodes="areaCodes"></topRight>
|
2023-11-23 19:39:47 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="foot">
|
|
|
|
<div class="foot-l">
|
2023-12-07 19:05:27 +08:00
|
|
|
<bottomLeft :areaCodes="areaCodes"></bottomLeft>
|
2023-11-23 19:39:47 +08:00
|
|
|
</div>
|
|
|
|
<div class="c">
|
2023-12-07 19:05:27 +08:00
|
|
|
<bottomCenter :areaCodes="areaCodes"></bottomCenter>
|
2023-11-23 19:39:47 +08:00
|
|
|
</div>
|
|
|
|
<div class="r">
|
2023-12-07 19:05:27 +08:00
|
|
|
<bottomRight :areaCodes="areaCodes"></bottomRight>
|
2023-11-23 19:39:47 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-22 18:30:06 +08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script setup>
|
|
|
|
|
|
|
|
import { onMounted } from 'vue';
|
|
|
|
import * as echarts from 'echarts';
|
2023-11-23 19:39:47 +08:00
|
|
|
import option from "./option"
|
|
|
|
import { ref, reactive } from "vue"
|
2023-12-07 19:05:27 +08:00
|
|
|
import topLeft from "@/components/index/topLeft.vue"
|
|
|
|
import topCenter from "@/components/index/topCenter.vue"
|
|
|
|
import topRight from "@/components/index/topRight.vue"
|
|
|
|
import bottomLeft from "@/components/index/bottomLeft.vue"
|
|
|
|
import bottomCenter from "@/components/index/bottomCenter.vue"
|
|
|
|
import bottomRight from "@/components/index/bottomRight.vue"
|
|
|
|
|
|
|
|
const areaCodes = reactive({
|
|
|
|
areaCode: 510524,
|
|
|
|
streetCode: 510524100
|
|
|
|
})
|
2023-11-23 19:39:47 +08:00
|
|
|
|
2023-12-07 19:05:27 +08:00
|
|
|
const loading = ref(false)
|
2023-11-23 19:39:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
// 图表
|
2023-12-07 19:05:27 +08:00
|
|
|
// const initCharts = (tag, option) => {
|
|
|
|
// var chartDom = document.getElementById(tag);
|
|
|
|
// var myChart = echarts.init(chartDom);
|
|
|
|
// myChart.setOption(option);
|
|
|
|
// }
|
2023-11-23 19:39:47 +08:00
|
|
|
|
|
|
|
|
2023-11-22 18:30:06 +08:00
|
|
|
onMounted(() => {
|
2023-12-07 19:05:27 +08:00
|
|
|
// console.log(option.transactionUsers)
|
2023-11-23 19:39:47 +08:00
|
|
|
|
2023-12-07 19:05:27 +08:00
|
|
|
// initCharts('transactionUsers', option.transactionUsers)
|
2023-11-22 18:30:06 +08:00
|
|
|
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
<style lang="scss">
|
2023-11-23 19:39:47 +08:00
|
|
|
@keyframes jump {
|
|
|
|
0% {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.body {
|
2023-11-25 18:35:23 +08:00
|
|
|
height: 45vh;
|
2023-11-23 19:39:47 +08:00
|
|
|
display: flex;
|
2023-11-25 18:35:23 +08:00
|
|
|
margin-top: 1vh;
|
|
|
|
justify-content: space-between;
|
2023-11-23 19:39:47 +08:00
|
|
|
|
|
|
|
.l {
|
2023-11-25 18:35:23 +08:00
|
|
|
|
|
|
|
width: 25vw;
|
2023-11-23 19:39:47 +08:00
|
|
|
height: 100%;
|
2023-11-25 18:35:23 +08:00
|
|
|
position: relative;
|
2023-11-23 19:39:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.c {
|
|
|
|
box-sizing: border-box;
|
2023-11-25 18:35:23 +08:00
|
|
|
width: 48vw;
|
2023-11-23 19:39:47 +08:00
|
|
|
height: 100%;
|
2023-11-25 18:35:23 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2023-11-23 19:39:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.r {
|
2023-11-25 18:35:23 +08:00
|
|
|
width: 25vw;
|
2023-11-23 19:39:47 +08:00
|
|
|
height: 100%;
|
2023-11-25 18:35:23 +08:00
|
|
|
position: relative;
|
2023-11-23 19:39:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.foot {
|
2023-11-25 18:35:23 +08:00
|
|
|
margin-top: 1vh;
|
|
|
|
height: 46vh;
|
2023-11-23 19:39:47 +08:00
|
|
|
display: flex;
|
2023-11-25 18:35:23 +08:00
|
|
|
justify-content: space-between;
|
|
|
|
|
2023-11-23 19:39:47 +08:00
|
|
|
|
|
|
|
.foot-l {
|
2023-11-25 18:35:23 +08:00
|
|
|
width: 25vw;
|
2023-11-23 19:39:47 +08:00
|
|
|
height: 100%;
|
2023-11-25 18:35:23 +08:00
|
|
|
position: relative;
|
2023-11-23 19:39:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.c {
|
2023-11-25 18:35:23 +08:00
|
|
|
width: 48vw;
|
|
|
|
position: relative;
|
2023-11-23 19:39:47 +08:00
|
|
|
height: 100%;
|
2023-11-25 18:35:23 +08:00
|
|
|
box-sizing: border-box;
|
2023-11-23 19:39:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.r {
|
2023-11-25 18:35:23 +08:00
|
|
|
width: 25vw;
|
2023-11-23 19:39:47 +08:00
|
|
|
height: 100%;
|
2023-11-25 18:35:23 +08:00
|
|
|
position: relative;
|
2023-11-27 18:34:57 +08:00
|
|
|
}
|
|
|
|
}
|
2023-11-22 18:30:06 +08:00
|
|
|
</style>
|