yangan
2024-06-28 3fef62b03c16aa69c109c355150cdb698b777feb
pages/public-page/mapRoute/mapRoute.vue
@@ -29,9 +29,11 @@
</template>
<script>
   import { onlineurl } from '@/api/request.js'
   export default {
      data() {
         return {
            onlineurl,
            latitude: 38.04606544104117,
            longitude: 114.48735479816793,
            customerId: '',
@@ -47,7 +49,7 @@
            markers: [{
                  latitude: null,
                  longitude: null,
                  iconPath: 'https://mx.jzeg.cn:9095/appimg/image/banner/location.png',
                  iconPath: `${onlineurl}/appimg/image/banner/location.png`,
                  width: 23,
                  height: 33,
                  id: 0,
@@ -64,7 +66,7 @@
               {
                  latitude: null,
                  longitude: null,
                  iconPath: 'https://mx.jzeg.cn:9095/appimg/image/banner/location.png',
                  iconPath: `${onlineurl}/appimg/image/banner/location.png`,
                  width: 23,
                  height: 33,
                  id: 1,
@@ -158,7 +160,7 @@
                  from: fromLocation,
                  to: toLocation,
                  success: function(res) {
                     console.log(res);
                     console.log(res,'resutlss');
                     let ret = res;
                     let coors = ret.result.routes[0].polyline,
                        pl = [];