Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello uni-app x
提交
d2c6d5b1
H
hello uni-app x
项目概览
DCloud
/
hello uni-app x
通知
5995
Star
90
Fork
162
代码
文件
提交
分支
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 @@
"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"
:
...
...
pages/tabBar/API.uvue
浏览文件 @
d2c6d5b1
...
...
@@ -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: "分享",
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录