diff --git a/pages.json b/pages.json
index 29887a8..8b21185 100644
--- a/pages.json
+++ b/pages.json
@@ -299,6 +299,12 @@
"style": {
"navigationBarTitleText": ""
}
+ },
+ {
+ "path": "h5Web/h5Map",
+ "style": {
+ "navigationBarTitleText": ""
+ }
}
]
}],
diff --git a/subPackages/h5Web/h5Map.vue b/subPackages/h5Web/h5Map.vue
new file mode 100644
index 0000000..d9f51c0
--- /dev/null
+++ b/subPackages/h5Web/h5Map.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/subPackages/h5Web/h5Web.vue b/subPackages/h5Web/h5Web.vue
index c4854ab..c2e76b2 100644
--- a/subPackages/h5Web/h5Web.vue
+++ b/subPackages/h5Web/h5Web.vue
@@ -31,20 +31,6 @@
uni.setStorageSync('oTherMiniprogramIsBack', 1)
}
})
- }else {
- uni.openLocation({
- longitude: Number(data.lon), // 经度
- latitude: Number(data.lat), //纬度
- name: data.address || data.title || data.name, // 位置名称
- address: data.address, //详细地址
- complete: res => {
- if(res.errMsg.indexOf("openLocation:ok") != -1) {
- uni.switchTab({
- url: '/pages/map/map'
- })
- }
- }
- })
}
}
}