MrShi
2023-11-02 50c564c2568e7fb52d8dcbcbebb937a6a8284eeb
bicycle/pages/maps/maps.vue
@@ -170,7 +170,7 @@
                     res.data.forEach((item, index) => {
                        this.markers.push({
                           id: index,
                           width: 30,
                           width: 40,
                           height: 40,
                           distance: this.latitude && this.longitude ? distance(this.latitude, this.longitude, item.latitude, item.longitude) : '未知距离',
                           latitude: item.latitude,
@@ -194,14 +194,14 @@
               if (item.id === e.markerId) {
                  this.rice = item.distance
                  item.customCallout.display = 'ALWAYS'
                  item.width = 40
                  item.width = 50
                  item.height = 50
                  setTimeout(() => {
                     this.info = item
                     this.show = true
                  }, 300)
               } else {
                  item.width = 30
                  item.width = 40
                  item.height = 40
                  item.customCallout.display = 'BYCLICK'
               }