Browse Source

fix: 🧩 地图优化

pull/1/head
liyongle 3 years ago
parent
commit
4651f3fd2b
  1. 2
      public/static/qm/MainMap_QM.js
  2. 5
      src/components/Map/Map.vue

2
public/static/qm/MainMap_QM.js

@ -78,7 +78,7 @@ QMUtil = function () {
//debug 参数 相机坐标/ 镜头方向
this.guiOptions = { cameraX: 0, cameraY: 220, cameraZ: 220, targatX: 0, targatY: 0, targatZ: 0 }; //this.button = function() {};
this.sceneGap = { x: 60, y: 0, z: 0, scale: dir ? 0.15 : 0.05 }; //改变地图位置,大小
this.sceneGap = { x: 0, y: 0, z: 0, scale: dir ? 0.15 : 0.055 }; //改变地图位置,大小
this.selectBuild = 0;
this.selectFloor = 0;

5
src/components/Map/Map.vue

@ -90,8 +90,9 @@ function handleDetail() {
<style lang="scss" scoped>
#mapContainer {
position: absolute;
width: 100vw;
height: 100vh;
right: 0;
width: 1432px;
height: 948px;
}
.map-flex {
display: flex;

Loading…
Cancel
Save