| | |
| | | <template> |
| | | <div class="footer"> |
| | | <div class="footer" v-show="isHideBottomIcon"> |
| | | <img |
| | | v-for="(item,index) in list.filter(i => !i.show)" |
| | | :class="item.className" |
| | |
| | | |
| | | const store = useStore() |
| | | const footActiveIndex = computed(() => store.state.home.footActiveIndex) |
| | | const isHideBottomIcon = computed(() => store.state.common.isHideBottomIcon) |
| | | |
| | | // 机巢聚合 |
| | | const { init, removeAll } = useMapAggregation('device') |
| | |
| | | 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( |