|
@@ -113,10 +113,10 @@ export default {
|
|
id: 1,
|
|
id: 1,
|
|
position: [data.sendLng, data.sendLat],
|
|
position: [data.sendLng, data.sendLat],
|
|
icon: "/static/image/map-fa.png",
|
|
icon: "/static/image/map-fa.png",
|
|
- offset: [10, -50],
|
|
|
|
label: {
|
|
label: {
|
|
content: `商家距离目的地${orderDistance}`,
|
|
content: `商家距离目的地${orderDistance}`,
|
|
direction: "top",
|
|
direction: "top",
|
|
|
|
+ offset: [-10, -20],
|
|
},
|
|
},
|
|
};
|
|
};
|
|
let receiptM = {
|
|
let receiptM = {
|
|
@@ -141,7 +141,6 @@ export default {
|
|
id: 3,
|
|
id: 3,
|
|
position: [mapData.shipperLng, mapData.shipperLat],
|
|
position: [mapData.shipperLng, mapData.shipperLat],
|
|
icon: "/static/image/map-rider.png",
|
|
icon: "/static/image/map-rider.png",
|
|
- offset: [15, -50],
|
|
|
|
label: {
|
|
label: {
|
|
content:
|
|
content:
|
|
data.buttonStatus === 2
|
|
data.buttonStatus === 2
|
|
@@ -150,6 +149,7 @@ export default {
|
|
? `骑手距离目的地${distance} | 预计${mapData.estimateArriveTime}送达`
|
|
? `骑手距离目的地${distance} | 预计${mapData.estimateArriveTime}送达`
|
|
: "",
|
|
: "",
|
|
direction: "top",
|
|
direction: "top",
|
|
|
|
+ offset: [-10, -20],
|
|
},
|
|
},
|
|
};
|
|
};
|
|
this.markers.push(riderM);
|
|
this.markers.push(riderM);
|