diff --git a/ln_jq_app/android/app/src/main/java/com/lnkj/ln_jq_app/NativeMapView.java b/ln_jq_app/android/app/src/main/java/com/lnkj/ln_jq_app/NativeMapView.java
index ac8c009..487fe4f 100644
--- a/ln_jq_app/android/app/src/main/java/com/lnkj/ln_jq_app/NativeMapView.java
+++ b/ln_jq_app/android/app/src/main/java/com/lnkj/ln_jq_app/NativeMapView.java
@@ -618,9 +618,9 @@ public class NativeMapView implements PlatformView, LocationSource, AMapLocation
tvStationName.setText(endName);
tvStationAddr.setText(endAddress);
- double distanceKm = path.getDistance() / 1000f;
- long durationMin = path.getDuration() / 60;
- double tolls = path.getTolls();
+ double distanceKm = truckRouteData.pathDto.distance / 1000f;
+ long durationMin = truckRouteData.pathDto.duration / 60;
+ String tolls = truckRouteData.pathDto.tolls;
String hydrogenCost = "--"; // 默认显示横线
try {
@@ -634,7 +634,7 @@ public class NativeMapView implements PlatformView, LocationSource, AMapLocation
tvDuration.setText("预计时间:" + durationMin + "分钟");
tvDistance.setText("行驶里程:" + String.format("%.1f", distanceKm) + "公里");
- tvTolls.setText("过路费:" + (int) tolls + "元");
+ tvTolls.setText("过路费:" + tolls + "元");
tvTollsFuel.setText("加氢费用:" + (isGetInputtips ? "--" : hydrogenCost) + "元");
isGetInputtips = false;
diff --git a/ln_jq_app/ios/Runner/Info.plist b/ln_jq_app/ios/Runner/Info.plist
index 392eb31..ad2a821 100644
--- a/ln_jq_app/ios/Runner/Info.plist
+++ b/ln_jq_app/ios/Runner/Info.plist
@@ -37,6 +37,8 @@
LSRequiresIPhoneOS
+ LSSupportsOpeningDocumentsInPlace
+
NSCameraUsageDescription
需要访问您的相机以扫描二维码
NSLocationAlwaysAndWhenInUseUsageDescription
@@ -57,6 +59,8 @@
fetch
location
+ UIFileSharingEnabled
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
@@ -76,26 +80,5 @@
uses
-
-
- UIBackgroundModes
-
- remote-notification
- fetch
-
-
-CFBundleLocalizations
-
- zh-Hans
- en
-
-
-UIFileSharingEnabled
-
-
-LSSupportsOpeningDocumentsInPlace
-
-
-