|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
- <Logo />
|
|
|
- <Tips />
|
|
|
+ <Logo v-show="showControls" />
|
|
|
+ <Tips v-show="showControls" />
|
|
|
<div v-show="showUI">
|
|
|
- <Control />
|
|
|
- <Menu v-if="fdkkCurrentVersion == 'V4'" />
|
|
|
- <div @click="onIsShowList" v-else
|
|
|
+ <Control v-if="showControls" />
|
|
|
+ <!-- <Menu v-if="fdkkCurrentVersion == 'V4'" /> -->
|
|
|
+ <div @click="onIsShowList" v-if="showControls"
|
|
|
v-show="!((metadata.catalogRoot && metadata.catalogRoot.length == 1) && scenes.length == 1 && secondaryList.length == 1)"
|
|
|
class="v3daolan" :class="{ active: isShowScenesList }">
|
|
|
<img :src="require(`@/assets/images/icon/${isShowScenesList ? 'function_off@2x.png' : 'function_on@2x.png'}`)"
|
|
@@ -34,8 +34,12 @@ const currentScene = computed(() => store.getters["scene/currentScene"]);
|
|
|
const metadata = computed(() => store.getters["scene/metadata"]);
|
|
|
const scenes = computed(() => store.getters["scene/list"]);
|
|
|
const secondaryList = computed(() => store.getters["scene/secondaryList"]);
|
|
|
-
|
|
|
const showUI = ref(false)
|
|
|
+const showControls = computed(() => {
|
|
|
+ if(currentScene.value.type == 'pano' || fdkkCurrentVersion.value == 'V3') {
|
|
|
+ return true
|
|
|
+ }
|
|
|
+});
|
|
|
|
|
|
|
|
|
const onIsShowList = (data) => {
|