From fe5f10521f4b533bdedc32b141dc0995ec24980d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 16 Dec 2021 15:46:38 +0800
Subject: [PATCH] +细节
---
src/components/mobilemap/index.vue | 24 +-----------------------
1 files changed, 1 insertions(+), 23 deletions(-)
diff --git a/src/components/mobilemap/index.vue b/src/components/mobilemap/index.vue
index cb27c45..c0550cf 100644
--- a/src/components/mobilemap/index.vue
+++ b/src/components/mobilemap/index.vue
@@ -19,20 +19,11 @@
</template>
<script>
import { mapGetters } from "vuex";
-import { location } from "../../position/position";
export default {
name: "mobilemapBox",
data() {
return {
DC: "",
- positions: "",
- url: "/img/job/one.jpg",
- srcList: [
- "https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg",
- "https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg",
- ],
- popupFlag: false,
- popupWindow: false,
bigPopup: {
width: 0,
height: 0,
@@ -158,7 +149,7 @@
if (!that.iconHide) {
that.$store.commit("MSET_ICONHIDE", true);
}
- that.$store.dispatch("closeWindowsDom"); //关闭弹窗
+ that.$store.dispatch("closeMobileWindowsDom"); //关闭弹窗
// if (!that.MobileWindowsHide && that.popupsDom) {
// that.popupsDom.closeOur();
// that.$store.commit("MSET_MOBILEWINDOWSHIDE", true);
@@ -258,19 +249,6 @@
query: { ...(query || {}), position, lntLat },
};
that.$store.dispatch("setMobileWindows", d);
- },
- getLocation() {
- // let _that = this;
- // let geolocation = location.initMap("map-container"); //定位
- // AMap.event.addListener(geolocation, "complete", (result) => {
- // console.log(result);
- // // console.log("hhha");
- // // _that.lat = result.position.lat;
- // // _that.lng = result.position.lng;
- // // _that.province = result.addressComponent.province;
- // // _that.city = result.addressComponent.city;
- // // _that.district = result.addressComponent.district;
- // });
},
},
};
--
Gitblit v1.9.3