设备 预约接口

This commit is contained in:
czz
2025-06-12 09:03:44 +08:00
parent 6ec1c79866
commit d5c3addd4a
23 changed files with 1488 additions and 1324 deletions

View File

@@ -188,27 +188,23 @@ class ExperienceStoreWidget extends GetView {
child: InkWell(
onTap: () async {
//"latitude" -> "31.858934" "longitude" -> "117.282166"
// AppMapLocation.checkInstalledApps()
// .then((d) {
// if (AppMapLocation
// .availableMapsToNames.isEmpty) {
// showToast("未检测到导航软件");
// } else {
// showOneSelectionDialog(context,
// title: "选择地图",
// arr: AppMapLocation
// .availableMapsToNames,
// checkChange: (index) {
// AppMapLocation.launchMap(
// index,
// data["name"],
// double.parse(
// "${data["latitude"]}"),
// double.parse(
// "${data["longitude"]}"));
// });
// }
// });
AppMapLocation.checkInstalledApps().then((d) {
if (AppMapLocation
.availableMapsToNames.isEmpty) {
showToast("未检测到导航软件");
} else {
showOneSelectionDialog(context,
title: "选择地图",
arr: AppMapLocation.availableMapsToNames,
checkChange: (index) {
AppMapLocation.launchMap(
index,
data["name"],
double.parse("${data["latitude"]}"),
double.parse("${data["longitude"]}"));
});
}
});
},
child: Container(
width: MediaQuery.sizeOf(context).width * 0.105,