Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello uni-app x
提交
d2c6d5b1
H
hello uni-app x
项目概览
DCloud
/
hello uni-app x
通知
6018
Star
91
Fork
164
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
18
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hello uni-app x
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
18
Issue
18
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
d2c6d5b1
编写于
5月 14, 2024
作者:
W
wanganxp
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
放开一些新示例页面
上级
7783f427
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
46 addition
and
78 deletion
+46
-78
pages.json
pages.json
+13
-9
pages/tabBar/API.uvue
pages/tabBar/API.uvue
+33
-69
未找到文件。
pages.json
浏览文件 @
d2c6d5b1
...
@@ -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"
:
...
...
pages/tabBar/API.uvue
浏览文件 @
d2c6d5b1
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录