From df7b31e9bc762634a01536841b413cc65256752a Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 10 Mar 2022 08:46:31 +0800
Subject: [PATCH] 部分改动
---
src/pcviews/specialmap/welcome.vue | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/src/pcviews/specialmap/welcome.vue b/src/pcviews/specialmap/welcome.vue
index 04a4948..78c2e4f 100644
--- a/src/pcviews/specialmap/welcome.vue
+++ b/src/pcviews/specialmap/welcome.vue
@@ -9,7 +9,7 @@
<a href="javascript:void(0);" title="全景浏览">
<img
@click="panoramaPlay"
- class="panorama-control"
+ class="panorama-control deblurring"
src="/img/icon/panorama.png"
alt
/>
@@ -17,13 +17,18 @@
<a href="javascript:void(0);" title="语音介绍">
<img
@click="audioPlay"
- class="audio-control"
+ class="audio-control deblurring"
src="/img/navicon/audio.png"
alt
/>
</a>
<a href="javascript:void(0);" title="关闭">
- <img @click="closeModel" class="close-box" src="/img/navicon/close.png" alt />
+ <img
+ @click="closeModel"
+ class="close-box deblurring"
+ src="/img/navicon/close.png"
+ alt
+ />
</a>
</div>
</div>
@@ -111,6 +116,10 @@
this.audioCourse = false
}
this.getData()
+
+ window.onbeforeunload = e => { // 刷新时弹出提示
+ this.audioSynth.cancel()
+ }
},
computed: {
...mapGetters([
@@ -250,7 +259,9 @@
}
},
destroyed () {
- // this.audioPlay();
+ this.audioSynth.cancel()
+ this.viewer.removeLayer(this.pathLayer)
+ this.viewer.removeLayer(this.pointLayer)
// console.log("关闭", "see1");
}
}
--
Gitblit v1.9.3