提交 d2c6d5b1 编写于 作者: W wanganxp

放开一些新示例页面

上级 7783f427
...@@ -599,12 +599,6 @@ ...@@ -599,12 +599,6 @@
"navigationBarTitleText": "get-app-authorize-setting" "navigationBarTitleText": "get-app-authorize-setting"
} }
}, },
{
"path": "pages/API/save-image-to-photos-album/save-image-to-photos-album",
"style": {
"navigationBarTitleText": "保存图片到相册"
}
},
// #endif // #endif
{ {
"path": "pages/API/preview-image/preview-image", "path": "pages/API/preview-image/preview-image",
...@@ -618,7 +612,7 @@ ...@@ -618,7 +612,7 @@
"navigationBarTitleText": "拍摄图片或从相册中选择图片" "navigationBarTitleText": "拍摄图片或从相册中选择图片"
} }
}, },
// #ifdef APP-ANDROID // #ifdef APP-ANDROID || WEB
{ {
"path" : "pages/API/get-image-info/get-image-info", "path" : "pages/API/get-image-info/get-image-info",
"style" : "style" :
...@@ -626,6 +620,8 @@ ...@@ -626,6 +620,8 @@
"navigationBarTitleText" : "获取图片信息" "navigationBarTitleText" : "获取图片信息"
} }
}, },
// #endif
// #ifdef APP-ANDROID
{ {
"path" : "pages/API/compress-image/compress-image", "path" : "pages/API/compress-image/compress-image",
"style" : "style" :
...@@ -634,7 +630,6 @@ ...@@ -634,7 +630,6 @@
} }
}, },
// #endif // #endif
// #ifdef APP
{ {
"path" : "pages/API/choose-video/choose-video", "path" : "pages/API/choose-video/choose-video",
"style" : "style" :
...@@ -642,6 +637,13 @@ ...@@ -642,6 +637,13 @@
"navigationBarTitleText" : "拍摄视频或从相册中选择视频" "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", "path" : "pages/API/save-video-to-photos-album/save-video-to-photos-album",
"style" : "style" :
...@@ -650,7 +652,7 @@ ...@@ -650,7 +652,7 @@
} }
}, },
// #endif // #endif
// #ifdef APP-ANDROID // #ifdef APP-ANDROID || WEB
{ {
"path" : "pages/API/get-video-info/get-video-info", "path" : "pages/API/get-video-info/get-video-info",
"style" : "style" :
...@@ -658,6 +660,8 @@ ...@@ -658,6 +660,8 @@
"navigationBarTitleText" : "获取视频信息" "navigationBarTitleText" : "获取视频信息"
} }
}, },
// #endif
// #ifdef APP-ANDROID
{ {
"path" : "pages/API/compress-video/compress-video", "path" : "pages/API/compress-video/compress-video",
"style" : "style" :
......
...@@ -348,65 +348,57 @@ ...@@ -348,65 +348,57 @@
url: 'save-image-to-photos-album' url: 'save-image-to-photos-album'
}, },
// #endif // #endif
// #ifdef APP-ANDROID // #ifdef APP-ANDROID || WEB
{ {
name: "获取图片信息", name: "获取图片信息",
url: 'get-image-info' url: 'get-image-info'
}, },
// #endif
// #ifdef APP-ANDROID
{ {
name: "压缩图片", name: "压缩图片",
url: 'compress-image' url: 'compress-image'
}, },
// #endif // #endif
// #ifdef APP
{ {
name: "拍摄视频或从相册中选择视频", name: "拍摄视频或从相册中选择视频",
url: 'choose-video' url: 'choose-video'
}, },
// #ifdef APP
{ {
name: "保存视频到相册", name: "保存视频到相册",
url: 'save-video-to-photos-album' url: 'save-video-to-photos-album'
}, },
// #endif // #endif
// #ifdef APP-ANDROID // #ifdef APP-ANDROID || WEB
{ {
name: "获取视频信息", name: "获取视频信息",
url: 'get-video-info' url: 'get-video-info'
}, },
// #endif
// #ifdef APP-ANDROID
{ {
name: "压缩视频", name: "压缩视频",
url: 'compress-video' url: 'compress-video'
}, },
// #endif // #endif
/* { /* {
name: "图片选择和拍照",
url: "image",
enable: false
},{
name: "音频", name: "音频",
url: "inner-audio", url: "inner-audio",
}, },
{
name: "录音",
url: "voice",
},
{ {
name: "背景音频", name: "背景音频",
url: "background-audio", url: "background-audio",
}, },
{ {
name: "视频选择和拍照", name: "录音",
url: "video", url: "rec",
enable: false
}, },
{ {
name: "文件", name: "文件",
url: "file", url: "file",
}, },
{ */
name: "保存媒体到本地",
url: "save-media",
}, */
] as Page[], ] as Page[],
}, },
{ {
...@@ -446,7 +438,7 @@ ...@@ -446,7 +438,7 @@
} }
] as Page[], ] as Page[],
}, },
// #ifdef APP-ANDROID || APP-IOS // #ifdef APP
{ {
id: 'file', id: 'file',
name: '文件', name: '文件',
...@@ -485,12 +477,10 @@ ...@@ -485,12 +477,10 @@
id: 'login', id: 'login',
name: '登录与认证', name: '登录与认证',
pages: [ pages: [
// #ifdef APP-ANDROID
{ {
name: '一键登录', name: '一键登录',
url: 'get-univerify-manager', url: 'get-univerify-manager',
}, },
// #endif
{ {
name: '实人认证', name: '实人认证',
url: 'facial-recognition-verify', url: 'facial-recognition-verify',
...@@ -498,78 +488,52 @@ ...@@ -498,78 +488,52 @@
] as Page[], ] as Page[],
}, },
// #endif // #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", id: "payment",
name: "支付", name: "支付",
pages: [ pages: [
// #ifndef WEB
{ {
name: "简易支付示例", name: "简易支付示例",
url: "request-payment", url: "request-payment",
}, },
// #endif
{ {
name: "uni-pay支付示例", name: "uni-pay支付示例",
url: "request-payment-uni-pay", url: "request-payment-uni-pay",
} }
] as Page[], ] as Page[],
}, },
// #endif // #ifdef APP-ANDROID
// #ifdef WEB
{ {
id: "payment", id: 'ad',
name: "支付", name: '广告',
pages: [ pages: [
{ {
name: "uni-pay支付示例", name: '激励视频广告',
url: "request-payment-uni-pay", url: 'rewarded-video-ad',
} }
] as Page[], /* {
},
// #endif
/*
{
id: "full-screen-video-ad", id: "full-screen-video-ad",
url: "full-screen-video-ad", url: "full-screen-video-ad",
name: "全屏视频广告", name: "全屏视频广告",
enable: false, enable: false,
pages: [] as Page[] pages: [] as Page[]
}, */
] as Page[],
}, },
{ {
id: "login", id: 'permission-listener',
name: "登录", name: '权限申请监听',
pages: [ pages: [
{ {
name: "登录", name: '权限申请监听',
url: "login", url: 'create-request-permission-listener',
}, }
{ ] as Page[]
name: "获取用户信息",
url: "get-user-info",
},
] as Page[],
}, },
// #endif
/*
{ {
id: "share", id: "share",
name: "分享", name: "分享",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册