第一,直接页面头部引入Jquery,class分别对应返回值
<script type="text/javascript" src="//3gimg.qq.com/lightmap/components/locationPicker2/js/main-62c2e3b971.js"></script>
<script type="text/javascript"></script>
第二,页面直接到地图选择页面(注:红色代码部分更改成你当前网址)
<a class="addr" href="https://3gimg.qq.com/lightmap/components/locationPicker2/index.html?search=1&type=0&backurl=http://127.0.0.1:8020/%E7%94%A8%E5%B7%A5%E5%B9%B3%E5%8F%B0/publish.html?__hbt=1522722998334&key=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77&referer=myapp"></a>
然后直接点击你页面添加的A标签,链接到地图页面,选择一个地址,就会跳转到当前页面,并会把获得的值给上面JQUERY 里面对应的class,你只用给box写一个class既可。