| | |
| | | icons: icon + item.mechanismname, // 图片响应改变 |
| | | from: this.choiceMain, |
| | | video: item.videourl, |
| | | buts: |
| | | this.mBigPopup.name == '校园建筑' || |
| | | this.mBigPopup.name == '文化风景' |
| | | ? ['定位', '实景', '图集'] |
| | | : ['定位'] |
| | | buts: ['定位', '实景', '图集'] |
| | | }) |
| | | }) |
| | | } else if (this.mBigPopup.name == '活动') { |
| | |
| | | // address: item.address, |
| | | introduce: item.context, |
| | | video: item.videourl, |
| | | buts: |
| | | that.mBigPopup.name == '校园建筑' || |
| | | that.mBigPopup.name == '文化风景' |
| | | ? ['定位', '实景', '图集'] |
| | | : ['定位'], |
| | | buts: ['定位', '实景', '图集'], |
| | | // 活动添加的字段 |
| | | addressname: item.addressname.split(';'), |
| | | address: item.address.split(';'), |
| | |
| | | address: item.address, |
| | | introduce: item.introduce, |
| | | video: item.videourl, |
| | | buts: |
| | | that.mBigPopup.name == '校园建筑' || |
| | | that.mBigPopup.name == '文化风景' |
| | | ? ['定位', '实景', '图集'] |
| | | : ['定位'], |
| | | buts: ['定位', '实景', '图集'], |
| | | panoramaurl: item.panoramaurl, // 全景 |
| | | x: item.x |
| | | } |
| | |
| | | // 搜索请求 |
| | | getListSearchMethod (name) { |
| | | const val = { |
| | | mechanismName: name |
| | | mechanismName: name, |
| | | campus: this.mobileMapElement.campusValue |
| | | } |
| | | const that = this |
| | | getListSearch(val).then((res) => { |
| | |
| | | const data = res.data.data |
| | | // 正常获取全部数据 |
| | | const outList = [] |
| | | |
| | | data.forEach((item) => { |
| | | const icon = item.tpurl.split(',') |
| | | const useData = { |
| | | name: item.mechanismname, |
| | | lntLat: [item.jd, item.wd], |
| | | lntLat: item.x.split(','), |
| | | alt: item.gd, |
| | | heading: item.heading, |
| | | pitch: item.pitch, |
| | |
| | | address: item.address, |
| | | introduce: item.introduce, |
| | | video: item.videourl, |
| | | buts: |
| | | that.mBigPopup.name == '校园建筑' || |
| | | that.mBigPopup.name == '文化风景' |
| | | ? ['定位', '实景', '图集'] |
| | | : ['定位'], |
| | | buts: ['定位', '实景', '图集'], |
| | | panoramaurl: item.panoramaurl, // 全景 |
| | | x: item.x |
| | | } |