hookehuyr

fix 细节修复

...@@ -376,7 +376,7 @@ var activityInfo = [ ...@@ -376,7 +376,7 @@ var activityInfo = [
376 { 376 {
377 name: '包子铺', 377 name: '包子铺',
378 position: [120.586912, 31.314195], 378 position: [120.586912, 31.314195],
379 - icon: 'https://cdn.ipadbiz.cn/xys/map/%E8%8A%B1%E5%9B%AD@2x.png', 379 + icon: 'https://cdn.ipadbiz.cn/xys/map/%E9%A4%90%E9%A5%AE@2x.png',
380 details: [ 380 details: [
381 { 381 {
382 name: '', 382 name: '',
...@@ -389,7 +389,7 @@ var activityInfo = [ ...@@ -389,7 +389,7 @@ var activityInfo = [
389 { 389 {
390 name: '开水房', 390 name: '开水房',
391 position: [120.586812, 31.314049], 391 position: [120.586812, 31.314049],
392 - icon: 'https://cdn.ipadbiz.cn/xys/map/%E8%8A%B1%E5%9B%AD@2x.png', 392 + icon: 'https://cdn.ipadbiz.cn/xys/map/%E9%A4%90%E9%A5%AE@2x.png',
393 details: [ 393 details: [
394 { 394 {
395 name: '', 395 name: '',
...@@ -402,7 +402,7 @@ var activityInfo = [ ...@@ -402,7 +402,7 @@ var activityInfo = [
402 { 402 {
403 name: '茶室', 403 name: '茶室',
404 position: [120.58681, 31.314981], 404 position: [120.58681, 31.314981],
405 - icon: 'https://cdn.ipadbiz.cn/xys/map/%E8%8A%B1%E5%9B%AD@2x.png', 405 + icon: 'https://cdn.ipadbiz.cn/xys/map/%E9%A4%90%E9%A5%AE@2x.png',
406 details: [ 406 details: [
407 { 407 {
408 name: '', 408 name: '',
......
1 <!-- 1 <!--
2 * @Date: 2023-05-19 14:54:27 2 * @Date: 2023-05-19 14:54:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-06-27 11:28:41 4 + * @LastEditTime: 2023-06-28 09:49:21
5 * @FilePath: /map-demo/src/views/index.vue 5 * @FilePath: /map-demo/src/views/index.vue
6 * @Description: 地图主体页面 6 * @Description: 地图主体页面
7 --> 7 -->
...@@ -212,7 +212,7 @@ export default { ...@@ -212,7 +212,7 @@ export default {
212 navBarList: [], 212 navBarList: [],
213 rect: {}, 213 rect: {},
214 navList: [], 214 navList: [],
215 - navName: 'spotInfo' 215 + navName: 'spotInfo',
216 } 216 }
217 }, 217 },
218 mounted() { 218 mounted() {
...@@ -814,6 +814,9 @@ export default { ...@@ -814,6 +814,9 @@ export default {
814 // } else { 814 // } else {
815 // this.setWalkRoute({ lng: this.current_lng, lat: this.current_lat }, { lng: position[0], lat: position[1] }) 815 // this.setWalkRoute({ lng: this.current_lng, lat: this.current_lat }, { lng: position[0], lat: position[1] })
816 // } 816 // }
817 + if (this.walk_route) { // 清除前一条步行导航
818 + this.walk_route.clear();
819 + }
817 // 测试 820 // 测试
818 this.closeInfoWindow(); // 关闭弹框 821 this.closeInfoWindow(); // 关闭弹框
819 this.setWalkRoute({ lng: 120.59014, lat: 31.310306 }, { lng: position[0], lat: position[1] }); 822 this.setWalkRoute({ lng: 120.59014, lat: 31.310306 }, { lng: position[0], lat: position[1] });
......