|
@@ -23,7 +23,7 @@
|
|
|
|
|
|
<img v-if="isLargeScreen" class="splitter" src="@/assets/images/js_icon/bottom-menu-splitter.png" alt="" draggable="false">
|
|
|
|
|
|
- <li @click="onIsShowHotspotList">
|
|
|
+ <li @click="onIsShowHotspotList" v-if="haveHotspot">
|
|
|
<img :src="require(`@/assets/images/js_icon/${isShowHotspotList ? 'hotspot_active.png' : 'hotspot.png'}`)"
|
|
|
alt=""
|
|
|
draggable="false"
|
|
@@ -31,7 +31,7 @@
|
|
|
<div>[热点列表]</div>
|
|
|
</li>
|
|
|
|
|
|
- <img v-if="isLargeScreen" class="splitter" src="@/assets/images/js_icon/bottom-menu-splitter.png" alt="" draggable="false">
|
|
|
+ <img v-if="isLargeScreen && haveHotspot" class="splitter" src="@/assets/images/js_icon/bottom-menu-splitter.png" alt="" draggable="false">
|
|
|
|
|
|
<li @click="onVR"
|
|
|
v-if="currentScene.type == 'pano' || (fdkkCurrentVersion == 'v3') || (currentScene.type == '4dkk' && (fdkkmetadata.controls && fdkkmetadata.controls.showVR))">
|
|
@@ -273,6 +273,15 @@ const staticList = ref([
|
|
|
]);
|
|
|
|
|
|
|
|
|
+const haveHotspot = computed(() => {
|
|
|
+ let temp = store.getters["tags/allTags"].filter(item=>item.hotspotType != "scene")
|
|
|
+ if (temp?.length !== 0) {
|
|
|
+ return true
|
|
|
+ } else {
|
|
|
+ return false
|
|
|
+ }
|
|
|
+})
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
let events = ['fullscreenchange', 'webkitfullscreenchange', 'mozfullscreenchange', 'MSFullscreenChange']
|
|
|
events.forEach((item, index) => {
|