diff --git a/src/project/xicheng/AppMerchantMap/AppMerchantMap.vue b/src/project/xicheng/AppMerchantMap/AppMerchantMap.vue index 87b31715..bf76b7ea 100644 --- a/src/project/xicheng/AppMerchantMap/AppMerchantMap.vue +++ b/src/project/xicheng/AppMerchantMap/AppMerchantMap.vue @@ -58,19 +58,15 @@ this.businessName = item.businessName this.isShow = false - this.map.easeTo({ - center: new this.lib.LatLng(item.lat, item.lng), - zoom: 23 - }, { - duration: 800 - }) + this.map.setCenter(new this.lib.LatLng(item.lat, item.lng)) + this.map.setZoom(22) setTimeout(() => { document.querySelectorAll('.marker').forEach(e => { e.classList.remove('marker-active') }) document.querySelector(`.marker-${item.id}`).classList.add('marker-active') - }, 900) + }, 400) }, getList (isSearch) {