|
@@ -28,7 +28,7 @@
|
|
|
<v-title />
|
|
|
|
|
|
<!-- 底部菜单 -->
|
|
|
- <v-menu @toHome="showWelcome = true" />
|
|
|
+ <v-menu :hideTools="hideTools" @toHome="showWelcome = true" />
|
|
|
|
|
|
<!-- 导览 -->
|
|
|
<v-guide />
|
|
@@ -118,16 +118,18 @@ export default {
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
- showWelcome: true,
|
|
|
+ showWelcome: false,
|
|
|
hotspots: "",
|
|
|
loading: true,
|
|
|
+ /** 隐藏热点和右侧工具栏 */
|
|
|
+ hideTools: false
|
|
|
};
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
hideWelcome() {
|
|
|
this.showWelcome = false;
|
|
|
- // window.manage.switchBgmState(true);
|
|
|
+ window.manage.switchBgmState(true);
|
|
|
},
|
|
|
getHotSpotList() {
|
|
|
$.ajax({
|
|
@@ -147,7 +149,6 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
},
|
|
|
-
|
|
|
mounted() {
|
|
|
this.$nextTick(() => {
|
|
|
window.evt = document.createEvent("HTMLEvents");
|
|
@@ -169,6 +170,10 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
async created() {
|
|
|
+ // 雷锋故居场景需求,会携带 hideCover=1
|
|
|
+ this.hideTools = Boolean(Number(this.$route.query.hideCover))
|
|
|
+ this.showWelcome = !this.hideTools
|
|
|
+
|
|
|
// 发送访问量
|
|
|
try {
|
|
|
await addVisitAPI();
|