This commit is contained in:
parent
7f40a5ebf6
commit
1ca5cf5169
|
|
@ -32,12 +32,12 @@ export default {
|
||||||
if (value === 1) {
|
if (value === 1) {
|
||||||
console.log(window.marsMap, "window.marsMap");
|
console.log(window.marsMap, "window.marsMap");
|
||||||
window.marsMap.basemap = 2022;
|
window.marsMap.basemap = 2022;
|
||||||
window.marsMap.scene.morphTo2D();
|
window.marsMap.scene.morphTo2D(0);
|
||||||
this.$refs.leftBtn.style.background = `url(${require("@/assets/img/left-hover.png")})`;
|
this.$refs.leftBtn.style.background = `url(${require("@/assets/img/left-hover.png")})`;
|
||||||
this.$refs.rightBtn.style.background = `url(${require("@/assets/img/right-nohover.png")})`;
|
this.$refs.rightBtn.style.background = `url(${require("@/assets/img/right-nohover.png")})`;
|
||||||
} else {
|
} else {
|
||||||
window.marsMap.basemap = 2021;
|
window.marsMap.basemap = 2021;
|
||||||
window.marsMap.scene.morphTo3D();
|
window.marsMap.scene.morphTo3D(0);
|
||||||
this.$refs.leftBtn.style.background = `url(${require("@/assets/img/left-nohover.png")})`;
|
this.$refs.leftBtn.style.background = `url(${require("@/assets/img/left-nohover.png")})`;
|
||||||
this.$refs.rightBtn.style.background = `url(${require("@/assets/img/right-hover.png")})`;
|
this.$refs.rightBtn.style.background = `url(${require("@/assets/img/right-hover.png")})`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue