92 lines
3.0 KiB
Vue
Raw Normal View History

2025-03-14 17:52:05 +08:00
<template>
<div class="data-home-index">
2025-03-19 14:47:11 +08:00
<baseBg :name-val="'plant'" top-title="智慧种植管理系统">
2025-03-14 17:52:05 +08:00
<template #center>
<el-row style="width: 100%; height: 100%">
<el-col :span="6" class="left-charts">
2025-03-20 14:55:37 +08:00
<div class="left-charts-item">
<customBack top-title="智慧种植种类分析" :top-postion="'left'">
<template #back>
<plantTypeCharts></plantTypeCharts>
</template>
</customBack>
</div>
<div class="left-charts-item">
<customBack top-title="昆虫害监测" :top-postion="'left'">
<template #back></template>
</customBack>
</div>
<div class="left-charts-item">
<customBack top-title="病理害监测" :top-postion="'left'">
<template #back></template>
</customBack>
</div>
</el-col>
<el-col :span="12">
<el-row style="height: 60%">
<el-col :span="24"> 1-1</el-col>
</el-row>
<el-row style="height: 40%">
<el-col :span="12">
<customBack top-title="水肥检测分析" :top-postion="'left'"> <template #back></template> </customBack>
</el-col>
<el-col :span="12">
<customBack top-title="智慧水肥灌溉" :top-postion="'right'"> <template #back></template> </customBack>
</el-col>
</el-row>
2025-03-14 17:52:05 +08:00
</el-col>
<el-col :span="6" class="right-charts">
2025-03-20 14:55:37 +08:00
<div class="right-charts-item">
<customBack top-title="智慧监控 A区 QQI" :top-postion="'right'">
<template #back></template>
</customBack>
</div>
<div class="right-charts-item">
<customBack top-title="种植产量分析" :top-postion="'right'">
<template #back></template>
</customBack>
</div>
<div class="right-charts-item">
<customBack top-title="水质检测分析" :top-postion="'right'">
<template #back></template>
</customBack>
</div>
2025-03-14 17:52:05 +08:00
</el-col>
</el-row>
</template>
</baseBg>
</div>
</template>
<script setup>
import baseBg from '@/components/baseBg.vue';
2025-03-20 14:55:37 +08:00
import customBack from '@/components/customBack.vue';
import plantTypeCharts from './components/plantTypeCharts.vue';
2025-03-14 17:52:05 +08:00
</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>