解决方案&创新服务&活动报名
This commit is contained in:
@ -137,16 +137,16 @@ onMounted(async () => {
|
||||
loading.value = false;
|
||||
}
|
||||
});
|
||||
let echartsDomList = document.querySelectorAll('.echartsDom');
|
||||
// 兼容echarts
|
||||
echartsDomList.forEach(element => {
|
||||
element.style.zoom = window.devicePixelRatio;
|
||||
element.style.transform = "scale(" + (1 / window.devicePixelRatio) + ")";
|
||||
element.style.transformOrigin = "0%0%";
|
||||
element.style.width = window.devicePixelRatio * 100 + '%';
|
||||
element.style.height = window.devicePixelRatio * 100 + '%';
|
||||
console.log(element.style.zoom, 'element.style.zoom')
|
||||
});
|
||||
// let echartsDomList = document.querySelectorAll('.echartsDom');
|
||||
// // 兼容echarts
|
||||
// echartsDomList.forEach(element => {
|
||||
// element.style.zoom = window.devicePixelRatio;
|
||||
// element.style.transform = "scale(" + (1 / window.devicePixelRatio) + ")";
|
||||
// element.style.transformOrigin = "0%0%";
|
||||
// element.style.width = window.devicePixelRatio * 100 + '%';
|
||||
// element.style.height = window.devicePixelRatio * 100 + '%';
|
||||
// console.log(element.style.zoom, 'element.style.zoom')
|
||||
// });
|
||||
|
||||
let height = document.body.clientHeight;
|
||||
let width = document.body.clientWidth;
|
||||
@ -417,10 +417,10 @@ function loadMap (mapName, data) {
|
||||
}
|
||||
}
|
||||
.leftBox {
|
||||
left: 230px;
|
||||
left: 10%;
|
||||
}
|
||||
.rightBox {
|
||||
right: 230px;
|
||||
right: 10%;
|
||||
max-height: 465px !important;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user