From 8c9a97b140dfee7e0111f95d8bc6aac48bfa55f6 Mon Sep 17 00:00:00 2001 From: gaozl Date: Mon, 24 Jun 2024 13:15:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=B0=E5=9B=BE=E7=BC=A9=E6=94=BE?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E5=A4=A7=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/qm/MainMap_QM_go.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/public/static/qm/MainMap_QM_go.js b/public/static/qm/MainMap_QM_go.js index c078a1f..783fa97 100644 --- a/public/static/qm/MainMap_QM_go.js +++ b/public/static/qm/MainMap_QM_go.js @@ -159,7 +159,7 @@ var QMUtil = function () { bSpace: 5000, fSpace: 500, //双叠层状态下楼层的间距 maxDis: 700, - minDis: 100, + minDis: 40, shadow: true, //是否显示阴影 navColor: 0xee6a50, //途径店铺颜色 aRadius: 2, //圆角半径 大于2 则店铺box显示圆角 @@ -5542,14 +5542,13 @@ MainMap_QM.prototype = { let vh = bottomY-topY; let disc = Map_QM.controls.getDistance(); if(vh==0 || vw/vh < Map_QM.w/Map_QM.h){ //按高度计算 - Map_QM.setCameraDist((disc*vh/Map_QM.h)+30, Map_QM.moveMapPosition, Map_QM.drawPathStart); + Map_QM.setCameraDist((disc*vh/Map_QM.h)+20, Map_QM.moveMapPosition, Map_QM.drawPathStart); }else{ //按宽度计算 - Map_QM.setCameraDist((disc*vw/Map_QM.w)+30, Map_QM.moveMapPosition, Map_QM.drawPathStart); + Map_QM.setCameraDist((disc*vw/Map_QM.w)+20, Map_QM.moveMapPosition, Map_QM.drawPathStart); } } }, drawPathStart:function(){ - console.log("**********"); document.addEventListener("pathOver", Map_QM.onFindPathFloor, true); if (Map_QM.util.isMorePath) { Map_QM.mapArr[Map_QM.forShopArr[Map_QM.util._indexPathFloor].build][Map_QM.forShopArr[Map_QM.util._indexPathFloor].floor].findPath.onFindPathAnimation(pathNodes[Map_QM.util._indexPathFloor].pathNode, Map_QM.util.isMorePath,pathNodes[Map_QM.util._indexPathFloor].floor); //传入数组