|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="footer">
|
|
|
- <div class="footer__btn" @click="goToScene">虚拟展厅</div>
|
|
|
+ <div class="footer__btn" @click="showVideo = true">虚拟展厅</div>
|
|
|
|
|
|
<div class="footer-toolbar">
|
|
|
<img
|
|
@@ -16,18 +16,16 @@
|
|
|
|
|
|
<Search v-model:visible="searchVisible" />
|
|
|
<Sidebar v-model:visible="sidebarVisible" v-bind="$attrs" />
|
|
|
+ <VideoCover v-if="showVideo" />
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
import { ref } from "vue";
|
|
|
import Search from "@/views/search/index.vue";
|
|
|
import Sidebar from "./Sidebar.vue";
|
|
|
-import { SCENE_URL } from "@syjy/base/utils";
|
|
|
-
|
|
|
-const goToScene = () => {
|
|
|
- location.href = SCENE_URL;
|
|
|
-};
|
|
|
+import VideoCover from "@/components/VideoCover.vue";
|
|
|
|
|
|
+const showVideo = ref(false);
|
|
|
const searchVisible = ref(false);
|
|
|
const sidebarVisible = ref(false);
|
|
|
</script>
|