diff --git a/pages.json b/pages.json index f067a47ccc219e6ed95ca9bc08b834c9e61749e3..eb7ff08b3c9473f70560aa0a60f8bb24c9b56ac3 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 fd634ee53e91f6b03c9fc2cfb81e35e6eb553fe2..714f15d54702840bdc8f4de9eacfe155c38d28f2 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: "分享",