三维内容整理

This commit is contained in:
luoshiwen 2023-04-12 15:22:04 +08:00
parent aad7616a31
commit 11361687b8
1 changed files with 26 additions and 26 deletions

View File

@ -59,7 +59,7 @@
<el-dropdown-item @click="selectHomeN($event)">C03</el-dropdown-item> --> <el-dropdown-item @click="selectHomeN($event)">C03</el-dropdown-item> -->
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<img v-else :src="s.num % 2 != 0 ? s.selectImg : s.img" alt="" /> <img v-else :src="i==index ? s.selectImg : s.img" alt="" />
</li> </li>
</ul> </ul>
</header> </header>
@ -162,33 +162,33 @@ export default {
handleBtn(e, i) { handleBtn(e, i) {
console.log(this.$refs.drop1); console.log(this.$refs.drop1);
this.navLiState = !this.navLiState this.navLiState = !this.navLiState
// if (this.index == i && this.navLiState) { if (this.index == i && this.navLiState) {
// this.index = null this.index = null
// if (i == 1) { if (i == 1) {
// this.state = !this.state; this.state = !this.state;
// // console.log(this.state); // console.log(this.state);
// this.$refs.dome.contentWindow.updateScene(this.state); this.$refs.dome.contentWindow.updateScene(this.state);
// } else if (i == 3) { } else if (i == 3) {
// this.$refs.dome.contentWindow.outHome(); this.$refs.dome.contentWindow.outHome();
// } else if (i == 4) { } else if (i == 4) {
// this.transport = !this.transport; this.transport = !this.transport;
// this.$refs.dome.contentWindow.transport(this.transport); this.$refs.dome.contentWindow.transport(this.transport);
// } else if (i == 5) { } else if (i == 5) {
// this.hide = !this.hide; this.hide = !this.hide;
// this.$refs.dome.contentWindow.hide(this.hide); this.$refs.dome.contentWindow.hide(this.hide);
// } }
// return return
// } }
this.liImgs[i].num++ // this.liImgs[i].num++
this.index = i this.index = i
// //
// this.state = false this.state = false
// this.transport = false this.transport = false
// this.hide = false this.hide = false
// this.$refs.dome.contentWindow.updateScene(false); this.$refs.dome.contentWindow.updateScene(false);
// // this.$refs.dome.contentWindow.outHome(); // this.$refs.dome.contentWindow.outHome();
// this.$refs.dome.contentWindow.transport(false); this.$refs.dome.contentWindow.transport(false);
// this.$refs.dome.contentWindow.hide(false); this.$refs.dome.contentWindow.hide(false);
if (i == 1) { if (i == 1) {
this.state = !this.state; this.state = !this.state;
// console.log(this.state); // console.log(this.state);