shuishen
2022-03-10 df7b31e9bc762634a01536841b413cc65256752a
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");
    }
}