From bdbef0fbde20317d19bfc6d3473dabb10fb3fb3b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 19 Apr 2025 15:41:21 +0800
Subject: [PATCH] feat: 修改任务事件概况的饼状图颜色

---
 src/views/Home/Footer.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/Home/Footer.vue b/src/views/Home/Footer.vue
index f2f9772..b87f522 100644
--- a/src/views/Home/Footer.vue
+++ b/src/views/Home/Footer.vue
@@ -1,5 +1,5 @@
 <template>
-	<div class="footer">
+	<div class="footer" v-show="isHideBottomIcon">
 		<img
 			v-for="(item,index) in list.filter(i => !i.show)"
 			:class="item.className"
@@ -30,13 +30,14 @@
 import img5 from '@/assets/images/home/footer/orthophoto.png'
 import activeImg5 from '@/assets/images/home/footer/orthophoto1.png'
 
-import { useMapAggregation } from '@/views/Home/useMapAggregation/useMapAggregation'
+import { useMapAggregation } from '@/hooks/useMapAggregation/useMapAggregation'
 import { useStore } from 'vuex'
 import func from '@/utils/func'
 import { ElMessage } from 'element-plus'
 
 const store = useStore()
 const footActiveIndex = computed(() => store.state.home.footActiveIndex)
+const isHideBottomIcon = computed(() => store.state.common.isHideBottomIcon)
 
 // 机巢聚合
 const { init, removeAll } = useMapAggregation('device')
@@ -76,6 +77,10 @@
 	fromItem?.removeAll?.()
 	nextTick(() => toItem?.init?.())
 	list.value = list.value.map(item => ({ ...item, active: item.name === toItem?.name }))
+	if (index === 5) {
+		// 相关图标不显示
+		store.commit('setHideBottomIcon', false)
+	}
 }
 
 watch(

--
Gitblit v1.9.3