Funny 3 лет назад
Родитель
Сommit
bd292d35a4

+ 2 - 2
src/components/orderComponents/orderAMap.vue

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

+ 1 - 1
src/components/orderComponents/orderList.vue

@@ -159,7 +159,7 @@
             <div class="order_item_cont">
               <div class="content">
                 {{ item.receiptContactName
-                }}<span>{{ item.receiptPhone }}{{orderDetail.receiptExtension ? "_" + orderDetail.receiptExtension : ""}}</span>
+                }}<span>{{ item.receiptPhone }}{{item.receiptExtension ? "_" + item.receiptExtension : ""}}</span>
               </div>
               <div class="address">
                 <!-- {{ item.receiptProvinceName }}