2025-03-27 16:04:07 +08:00

88 lines
2.8 KiB
Vue

<template>
<div class="data-home-index">
<baseBg :name-val="'early'" top-title="产业预警管理系统">
<template #center>
<el-row style="width: 100%; height: 100%">
<el-col :span="6" class="left-charts">
<div class="left-charts-item">
<customBack top-title="舆情数据统计" :top-postion="'left'">
<template #back>
<popularFeelings></popularFeelings>
</template>
</customBack>
</div>
<div class="left-charts-item">
<customBack top-title="追溯主体统计" :top-postion="'left'">
<template #back>
<backToCharts></backToCharts>
</template>
</customBack>
</div>
<div class="left-charts-item">
<customBack top-title="追溯产品分类" :top-postion="'left'">
<template #back>
<productTypeWordClould></productTypeWordClould>
</template>
</customBack>
</div>
</el-col>
<el-col :span="12">
<centerMap></centerMap>
</el-col>
<el-col :span="6" class="right-charts">
<div class="right-charts-item" style="height: 67%">
<customBack top-title="农场品实时价格" :top-postion="'right'">
<template #back>
<realTimePrice></realTimePrice>
</template>
</customBack>
</div>
<div class="right-charts-item" style="height: 33%">
<customBack top-title="农产品价格数据分析" :top-postion="'right'">
<template #back>
<priceCharts></priceCharts>
</template>
</customBack>
</div>
</el-col>
</el-row>
</template>
</baseBg>
</div>
</template>
<script setup>
import centerMap from '@/components/centerMap.vue';
import backToCharts from './components/backToCharts.vue';
import productTypeWordClould from './components/productTypeWordClould.vue';
import priceCharts from './components/priceCharts.vue';
import realTimePrice from './components/realTimePrice.vue';
import popularFeelings from './components/popularFeelings.vue';
</script>
<style lang="scss" scoped>
.data-home-index {
.left-charts {
display: flex;
justify-content: space-around;
width: 100%;
height: 100%;
flex-direction: column;
}
.left-charts-item {
width: 100%;
height: calc((100% - 30px) / 3);
}
.right-charts {
display: flex;
justify-content: space-around;
width: 100%;
height: 100%;
flex-direction: column;
}
.right-charts-item {
width: 100%;
height: calc((100% - 30px) / 3);
}
}
</style>