|
@@ -15,10 +15,10 @@
|
|
<MiniMapDecorator
|
|
<MiniMapDecorator
|
|
class="mini-map-decorator"
|
|
class="mini-map-decorator"
|
|
/>
|
|
/>
|
|
|
|
+ <QuizMenu class="quiz-menu" />
|
|
|
|
|
|
<!-- 底部菜单 -->
|
|
<!-- 底部菜单 -->
|
|
<div
|
|
<div
|
|
- v-show="!isShowPano"
|
|
|
|
id="gui-parent"
|
|
id="gui-parent"
|
|
>
|
|
>
|
|
<!-- 进度条加载 -->
|
|
<!-- 进度条加载 -->
|
|
@@ -86,32 +86,6 @@
|
|
|
|
|
|
<v-other />
|
|
<v-other />
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
- <transition name="fade-out">
|
|
|
|
- <div
|
|
|
|
- v-if="isShowPano"
|
|
|
|
- class="pano-layer"
|
|
|
|
- >
|
|
|
|
- <!-- 全景图 -->
|
|
|
|
- <iframe
|
|
|
|
- class="pano"
|
|
|
|
- src="https://zzbbh.4dage.com/SWKK/show.html?id=WK1628651656780496896&vr=fd720_7cJ6ECymB"
|
|
|
|
- frameborder="0"
|
|
|
|
- />
|
|
|
|
-
|
|
|
|
- <button
|
|
|
|
- class="begin"
|
|
|
|
- @click="onClickBegin"
|
|
|
|
- >
|
|
|
|
- <img
|
|
|
|
- class=""
|
|
|
|
- src="@/assets/images/begin-explore.png"
|
|
|
|
- alt=""
|
|
|
|
- draggable="false"
|
|
|
|
- >
|
|
|
|
- </button>
|
|
|
|
- </div>
|
|
|
|
- </transition>
|
|
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -128,6 +102,7 @@ import vError from "@/views/gui/error"
|
|
import vrCon from "@/views/gui/vrcon"
|
|
import vrCon from "@/views/gui/vrcon"
|
|
import vOther from "@/views/gui/other"
|
|
import vOther from "@/views/gui/other"
|
|
import MiniMapDecorator from "@/views/gui/MiniMapDecorator.vue"
|
|
import MiniMapDecorator from "@/views/gui/MiniMapDecorator.vue"
|
|
|
|
+import QuizMenu from "@/views/gui/QuizMenu.vue"
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: "Home",
|
|
name: "Home",
|
|
@@ -144,6 +119,7 @@ export default {
|
|
vrCon,
|
|
vrCon,
|
|
vOther,
|
|
vOther,
|
|
MiniMapDecorator,
|
|
MiniMapDecorator,
|
|
|
|
+ QuizMenu,
|
|
},
|
|
},
|
|
|
|
|
|
data() {
|
|
data() {
|
|
@@ -151,7 +127,6 @@ export default {
|
|
hotspots: "",
|
|
hotspots: "",
|
|
// 控制背景音乐
|
|
// 控制背景音乐
|
|
isMusicInitiallyPlayed: false,
|
|
isMusicInitiallyPlayed: false,
|
|
- isShowPano: false,
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -172,11 +147,6 @@ export default {
|
|
}, 1000)
|
|
}, 1000)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
- const locationQuerySection = new URLSearchParams(location.href.split('?')[1])
|
|
|
|
- if (locationQuerySection.get('show-cover')) {
|
|
|
|
- this.isShowPano = true
|
|
|
|
- }
|
|
|
|
},
|
|
},
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
@@ -185,13 +155,6 @@ export default {
|
|
if (!this.isMusicInitiallyPlayed) window.manage.switchBgmState(true)
|
|
if (!this.isMusicInitiallyPlayed) window.manage.switchBgmState(true)
|
|
this.isMusicInitiallyPlayed = true
|
|
this.isMusicInitiallyPlayed = true
|
|
},
|
|
},
|
|
- onClickBegin() {
|
|
|
|
- this.isShowPano = false
|
|
|
|
- const locationQuerySection = new URLSearchParams(location.href.split('?')[1])
|
|
|
|
- locationQuerySection.delete('show-cover')
|
|
|
|
- const newLocation = location.href.split('?')[0] + '?' + locationQuerySection.toString()
|
|
|
|
- location.assign(newLocation)
|
|
|
|
- }
|
|
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -200,6 +163,9 @@ export default {
|
|
.mini-map-decorator {
|
|
.mini-map-decorator {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.quiz-menu {
|
|
|
|
+}
|
|
|
|
+
|
|
.parent-body {
|
|
.parent-body {
|
|
position: relative;
|
|
position: relative;
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -220,28 +186,6 @@ export default {
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
|
|
|
|
-.pano-layer {
|
|
|
|
- position: absolute;
|
|
|
|
- left: 0;
|
|
|
|
- top: 0;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 100%;
|
|
|
|
- z-index: 9999;
|
|
|
|
- iframe.pano {
|
|
|
|
- width: 100%;
|
|
|
|
- height: 100%;
|
|
|
|
- }
|
|
|
|
- button.begin {
|
|
|
|
- position: absolute;
|
|
|
|
- bottom: 85px;
|
|
|
|
- left:50%;
|
|
|
|
- transform: translateX(-50%);
|
|
|
|
- > img {
|
|
|
|
- width: 141px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.hotspot-detail-open {
|
|
.hotspot-detail-open {
|
|
.v-menu {
|
|
.v-menu {
|
|
display: none;
|
|
display: none;
|