From abd8348b158afe9effc680a23955f7dd3fddfc46 Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Mon, 20 May 2024 21:06:09 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 21 + pages/API/inner-audio/inner-audio.uvue | 124 +++++ .../API/make-phone-call/make-phone-call.uvue | 51 ++ pages/API/map/map.uvue | 458 ++++++++++++++++++ pages/tabBar/API.uvue | 34 +- 5 files changed, 675 insertions(+), 13 deletions(-) create mode 100644 pages/API/inner-audio/inner-audio.uvue create mode 100644 pages/API/make-phone-call/make-phone-call.uvue create mode 100644 pages/API/map/map.uvue diff --git a/pages.json b/pages.json index f9950687..05effe7b 100644 --- a/pages.json +++ b/pages.json @@ -1280,6 +1280,27 @@ "navigationBarTitleText" : "editor" } }, + { + "path" : "pages/API/map/map", + "style" : + { + "navigationBarTitleText" : "map" + } + }, + { + "path" : "pages/API/make-phone-call/make-phone-call", + "style" : + { + "navigationBarTitleText" : "make-phone-call" + } + }, + { + "path" : "pages/API/inner-audio/inner-audio", + "style" : + { + "navigationBarTitleText" : "inner-audio" + } + }, // #endif // #ifdef APP { diff --git a/pages/API/inner-audio/inner-audio.uvue b/pages/API/inner-audio/inner-audio.uvue new file mode 100644 index 00000000..69c6b1c2 --- /dev/null +++ b/pages/API/inner-audio/inner-audio.uvue @@ -0,0 +1,124 @@ + + + diff --git a/pages/API/make-phone-call/make-phone-call.uvue b/pages/API/make-phone-call/make-phone-call.uvue new file mode 100644 index 00000000..33b784a9 --- /dev/null +++ b/pages/API/make-phone-call/make-phone-call.uvue @@ -0,0 +1,51 @@ + + + + diff --git a/pages/API/map/map.uvue b/pages/API/map/map.uvue new file mode 100644 index 00000000..f4dbf29e --- /dev/null +++ b/pages/API/map/map.uvue @@ -0,0 +1,458 @@ + + + + + diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index c88e37cf..19e49761 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -280,11 +280,14 @@ name: '安装Apk', url: 'install-apk' }, + // #endif + // #ifdef WEB + { + name: "打电话", + url: "make-phone-call", + }, // #endif - /* { - name: "打电话", - url: "make-phone-call", - }, + /* { name: "震动", url: "vibrate", @@ -387,11 +390,14 @@ name: "压缩视频", url: 'compress-video' }, + // #endif + // #ifdef WEB + { + name: "音频", + url: "inner-audio", + }, // #endif - /* { - name: "音频", - url: "inner-audio", - }, + /* { name: "背景音频", url: "background-audio", @@ -414,7 +420,13 @@ { name: '获取当前位置', url: 'get-location', - }, + }, + // #ifdef WEB + { + name: "地图控制", + url: "map", + }, + // #endif /* { name: "使用地图查看位置", url: "open-location", @@ -423,10 +435,6 @@ name: "使用地图选择位置", url: "choose-location", }, - { - name: "地图控制", - url: "map", - }, { name: "地图搜索", url: "map-search", -- GitLab