|
@@ -60,7 +60,7 @@
|
|
<img
|
|
<img
|
|
draggable="false"
|
|
draggable="false"
|
|
src="@/assets/images/icon-quanjing-min.png"
|
|
src="@/assets/images/icon-quanjing-min.png"
|
|
- @click="goToScene"
|
|
|
|
|
|
+ @click="showVideo = true"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -223,18 +223,20 @@
|
|
:url="checkedPoint?.target"
|
|
:url="checkedPoint?.target"
|
|
:title="checkedPoint?.name"
|
|
:title="checkedPoint?.name"
|
|
/> -->
|
|
/> -->
|
|
|
|
+ <VideoCover v-if="showVideo" />
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
import { ref, computed, watch } from "vue";
|
|
import { ref, computed, watch } from "vue";
|
|
import { data } from "@syjy/base";
|
|
import { data } from "@syjy/base";
|
|
import { flattenData } from "@syjy/base/utils";
|
|
import { flattenData } from "@syjy/base/utils";
|
|
-import { SCENE_URL } from "@syjy/base/utils";
|
|
|
|
import { ElScrollbar, ElTooltip } from "element-plus";
|
|
import { ElScrollbar, ElTooltip } from "element-plus";
|
|
import { useRoute } from "vue-router";
|
|
import { useRoute } from "vue-router";
|
|
// import VideoPopup from "@/components/VideoPopup/index.vue";
|
|
// import VideoPopup from "@/components/VideoPopup/index.vue";
|
|
|
|
+import VideoCover from "@/components/VideoCover/index.vue";
|
|
|
|
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
|
|
+const showVideo = ref(false);
|
|
const activeMenu = ref(0);
|
|
const activeMenu = ref(0);
|
|
const activeSecondMenu = ref(0);
|
|
const activeSecondMenu = ref(0);
|
|
const activeThirdMenu = ref(0);
|
|
const activeThirdMenu = ref(0);
|
|
@@ -297,10 +299,6 @@ const point = computed(() => {
|
|
return null;
|
|
return null;
|
|
});
|
|
});
|
|
|
|
|
|
-const goToScene = () => {
|
|
|
|
- location.href = SCENE_URL;
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
watch(list, (v) => {
|
|
watch(list, (v) => {
|
|
const stack = [];
|
|
const stack = [];
|
|
for (let i = 0; i < v.length; i++) {
|
|
for (let i = 0; i < v.length; i++) {
|