diff --git a/pages.json b/pages.json
index 912b3a6bdfec9103b7e496daf01d52717c1a8781..dc57f33e562713342dbcd7e129685697f48bee2b 100644
--- a/pages.json
+++ b/pages.json
@@ -400,6 +400,20 @@
"navigationBarTitleText" : "editor"
}
},
+ {
+ "path" : "pages/API/open-location/open-location",
+ "style" :
+ {
+ "navigationBarTitleText" : "open-location"
+ }
+ },
+ {
+ "path" : "pages/API/choose-location/choose-location",
+ "style" :
+ {
+ "navigationBarTitleText" : "choose-location"
+ }
+ },
// #endif
{
"path": "pages/component/list-view/issue-2199",
diff --git a/pages/API/choose-location/choose-location.uvue b/pages/API/choose-location/choose-location.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..c2f931a9a73f4286f6aec31cc412ac1f0adf1781
--- /dev/null
+++ b/pages/API/choose-location/choose-location.uvue
@@ -0,0 +1,72 @@
+
+
+
+
+
+ 当前位置信息
+
+ 未选择位置
+
+
+
+ {{locationAddress}}
+
+
+ E: {{location.longitude[0]}}°{{location.longitude[1]}}′
+ \nN: {{location.latitude[0]}}°{{location.latitude[1]}}′
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/API/open-location/open-location.uvue b/pages/API/open-location/open-location.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..0daef1a2e04bb41811bec3407fefe64f12a2bb61
--- /dev/null
+++ b/pages/API/open-location/open-location.uvue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue
index a70426fc98696dcfcd4cfb88e6ddee78defd015a..d0e7507b603e134957fe83a5d638ec1b1f9e1128 100644
--- a/pages/tabBar/API.uvue
+++ b/pages/tabBar/API.uvue
@@ -206,13 +206,13 @@
name: 'showToast轻提示框',
url: 'toast',
api: ["showToast"]
- }
- // #ifdef APP
- ,{
- name: '主题切换',
- url: 'theme-change',
- api: ["setAppTheme","onOsThemeChange","offOsThemeChange","onAppThemeChange","offAppThemeChange"]
- }
+ }
+ // #ifdef APP
+ ,{
+ name: '主题切换',
+ url: 'theme-change',
+ api: ["setAppTheme","onOsThemeChange","offOsThemeChange","onAppThemeChange","offAppThemeChange"]
+ }
// #endif
] as Page[],
},
@@ -292,14 +292,14 @@
{
name: "打电话",
url: "make-phone-call",
- },
- {
- name: "剪贴板",
- url: "clipboard",
- },
- {
- name: "监听罗盘数据",
- url: "on-compass-change",
+ },
+ {
+ name: "剪贴板",
+ url: "clipboard",
+ },
+ {
+ name: "监听罗盘数据",
+ url: "on-compass-change",
},
// #endif
/*
@@ -426,11 +426,6 @@
},
// #ifdef WEB
{
- name: "地图控制",
- url: "map",
- },
- // #endif
- /* {
name: "使用地图查看位置",
url: "open-location",
},
@@ -438,6 +433,8 @@
name: "使用地图选择位置",
url: "choose-location",
},
+ // #endif
+ /*
{
name: "地图搜索",
url: "map-search",
@@ -503,24 +500,24 @@
url: 'facial-recognition-verify',
}
] as Page[],
- },
- {
- id: 'ad',
- name: '广告',
- pages: [
- {
- name: '激励视频广告',
- url: 'rewarded-video-ad',
- }
- /* {
- id: "full-screen-video-ad",
- url: "full-screen-video-ad",
- name: "全屏视频广告",
- enable: false,
- pages: [] as Page[]
- }, */
- ] as Page[],
- },
+ },
+ {
+ id: 'ad',
+ name: '广告',
+ pages: [
+ {
+ name: '激励视频广告',
+ url: 'rewarded-video-ad',
+ }
+ /* {
+ id: "full-screen-video-ad",
+ url: "full-screen-video-ad",
+ name: "全屏视频广告",
+ enable: false,
+ pages: [] as Page[]
+ }, */
+ ] as Page[],
+ },
// #endif
{
id: "payment",
@@ -630,4 +627,4 @@
display: none;
background-color: rgba(16, 16, 16, 0.5);
}
-
+