From 210208d41081d7618b5a9c08786b67dd697d72db Mon Sep 17 00:00:00 2001 From: wangzhitong Date: Wed, 18 Dec 2024 17:02:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20choose-media?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 21 + pages/API/choose-media/choose-media.uvue | 387 +++++++++++++++++++ pages/API/choose-media/fullscreen-video.uvue | 56 +++ 3 files changed, 464 insertions(+) create mode 100644 pages/API/choose-media/choose-media.uvue create mode 100644 pages/API/choose-media/fullscreen-video.uvue diff --git a/pages.json b/pages.json index 98055b21..886f2a58 100644 --- a/pages.json +++ b/pages.json @@ -1121,6 +1121,23 @@ "navigationBarTitleText": "compressVideo | 压缩视频" } }, + // #endif + // #ifdef APP + { + "path" : "pages/API/choose-media/choose-media", + "group": "1,7,11", + "style" : + { + "navigationBarTitleText" : "chooseMedia | 拍摄或从手机相册中选择图片或视频" + } + }, + { + "path" : "pages/API/choose-media/fullscreen-video", + "style" : + { + "navigationStyle" : "custom" + } + }, // #endif // #ifdef APP-ANDROID || APP-IOS || WEB || MP-WEIXIN { @@ -2982,6 +2999,10 @@ { "id": "api.media.getBackgroundAudioManager", "name": "getBackgroundAudioManager" + }, + { + "id": "api.media.chooseMedia", + "name": "chooseMedia" } ] }, diff --git a/pages/API/choose-media/choose-media.uvue b/pages/API/choose-media/choose-media.uvue new file mode 100644 index 00000000..d8632c7e --- /dev/null +++ b/pages/API/choose-media/choose-media.uvue @@ -0,0 +1,387 @@ + + + + + diff --git a/pages/API/choose-media/fullscreen-video.uvue b/pages/API/choose-media/fullscreen-video.uvue new file mode 100644 index 00000000..45689622 --- /dev/null +++ b/pages/API/choose-media/fullscreen-video.uvue @@ -0,0 +1,56 @@ + + + + + -- GitLab