| | |
| | | let buts = this.onceData.buts; |
| | | let b = []; |
| | | for (let k in buts) { |
| | | if (buts[k] == "实景") { |
| | | continue; |
| | | } |
| | | b.push({ |
| | | name: buts[k], |
| | | }); |
| | | } |
| | | if (this.ourData.panoramaurl) { |
| | | b.push({ |
| | | name: "实景", |
| | | }); |
| | | } else { |
| | | b = b.filter((res) => { |
| | | return res.name != "实景"; |
| | | }); |
| | | } |
| | | return b; |
| | |
| | | //固定窗口 |
| | | // that.$store.dispatch("SET_OPENWIDOWFIXED", d); |
| | | } else if (val == "实景") { |
| | | this.$store.commit( |
| | | "MSET_OPENMOBILEPANORAMA", |
| | | "https://www.kuleiman.com/110487/index.html?m=1" |
| | | ); |
| | | this.$store.commit("MSET_OPENMOBILEPANORAMA", this.ourData.panoramaurl); |
| | | // if(this.ourData.panoramaurl){ |
| | | // } |
| | | // console.log(this.ourData.panoramaurl); |
| | | } else if (val == "图集") { |
| | | let imgsDom = document.getElementById("mobileBigImgs" + this.icon + ""); |
| | | imgsDom.click(); |
| | |
| | | address: result.address, |
| | | introduce: result.introduce, |
| | | video: result.videourl, |
| | | panoramaurl: result.panoramaurl, //全景 |
| | | }; |
| | | this.ourData = d; |
| | | }); |