From fd4774036374ce3b6b304233155eae0c1513da7f Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sat, 08 Jan 2022 09:06:46 +0800
Subject: [PATCH] +
---
src/components/mobileLeftNav/index.vue | 7 ++++---
src/store/modules/mobile.js | 4 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/components/mobileLeftNav/index.vue b/src/components/mobileLeftNav/index.vue
index 4b94b26..b15dfc6 100644
--- a/src/components/mobileLeftNav/index.vue
+++ b/src/components/mobileLeftNav/index.vue
@@ -169,6 +169,7 @@
this.$store.commit("MSET_ICONHIDE", !isif);
},
leftNavClick(item) {
+ console.log(123132);
//判断并关闭已开启标签
let lnd = this.leftNavData;
for (let k in lnd) {
@@ -203,8 +204,8 @@
// console.log(posi);
let lntLat =
that.dimensionData.pitch == -45
- ? [posi.lng + 0.00917, posi.lat - 0.0188, 2100]
- : [posi.lng + 0.00917, posi.lat - 0.0038, 2400];
+ ? [posi.lng + 0.00917, posi.lat - 0.0188, 500]
+ : [posi.lng + 0.01197, posi.lat - 0.00055, 500];
this.$store.dispatch("mapFlyTo", {
//飞入
lntLat: lntLat,
@@ -400,7 +401,7 @@
};
</script>
-<style scoped lang='scss'>
+<style scoped lang="scss">
.m-left-nav {
position: fixed;
bottom: 30px;
diff --git a/src/store/modules/mobile.js b/src/store/modules/mobile.js
index 0077d20..14f68a6 100644
--- a/src/store/modules/mobile.js
+++ b/src/store/modules/mobile.js
@@ -248,12 +248,12 @@
data.from == "PopupOurOnce"
? +data.lntLat[1] - 0.00108
: +data.lntLat[1] - 0.00048,
- data.from == "PopupOurOnce" ? 0 : 90.648862227,
+ data.from == "PopupOurOnce" ? 0 : 30.648862227,
];
} else if (state.dimension == "2.5D") {
Flys = [
+data.lntLat[0] + 0.01197,
- +data.lntLat[1] - 0.00055,
+ +data.lntLat[1] + 0.00045,
// +data.lntLat[1] - 0.0022,
nowHeight,
];
--
Gitblit v1.9.3