+
liuyg
2022-01-08 fd4774036374ce3b6b304233155eae0c1513da7f
+
2 files modified
11 ■■■■ changed files
src/components/mobileLeftNav/index.vue 7 ●●●●● patch | view | raw | blame | history
src/store/modules/mobile.js 4 ●●●● patch | view | raw | blame | history
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;
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,
        ];