From 51cdc316b4561dcf95e019b34963961ba4eb48ee Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Thu, 27 Jun 2024 15:30:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5uni1=20web=E7=AB=AFapi?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=EF=BC=88=E5=9C=B0=E5=9B=BE=E9=80=89=E6=8B=A9?= =?UTF-8?q?/=E6=9F=A5=E7=9C=8B=E4=BD=8D=E7=BD=AE=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 14 ++++ .../API/choose-location/choose-location.uvue | 72 ++++++++++++++++++ pages/API/open-location/open-location.uvue | 75 +++++++++++++++++++ pages/tabBar/API.uvue | 21 +++--- 4 files changed, 173 insertions(+), 9 deletions(-) create mode 100644 pages/API/choose-location/choose-location.uvue create mode 100644 pages/API/open-location/open-location.uvue diff --git a/pages.json b/pages.json index 4474ed41..c807f5c4 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 00000000..c2f931a9 --- /dev/null +++ b/pages/API/choose-location/choose-location.uvue @@ -0,0 +1,72 @@ + + + + diff --git a/pages/API/open-location/open-location.uvue b/pages/API/open-location/open-location.uvue new file mode 100644 index 00000000..0daef1a2 --- /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 5ce38b8c..99cae142 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -423,15 +423,18 @@ { name: '获取当前位置', url: 'get-location', - }, - /* { - name: "使用地图查看位置", - url: "open-location", - }, - { - name: "使用地图选择位置", - url: "choose-location", - }, + }, + // #ifdef WEB + { + name: "使用地图查看位置", + url: "open-location", + }, + { + name: "使用地图选择位置", + url: "choose-location", + }, + // #endif + /* { name: "地图搜索", url: "map-search", -- GitLab