|
@@ -0,0 +1,55 @@
|
|
|
+<script setup>
|
|
|
+import { inject } from "vue"
|
|
|
+import { useRouter } from 'vue-router'
|
|
|
+
|
|
|
+const $env = inject('$env')
|
|
|
+
|
|
|
+const router = useRouter()
|
|
|
+
|
|
|
+const closeScene = () => {
|
|
|
+ const musicDom = document.getElementById('bg-music')
|
|
|
+ musicDom.play()
|
|
|
+ router.replace('/more-content?anchorIdx=3')
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<template>
|
|
|
+ <div class="scene-box">
|
|
|
+ <BtnBack
|
|
|
+ class="scene-back"
|
|
|
+ @click="closeScene()"
|
|
|
+ />
|
|
|
+ <iframe
|
|
|
+ :src="$env.VUE_APP_SCENE_URL"
|
|
|
+ frameborder="0"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<style lang='less' scoped>
|
|
|
+.scene-box {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: fixed;
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 100;
|
|
|
+
|
|
|
+ >.scene-back {
|
|
|
+ position: absolute;
|
|
|
+ left: 8px;
|
|
|
+ top: 45px;
|
|
|
+ transform: scale(1);
|
|
|
+ z-index: 2;
|
|
|
+ }
|
|
|
+
|
|
|
+ >iframe {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|