From 93f13af0728c149997446cf1d6244e482b1ae705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E4=BF=8A=E6=97=AD?= <398847134@qq.com> Date: Thu, 22 May 2025 11:17:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BF=E5=8A=A1=E5=A4=A7=E5=B1=8F=E4=BA=A7?= =?UTF-8?q?=E5=87=BA=E5=93=81=E7=AE=A1=E7=90=86=20=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entities/components/categoryCharts.vue | 20 +-- .../views/entities/components/entitiesMap.vue | 2 +- .../components/entitiesStatistics.vue | 1 - .../views/entities/components/valueCharts.vue | 153 ++++++++++++++++++ .../src/views/entities/index.vue | 30 ++-- 5 files changed, 178 insertions(+), 28 deletions(-) create mode 100644 new-digital-agriculture-screen/src/views/entities/components/valueCharts.vue diff --git a/new-digital-agriculture-screen/src/views/entities/components/categoryCharts.vue b/new-digital-agriculture-screen/src/views/entities/components/categoryCharts.vue index 7e654b2..2027b24 100644 --- a/new-digital-agriculture-screen/src/views/entities/components/categoryCharts.vue +++ b/new-digital-agriculture-screen/src/views/entities/components/categoryCharts.vue @@ -14,16 +14,16 @@ const data = ref([ value: 10.8, itemStyle: { color: '#5b7bc7', opacity: 0.8 }, }, - { - name: ' 合作社', - value: 18.4, - itemStyle: { color: '#8ed0f3', opacity: 0.8 }, - }, - { - name: ' 村集体', - value: 14.3, - itemStyle: { color: '#65be97', opacity: 0.8 }, - }, + // { + // name: ' 合作社', + // value: 18.4, + // itemStyle: { color: '#8ed0f3', opacity: 0.8 }, + // }, + // { + // name: ' 村集体', + // value: 14.3, + // itemStyle: { color: '#65be97', opacity: 0.8 }, + // }, { name: ' 个体', value: 23.7, diff --git a/new-digital-agriculture-screen/src/views/entities/components/entitiesMap.vue b/new-digital-agriculture-screen/src/views/entities/components/entitiesMap.vue index 13c213a..5fad641 100644 --- a/new-digital-agriculture-screen/src/views/entities/components/entitiesMap.vue +++ b/new-digital-agriculture-screen/src/views/entities/components/entitiesMap.vue @@ -23,7 +23,7 @@ import { ref, reactive } from 'vue'; const unit = ref('家'); const list = reactive([ - { title: '年总产值', value: 3.49, color: '#01FEFD', unit: '亿元' }, + { title: '年总产值', value: 3.49, color: '#01FEFD', unit: '万元' }, { title: '年人均收入', value: 6.98, color: '#FEF906', unit: '万元' }, ]); diff --git a/new-digital-agriculture-screen/src/views/entities/components/entitiesStatistics.vue b/new-digital-agriculture-screen/src/views/entities/components/entitiesStatistics.vue index 5ebd08b..a494c28 100644 --- a/new-digital-agriculture-screen/src/views/entities/components/entitiesStatistics.vue +++ b/new-digital-agriculture-screen/src/views/entities/components/entitiesStatistics.vue @@ -38,7 +38,6 @@ const state = reactive({ backgroundColor: 'rgba(0,0,0,0.5)', borderColor: '#35d0c0', formatter: (data) => { - console.log('data', data); const params = data[0]; let str = `