From e27c1000a54804d024fa22d3fa9a402a4d23c7e7 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 16 Dec 2021 15:40:08 +0800
Subject: [PATCH] +基础弹窗的公共化,响应传递的数据
---
src/components/mobilePopupOurOnce/index.vue | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/src/components/mobilePopupOurOnce/index.vue b/src/components/mobilePopupOurOnce/index.vue
index ace4082..018560c 100644
--- a/src/components/mobilePopupOurOnce/index.vue
+++ b/src/components/mobilePopupOurOnce/index.vue
@@ -59,19 +59,13 @@
if (val == "定位") {
this.$store.commit("MSET_BIGPOPUP", false);
setTimeout(() => {
- // that.$refs.mobilemapBoxFrom.openPopupS(
- // this.onceData.Cartesian3,
- // this.onceData.position
- // );
- that.$parent.$parent.$parent.$parent.openPopupS(
- this.onceData.Cartesian3,
- this.onceData.position
- );
- // console.log(that.$refs.mobilemapBoxFrom);
- // 定位 打开弹窗
- // this.mviewer.zoomToPosition(
- // new that.DC.Position(p[0], p[1] - 0.016, 1530, 0, -45)
- // );
+ // 定制化窗体
+ let d = {
+ position: that.onceData.Cartesian3,
+ lntLat: that.onceData.position,
+ query: this.onceData,
+ };
+ that.popupsDom = that.$store.dispatch("setMobileWindows", d);
}, 500);
}
},
--
Gitblit v1.9.3