| | |
| | | import lc1 from '@/assets/images/rSide/lc1.png' |
| | | import tc from '@/assets/images/rSide/tc.png' |
| | | import tc1 from '@/assets/images/rSide/tc1.png' |
| | | import cesiumOperation from '@/utils/cesium-tsa' |
| | | |
| | | let logIndex = ref(3); |
| | | const enterHover = (value) => { |
| | | logIndex.value = value; |
| | | } |
| | | const { flyTo } = cesiumOperation() |
| | | |
| | | const store = useStore(); |
| | | const currentAreaPosition = computed(() => store.state.home.currentAreaPosition); |
| | | |
| | | let activeIndex = ref(null); |
| | | const activeChange = (value) => { |
| | | if(value === 0) { |
| | | flyTo(currentAreaPosition.value, 0, currentAreaPosition.value.height) |
| | | } |
| | | if (value === 1){ |
| | | activeIndex.value = activeIndex.value === 1 ? null : value; |
| | | } |