소스 검색

fix: 修改导航定位问题

szr190 2 주 전
부모
커밋
779394e64d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/base/common/nursingRoom.vue
  2. 1 1
      src/pages/service.vue

+ 1 - 1
src/base/common/nursingRoom.vue

@@ -54,7 +54,7 @@ onLoad(async () => {
54 54
   display: flex;
55 55
   flex-wrap: wrap;
56 56
   align-items: center;
57
-  justify-content: space-between;
57
+  // justify-content: space-between;
58 58
   margin-top: 24rpx;
59 59
   :deep(.tag-item-wrapper) {
60 60
     margin-right: 30rpx;

+ 1 - 1
src/pages/service.vue

@@ -74,7 +74,7 @@ const goToNavigation = (longitude: string, latitude: string, name: string) => {
74 74
                   <image class="icon-arrive" :src="minioUrl + '/icon_arrive.png'" mode="aspectFill" />
75 75
                   <view class="t">{{ item.content.endLocation }}</view>
76 76
                 </view>
77
-                <view class="icon-go" @click="goToNavigation(item.content.endLongitude, item.content.endLatitude, item.content.title)">
77
+                <view class="icon-go" @click="goToNavigation(item.content.longitude, item.content.latitude, item.title)">
78 78
                   <image :src="minioUrl + '/icon_blue_go.png'" mode="aspectFill" />
79 79
                 </view>
80 80
               </view>