| | |
| | | this.srcList = this.onceData.icon; |
| | | this.icon = this.srcList[0]; |
| | | } |
| | | if (this.onceData.from == "校园建筑" || this.onceData.from == "文化风景") { |
| | | if (this.onceData.from == "社区建筑" || this.onceData.from == "文化风景") { |
| | | this.getOnceCampus(this.onceData.id); |
| | | } else { |
| | | this.ourData = this.onceData; |
| | |
| | | imgsDom.click(); |
| | | } |
| | | }, |
| | | //"校园建筑"↓ |
| | | //"社区建筑"↓ |
| | | getOnceCampus(id) { |
| | | getChildNavDetail({ id: id }).then((res) => { |
| | | var result = res.data.data[0].list; |
| | |
| | | telePhone: result.telephone, |
| | | address: result.address, |
| | | introduce: result.introduce, |
| | | video: result.videourl, |
| | | }; |
| | | this.ourData = d; |
| | | }); |
| | | }, |
| | | //"校园建筑"↑ |
| | | //"社区建筑"↑ |
| | | }, |
| | | }; |
| | | </script> |