| | |
| | | "query", |
| | | "MobileWindowChangeData", |
| | | "audioState", |
| | | "areaLayerSelect", |
| | | ]), |
| | | }, |
| | | watch: { |
| | |
| | | this.seebut.push({ |
| | | name: "显示活动", |
| | | }); |
| | | if (queryData.notAddGoOn == "notAddGoOn") { |
| | | this.seebut.push({ |
| | | name: "去这", |
| | | }); |
| | | } |
| | | } |
| | | for (let k in this.seebut) { |
| | | if (this.seebut[k].name == "定位") { |
| | |
| | | that.routerS = []; |
| | | let once = true; |
| | | let query = this.query.query; |
| | | // console.log(query); |
| | | if (val == "去这") { |
| | | //定位 |
| | | // console.log(this.query.query); |
| | |
| | | let ints = { |
| | | // start: [114.039946, 27.628475], |
| | | // end: that.query.query.lntLat, |
| | | start: [+that.query.query.lntLat[0], +that.query.query.lntLat[1]], |
| | | start: [+query.lntLat[0], +query.lntLat[1], 360], |
| | | end: [114.031946, 27.621475], |
| | | type: "driving", |
| | | fn: function (datas) { |
| | |
| | | }, |
| | | closeWindow() { |
| | | if (!this.MobileWindowsHide) { |
| | | let that = this; |
| | | this.$store.dispatch("closeMobileWindowsDom"); //关闭随地图弹窗 |
| | | if (that.areaLayerSelect.overlay != undefined) { |
| | | that.areaLayerSelect.overlay.setStyle({ |
| | | material: that.areaLayerSelect.color, |
| | | outline: false, |
| | | }); |
| | | |
| | | that.$store.commit("mset_changeSelect", [undefined, undefined]); |
| | | } |
| | | } |
| | | }, |
| | | openAudio() { |