From 71d8c0133738fe2413aadf0dd05249ab331c2479 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 | 75 +++++++++---------- 4 files changed, 197 insertions(+), 39 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 912b3a6b..dc57f33e 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 a70426fc..d0e7507b 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); } - + -- GitLab