校园-江西科技师范大学-前端
shuishen
2023-12-06 81a26f23ac0567da23b1621d4813a5a2ab54baa2
src/components/map/index.vue
@@ -6,7 +6,7 @@
        <mapPopup />
        <!-- <campusBuildingSearch ref="campusBuildingSearch" /> -->
        <campusBuildingSearch ref="campusBuildingSearch" />
        <campusNav ref="campusNavRoute" v-show="campusNavFlag" />
@@ -357,29 +357,9 @@
                if (JSON.stringify(res.data.data) == '{}') return
                let result = res.data.data
                that.$store.commit('SET_MONITORPOPUP', false)
                that.$store.commit("SET_PANORAMAPOPUP", false)
                this.$store.commit('SET_STATENAME', result.mechanismname)
                this.$store.commit('SET_PANORAMAURL', result.panoramaurl)
                this.$store.commit('SET_INTRODUCETEXT', result.introduce)
                let imgArr = result.tpurl.split(',')
                this.$store.commit('SET_POPUPBGURL', imgArr[0])
                this.$store.commit('SET_POPUPIMGATLAS', imgArr)
                this.$store.commit('SET_POPUPQRURL', result.codeurl)
                this.$store.commit("SET_POINTPOSITION", [
                    Number(event.event.coordinate[0]),
                    Number(event.event.coordinate[1]),
                    Number(0),
                    Number(0),
                    Number(-90),
                    Number(0),
                ])
                this.$store.commit("SET_DETAILSPOPUP", true)
                this.$store.dispatch('setOurDataInPoput', {
                    item: result
                })
                this.openPopups({
                    lng: Number(event.event.coordinate[0]),