提交 da7ee064 编写于 作者: 雪洛's avatar 雪洛

update: h5 openLocation

上级 b664da7e
...@@ -69,8 +69,8 @@ export default { ...@@ -69,8 +69,8 @@ export default {
} }
}, },
_nav () { _nav () {
var url = var url =
`https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=${encodeURIComponent(this.name || '目的地')}&tocoord=${this.latitude},${this.longitude}&referer=${referer}` `https://map.qq.com/nav/drive#routes/page?transport=2&epointy=${this.latitude}&epointx=${this.longitude}&eword=${encodeURIComponent(this.name || '目的地')}&referer=${referer}`
this.$refs.map.src = url this.$refs.map.src = url
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册