|
@@ -2,7 +2,6 @@
|
|
|
<template>
|
|
|
<div
|
|
|
class="camera-content-1-1"
|
|
|
- @click="displayingHotspotIdx = -1"
|
|
|
>
|
|
|
<button
|
|
|
class="return"
|
|
@@ -78,7 +77,8 @@
|
|
|
:class="{
|
|
|
active: displayingHotspotIdx === 0
|
|
|
}"
|
|
|
- @click.stop="displayingHotspotIdx = 0"
|
|
|
+ @mouseenter="displayingHotspotIdx = 0"
|
|
|
+ @mouseleave="displayingHotspotIdx = -1"
|
|
|
>
|
|
|
<div class="label">
|
|
|
中轴线
|
|
@@ -95,7 +95,8 @@
|
|
|
:class="{
|
|
|
active: displayingHotspotIdx === 1
|
|
|
}"
|
|
|
- @click.stop="displayingHotspotIdx = 1"
|
|
|
+ @mouseenter="displayingHotspotIdx = 1"
|
|
|
+ @mouseleave="displayingHotspotIdx = -1"
|
|
|
>
|
|
|
<div class="label">
|
|
|
水系
|
|
@@ -112,7 +113,8 @@
|
|
|
:class="{
|
|
|
active: displayingHotspotIdx === 2
|
|
|
}"
|
|
|
- @click.stop="displayingHotspotIdx = 2"
|
|
|
+ @mouseenter="displayingHotspotIdx = 2"
|
|
|
+ @mouseleave="displayingHotspotIdx = -1"
|
|
|
>
|
|
|
<div class="label">
|
|
|
元大都外城
|
|
@@ -129,7 +131,8 @@
|
|
|
:class="{
|
|
|
active: displayingHotspotIdx === 3
|
|
|
}"
|
|
|
- @click.stop="displayingHotspotIdx = 3"
|
|
|
+ @mouseenter="displayingHotspotIdx = 3"
|
|
|
+ @mouseleave="displayingHotspotIdx = -1"
|
|
|
>
|
|
|
<div class="label">
|
|
|
元大都皇城
|
|
@@ -206,7 +209,7 @@ const layoutDataList = [
|
|
|
},
|
|
|
]
|
|
|
|
|
|
-const displayingHotspotIdx = ref(0)
|
|
|
+const displayingHotspotIdx = ref(-1)
|
|
|
|
|
|
|
|
|
</script>
|