From d2c6d5b1923fc65bfea689e08ac4cb6e31998e4f Mon Sep 17 00:00:00 2001 From: wanganxp Date: Tue, 14 May 2024 06:21:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BE=E5=BC=80=E4=B8=80=E4=BA=9B=E6=96=B0?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 22 +++++---- pages/tabBar/API.uvue | 102 ++++++++++++++---------------------------- 2 files changed, 46 insertions(+), 78 deletions(-) diff --git a/pages.json b/pages.json index f067a47c..eb7ff08b 100644 --- a/pages.json +++ b/pages.json @@ -599,12 +599,6 @@ "navigationBarTitleText": "get-app-authorize-setting" } }, - { - "path": "pages/API/save-image-to-photos-album/save-image-to-photos-album", - "style": { - "navigationBarTitleText": "保存图片到相册" - } - }, // #endif { "path": "pages/API/preview-image/preview-image", @@ -618,7 +612,7 @@ "navigationBarTitleText": "拍摄图片或从相册中选择图片" } }, - // #ifdef APP-ANDROID + // #ifdef APP-ANDROID || WEB { "path" : "pages/API/get-image-info/get-image-info", "style" : @@ -626,6 +620,8 @@ "navigationBarTitleText" : "获取图片信息" } }, + // #endif + // #ifdef APP-ANDROID { "path" : "pages/API/compress-image/compress-image", "style" : @@ -634,7 +630,6 @@ } }, // #endif - // #ifdef APP { "path" : "pages/API/choose-video/choose-video", "style" : @@ -642,6 +637,13 @@ "navigationBarTitleText" : "拍摄视频或从相册中选择视频" } }, + // #ifndef WEB + { + "path": "pages/API/save-image-to-photos-album/save-image-to-photos-album", + "style": { + "navigationBarTitleText": "保存图片到相册" + } + }, { "path" : "pages/API/save-video-to-photos-album/save-video-to-photos-album", "style" : @@ -650,7 +652,7 @@ } }, // #endif - // #ifdef APP-ANDROID + // #ifdef APP-ANDROID || WEB { "path" : "pages/API/get-video-info/get-video-info", "style" : @@ -658,6 +660,8 @@ "navigationBarTitleText" : "获取视频信息" } }, + // #endif + // #ifdef APP-ANDROID { "path" : "pages/API/compress-video/compress-video", "style" : diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index fd634ee5..714f15d5 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -348,65 +348,57 @@ url: 'save-image-to-photos-album' }, // #endif - // #ifdef APP-ANDROID + // #ifdef APP-ANDROID || WEB { name: "获取图片信息", url: 'get-image-info' }, + // #endif + // #ifdef APP-ANDROID { name: "压缩图片", url: 'compress-image' }, // #endif - // #ifdef APP { name: "拍摄视频或从相册中选择视频", url: 'choose-video' }, + // #ifdef APP { name: "保存视频到相册", url: 'save-video-to-photos-album' }, // #endif - // #ifdef APP-ANDROID + // #ifdef APP-ANDROID || WEB { name: "获取视频信息", url: 'get-video-info' }, + // #endif + // #ifdef APP-ANDROID { name: "压缩视频", url: 'compress-video' }, // #endif /* { - name: "图片选择和拍照", - url: "image", - enable: false - },{ name: "音频", url: "inner-audio", }, - { - name: "录音", - url: "voice", - }, { name: "背景音频", url: "background-audio", }, { - name: "视频选择和拍照", - url: "video", - enable: false + name: "录音", + url: "rec", }, { name: "文件", url: "file", }, - { - name: "保存媒体到本地", - url: "save-media", - }, */ + */ ] as Page[], }, { @@ -446,7 +438,7 @@ } ] as Page[], }, - // #ifdef APP-ANDROID || APP-IOS + // #ifdef APP { id: 'file', name: '文件', @@ -485,12 +477,10 @@ id: 'login', name: '登录与认证', pages: [ - // #ifdef APP-ANDROID { name: '一键登录', url: 'get-univerify-manager', }, - // #endif { name: '实人认证', url: 'facial-recognition-verify', @@ -498,78 +488,52 @@ ] as Page[], }, // #endif - // #ifdef APP-ANDROID - { - id: 'ad', - name: '广告', - pages: [ - { - name: '激励视频广告', - url: 'rewarded-video-ad', - } - ] as Page[], - }, - { - id: 'permission-listener', - name: '权限申请监听', - pages: [ - { - name: '权限申请监听', - url: 'create-request-permission-listener', - } - ] as Page[] - }, - // #endif - // #ifdef APP-ANDROID || APP-IOS { id: "payment", name: "支付", pages: [ + // #ifndef WEB { name: "简易支付示例", url: "request-payment", }, + // #endif { name: "uni-pay支付示例", url: "request-payment-uni-pay", } ] as Page[], }, - // #endif - // #ifdef WEB + // #ifdef APP-ANDROID { - id: "payment", - name: "支付", + id: 'ad', + name: '广告', pages: [ { - name: "uni-pay支付示例", - url: "request-payment-uni-pay", + 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: "full-screen-video-ad", - url: "full-screen-video-ad", - name: "全屏视频广告", - enable: false, - pages: [] as Page[] - }, { - id: "login", - name: "登录", + id: 'permission-listener', + name: '权限申请监听', pages: [ { - name: "登录", - url: "login", - }, - { - name: "获取用户信息", - url: "get-user-info", - }, - ] as Page[], + name: '权限申请监听', + url: 'create-request-permission-listener', + } + ] as Page[] }, + // #endif + /* { id: "share", name: "分享", -- GitLab