Merge branch 'main' of http://47.109.205.240:3000/Web/digital-agriculture-screen
This commit is contained in:
commit
123493202c
@ -39,7 +39,7 @@ const router = useRouter();
|
||||
onMounted(() => {
|
||||
handleWidth();
|
||||
});
|
||||
const emit = defineEmits(['changeTitle']);
|
||||
// const emit = defineEmits(['changeTitle']);
|
||||
const props = defineProps({
|
||||
titles: {
|
||||
type: Array,
|
||||
@ -109,7 +109,7 @@ function handleTitleBtn(t = -1) {
|
||||
}
|
||||
function handleTitleClick(val) {
|
||||
activeTitle.value = val;
|
||||
emit('changeTitle', val);
|
||||
// emit('changeTitle', val);
|
||||
router.push({ name: val });
|
||||
}
|
||||
</script>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<section class="_contaioner">
|
||||
<custom-scroll-title class="header_titles" @change-title="handleChangeTitle" />
|
||||
<custom-scroll-title class="header_titles" />
|
||||
<section class="_content">
|
||||
<router-view />
|
||||
</section>
|
||||
|
@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div class="data-home-index">
|
||||
<el-row style="width: 100%; height: 100%">
|
||||
<el-row style="width: 100%; height: 100%" class="data-home-index">
|
||||
<el-col :span="6" class="left-charts">
|
||||
<div class="left-charts-item">
|
||||
<customBack top-title="耕地面积统计" :top-postion="'left'">
|
||||
@ -51,7 +50,6 @@
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import centerMap from '@/components/centerMap.vue';
|
||||
@ -61,7 +59,6 @@ import landareaCharts from './components/landareaCharts.vue';
|
||||
import landCirculation from './components/landCirculation.vue';
|
||||
import landPlan from './components/landPlan.vue';
|
||||
import landPatrol from './components/landPatrol.vue';
|
||||
import { reactive } from 'vue';
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.data-home-index {
|
||||
|
Loading…
x
Reference in New Issue
Block a user