Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
r15132706585
uni-app
提交
79c7480b
U
uni-app
项目概览
r15132706585
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
79c7480b
编写于
8月 08, 2021
作者:
DCloud_JSON
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增快手小程序部分
上级
55597d82
变更
33
隐藏空白更改
内联
并排
Showing
33 changed file
with
168 addition
and
168 deletion
+168
-168
docs/api/media/audio-context.md
docs/api/media/audio-context.md
+3
-3
docs/api/media/background-audio-manager.md
docs/api/media/background-audio-manager.md
+3
-3
docs/api/media/camera-context.md
docs/api/media/camera-context.md
+3
-3
docs/api/media/editor-context.md
docs/api/media/editor-context.md
+9
-9
docs/api/media/file.md
docs/api/media/file.md
+6
-6
docs/api/media/image.md
docs/api/media/image.md
+9
-9
docs/api/media/live-player-context.md
docs/api/media/live-player-context.md
+3
-3
docs/api/other/authorize.md
docs/api/other/authorize.md
+3
-3
docs/api/other/choose-address.md
docs/api/other/choose-address.md
+3
-3
docs/api/other/get-extconfig.md
docs/api/other/get-extconfig.md
+6
-6
docs/api/other/getAccountInfoSync.md
docs/api/other/getAccountInfoSync.md
+3
-3
docs/api/other/invoice-title.md
docs/api/other/invoice-title.md
+3
-3
docs/api/other/open-miniprogram.md
docs/api/other/open-miniprogram.md
+3
-3
docs/api/other/set-enable-debug.md
docs/api/other/set-enable-debug.md
+3
-3
docs/api/other/setting.md
docs/api/other/setting.md
+6
-6
docs/api/other/template.md
docs/api/other/template.md
+21
-21
docs/api/other/update.md
docs/api/other/update.md
+3
-3
docs/api/plugins/login.md
docs/api/plugins/login.md
+15
-15
docs/api/plugins/payment.md
docs/api/plugins/payment.md
+3
-3
docs/api/plugins/share.md
docs/api/plugins/share.md
+9
-9
docs/api/system/accelerometer.md
docs/api/system/accelerometer.md
+3
-3
docs/api/system/barcode.md
docs/api/system/barcode.md
+3
-3
docs/api/system/ble.md
docs/api/system/ble.md
+3
-3
docs/api/system/bluetooth.md
docs/api/system/bluetooth.md
+3
-3
docs/api/system/brightness.md
docs/api/system/brightness.md
+9
-9
docs/api/system/capture-screen.md
docs/api/system/capture-screen.md
+3
-3
docs/api/system/clipboard.md
docs/api/system/clipboard.md
+3
-3
docs/api/system/compass.md
docs/api/system/compass.md
+6
-6
docs/api/system/contact.md
docs/api/system/contact.md
+3
-3
docs/api/system/ibeacon.md
docs/api/system/ibeacon.md
+3
-3
docs/api/system/memory.md
docs/api/system/memory.md
+3
-3
docs/api/system/network.md
docs/api/system/network.md
+3
-3
docs/api/ui/nodes-info.md
docs/api/ui/nodes-info.md
+6
-6
未找到文件。
docs/api/media/audio-context.md
浏览文件 @
79c7480b
...
...
@@ -3,9 +3,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|1.23.4+|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|1.23.4+|√|√|√|
√|
**innerAudioContext 对象的属性列表**
...
...
docs/api/media/background-audio-manager.md
浏览文件 @
79c7480b
...
...
@@ -5,9 +5,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|x|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|:-:|
|√|x|√|x|√|√|√|
√|x|
**backgroundAudioManager 对象的属性列表**
...
...
docs/api/media/camera-context.md
浏览文件 @
79c7480b
...
...
@@ -3,9 +3,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|√|
√|
本API为 camera 组件配套的js API,与 camera 组件的平台兼容性相同,可实现非全屏摄像头。App端可通过
[
plus.camera
](
https://www.html5plus.org/doc/zh_cn/camera.html
)
实现全屏摄像头。
...
...
docs/api/media/editor-context.md
浏览文件 @
79c7480b
...
...
@@ -238,9 +238,9 @@ editor 组件对应的 editorContext 实例,可通过 [uni.createSelectorQuery
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√
`HBuilderX 3.0.3`
|√
`HBuilderX 3.0.3`
|√
`基础库2.8.3`
|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√
`HBuilderX 3.0.3`
|√
`HBuilderX 3.0.3`
|√
`基础库2.8.3`
|x|x|x|x|
x|
**OBJECT 参数说明**
...
...
@@ -256,9 +256,9 @@ editor 组件对应的 editorContext 实例,可通过 [uni.createSelectorQuery
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√
`HBuilderX 3.0.3`
|√
`HBuilderX 3.0.3`
|√
`基础库2.8.3`
|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√
`HBuilderX 3.0.3`
|√
`HBuilderX 3.0.3`
|√
`基础库2.8.3`
|x|x|x|x|
x|
**OBJECT 参数说明**
...
...
@@ -274,9 +274,9 @@ editor 组件对应的 editorContext 实例,可通过 [uni.createSelectorQuery
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√
`HBuilderX 3.0.3`
|√
`HBuilderX 3.0.3`
|√
`基础库2.10.2`
|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√
`HBuilderX 3.0.3`
|√
`HBuilderX 3.0.3`
|√
`基础库2.10.2`
|x|x|x|x|
x|
**OBJECT 参数说明**
...
...
docs/api/media/file.md
浏览文件 @
79c7480b
...
...
@@ -8,9 +8,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√
`(HBuilder X2.9.9+)`
|x
`(可使用wx.chooseMessageFile)`
|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|√
`(HBuilder X2.9.9+)`
|x
`(可使用wx.chooseMessageFile)`
|x|x|x|x|
x|
-
App端如需选择非媒体文件,可在插件市场搜索
[
文件选择
](
https://ext.dcloud.net.cn/search?q=文件选择
)
,其中Android端可以使用Native.js,无需原生插件,而iOS端需要原生插件。
-
App端如果想选择下载到
`_doc`
、
`_downloads`
、
`_documents`
等plus.io控制的目录下的文件,可通过
[
plus.io Api
](
https://www.html5plus.org/doc/zh_cn/io.html
)
,自己做选择框。
...
...
@@ -94,7 +94,7 @@ uni.chooseFile({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√
`(基础库2.5.0+)`
|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√
`(基础库2.5.0+)`
|x|x|x|x|
x|
docs/api/media/image.md
浏览文件 @
79c7480b
...
...
@@ -155,9 +155,9 @@ uni.chooseImage({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|√|√|
√|
**OBJECT 参数说明**
...
...
@@ -214,9 +214,9 @@ uni.chooseImage({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|√|√|√|
√|
**OBJECT 参数说明**
...
...
@@ -262,9 +262,9 @@ uni.chooseImage({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|√(基础库版本>=3.110.3)|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|√(基础库版本>=3.110.3)|√|√|
√|
**OBJECT 参数说明**
...
...
docs/api/media/live-player-context.md
浏览文件 @
79c7480b
...
...
@@ -52,9 +52,9 @@ App平台的直播播放,不使用此API,而直接使用video的API。
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|见下|x|√|x|x|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|见下|x|√|x|x|x|√|
x|
-
app-nvue 平台 2.2.5+ 支持 uni.createLivePusherContext(livePusherId, this)
-
app-nvue 平台 2.2.5以下,需要同时设置组件属性id和ref
``<live-pusher id="livepusher1" ref="livepusher1"></live-pusher>``
,或者直接使用 ref,例如
``this.$refs.livepusher1``
...
...
docs/api/other/authorize.md
浏览文件 @
79c7480b
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|√|√|
√|
注意:App平台的授权判断方式,另见:
[
https://ext.dcloud.net.cn/plugin?id=594
](
https://ext.dcloud.net.cn/plugin?id=594
)
...
...
docs/api/other/choose-address.md
浏览文件 @
79c7480b
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|√|√|√|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|√|√|√|x|
x|
**OBJECT参数说明**
...
...
docs/api/other/get-extconfig.md
浏览文件 @
79c7480b
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|√|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|√|x|
x|
**OBJECT参数说明**
...
...
@@ -45,9 +45,9 @@ if (uni.getExtConfig) {
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|√|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|√|x|
x|
**返回值(Object)**
...
...
docs/api/other/getAccountInfoSync.md
浏览文件 @
79c7480b
...
...
@@ -5,9 +5,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|√|
√|
**返回值**
...
...
docs/api/other/invoice-title.md
浏览文件 @
79c7480b
...
...
@@ -6,9 +6,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|:-:|
|x|x|√|x|√|x|x|
√|x|
**OBJECT参数说明**
...
...
docs/api/other/open-miniprogram.md
浏览文件 @
79c7480b
...
...
@@ -46,9 +46,9 @@ uni.navigateToMiniProgram({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|√|√|√|√|
√|
**OBJECT参数说明**
...
...
docs/api/other/set-enable-debug.md
浏览文件 @
79c7480b
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|√|
x|
**OBJECT说明**
...
...
docs/api/other/setting.md
浏览文件 @
79c7480b
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|√|√|√|√|
√|
|属性|类型|必填|说明|
|---|---|---|---|---|
...
...
@@ -35,9 +35,9 @@ uni.openSetting({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|√|√|√|√|
√|
|属性|类型|默认值|必填|说明|
|---|---|---|---|---|
...
...
docs/api/other/template.md
浏览文件 @
79c7480b
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|x|
x|
**请求地址**
...
...
@@ -66,9 +66,9 @@ POST https://openapi.baidu.com/rest/2.0/smartapp/template/templateadd?access_tok
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|x|
x|
**请求地址**
```
...
...
@@ -120,9 +120,9 @@ POST https://openapi.baidu.com/rest/2.0/smartapp/template/templatedel?access_tok
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|x|
x|
**请求地址**
...
...
@@ -229,9 +229,9 @@ POST https://openapi.baidu.com/rest/2.0/smartapp/template/libraryget?access_toke
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|x|
x|
**请求地址**
...
...
@@ -318,9 +318,9 @@ POST https://openapi.baidu.com/rest/2.0/smartapp/template/librarylist?access_tok
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|x|
x|
**请求地址**
...
...
@@ -416,9 +416,9 @@ POST https://openapi.baidu.com/rest/2.0/smartapp/template/templatelist?access_to
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|x|
x|
**请求地址**
...
...
@@ -549,9 +549,9 @@ POST https://openapi.baidu.com/rest/2.0/smartapp/template/templatedel?access_tok
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|x|√|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|x|√|x|x|x|
x|
**请求地址**
...
...
docs/api/other/update.md
浏览文件 @
79c7480b
...
...
@@ -8,9 +8,9 @@ App的更新不使用本API,另见文档:
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|√|√|√|√|
√|
**updateManager 对象的方法列表:**
...
...
docs/api/plugins/login.md
浏览文件 @
79c7480b
...
...
@@ -3,9 +3,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|√|√|√|
√|
H5平台登录注意事项:
-
微信内嵌浏览器运行H5版时,可通过js sdk实现微信登录,需要引入一个单独的js,
[
详见
](
https://ask.dcloud.net.cn/article/35380
)
...
...
@@ -68,9 +68,9 @@ uni.login({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|:-:|
|x|x|√|x|√|√|√|
√|√|
|属性|类型|必填|说明|
|:-|:-|:-|:-|
...
...
@@ -85,9 +85,9 @@ uni.login({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|√|√|√|
√|
**注意:**
微信小程序端,在用户未授权过的情况下调用此接口,不会出现授权弹窗,会直接进入 fail 回调(详见
[
《微信小程序公告》
](
https://developers.weixin.qq.com/community/develop/doc/0000a26e1aca6012e896a517556c01
)
)。在用户已授权的情况下调用此接口,可成功获取用户信息。
...
...
@@ -250,9 +250,9 @@ uni.login({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|3.0.0+|x|x|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|3.0.0+|x|x|x|x|x|x|
x|
**OBJECT 参数说明**
...
...
@@ -269,6 +269,6 @@ uni.login({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|3.0.0+|x|x|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|3.0.0+|x|x|x|x|x|x|
x|
docs/api/plugins/payment.md
浏览文件 @
79c7480b
...
...
@@ -15,9 +15,9 @@ uni.requestPayment是一个统一各平台的客户端支付API,不管是在
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|
[
说明
](
/api/plugins/payment?id=h5-payment
)
|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|
[
说明
](
/api/plugins/payment?id=h5-payment
)
|√|√|√|√|√|
√|
**OBJECT 参数说明**
...
...
docs/api/plugins/share.md
浏览文件 @
79c7480b
...
...
@@ -17,9 +17,9 @@ uni-app的App引擎已经封装了微信、QQ、微博的分享SDK,开发者
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|x|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|x|x|x|x|x|
x|
**OBJECT 参数说明**
...
...
@@ -314,9 +314,9 @@ App端可调用手机的系统分享,实现所有注册分享的应用的呼
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|x|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|x|x|x|x|x|
x|
说明:
调用系统分享组件分享消息,通过msg参数设置分享内容。 发送成功后通过successCB回调函数通知操作完成,发送失败则通过errorCB回调返回。
...
...
@@ -361,9 +361,9 @@ App端可调用手机的系统分享,实现所有注册分享的应用的呼
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|√|x|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|√|x|√|√|
√|
|参数|类型|说明|平台差异说明|
...
...
docs/api/system/accelerometer.md
浏览文件 @
79c7480b
...
...
@@ -28,9 +28,9 @@ uni.onAccelerometerChange(function (res) {
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|HBuilderX 2.9.6+|HBuilderX 2.9.6+|基础库 2.9.3+|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|HBuilderX 2.9.6+|HBuilderX 2.9.6+|基础库 2.9.3+|x|x|x|x|
√|
### uni.startAccelerometer(OBJECT)
开始监听加速度数据。
...
...
docs/api/system/barcode.md
浏览文件 @
79c7480b
...
...
@@ -3,9 +3,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|√|√|√|
x|
**OBJECT 参数说明**
...
...
docs/api/system/ble.md
浏览文件 @
79c7480b
**低功耗蓝牙 API 平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|x|x|x|
x|
### uni.setBLEMTU(OBJECT)
...
...
docs/api/system/bluetooth.md
浏览文件 @
79c7480b
**蓝牙 API 平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|x|x|x|
x|
### uni.openBluetoothAdapter(OBJECT)
...
...
docs/api/system/brightness.md
浏览文件 @
79c7480b
...
...
@@ -3,9 +3,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|√|x|√|
√|
**OBJECT 参数说明**
...
...
@@ -34,9 +34,9 @@ uni.setScreenBrightness({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|√|x|√|
√|
**OBJECT 参数说明**
...
...
@@ -67,9 +67,9 @@ uni.getScreenBrightness({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|√|√|√|
√|
**OBJECT 参数说明**
...
...
docs/api/system/capture-screen.md
浏览文件 @
79c7480b
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|√|√|√|√|
√|
注:App没有内置截屏相关功能,可以在插件市场搜索相关插件,
[
详见
](
https://ext.dcloud.net.cn/search?q=%E6%88%AA%E5%B1%8F
)
...
...
docs/api/system/clipboard.md
浏览文件 @
79c7480b
**剪贴板 API 平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|√|√|
√|
### uni.setClipboardData(OBJECT)
设置系统剪贴板的内容。
...
...
docs/api/system/compass.md
浏览文件 @
79c7480b
...
...
@@ -23,9 +23,9 @@ uni.onCompassChange(function (res) {
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|HBuilderX 2.9.6+|HBuilderX 2.9.6+|基础库 2.9.3+|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|HBuilderX 2.9.6+|HBuilderX 2.9.6+|基础库 2.9.3+|x|x|x|x|
√|
**Tips**
-
`CALLBACK`
为调用
`uni.onCompassChange`
时传入的
`CALLBACK`
...
...
@@ -35,9 +35,9 @@ uni.onCompassChange(function (res) {
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|x|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|x|√|√|√|
√|
**OBJECT 参数说明**
...
...
docs/api/system/contact.md
浏览文件 @
79c7480b
...
...
@@ -5,9 +5,9 @@ App平台提供了更多通讯录相关API,包括读取联系人,详见:[h
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|√|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|√|x|x|
√|
**OBJECT 参数说明**
...
...
docs/api/system/ibeacon.md
浏览文件 @
79c7480b
**iBeacon API 平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|x|√|√|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|x|√|√|x|x|x|
x|
### uni.onBeaconServiceChange(CALLBACK)
...
...
docs/api/system/memory.md
浏览文件 @
79c7480b
...
...
@@ -6,9 +6,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|√|√|x|√|
√|
**CALLBACK返回参数:**
...
...
docs/api/system/network.md
浏览文件 @
79c7480b
...
...
@@ -61,9 +61,9 @@ uni.onNetworkStatusChange(function (res) {
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|HBuilderX 3.0.1+|HBuilderX 3.0.1+|基础库 2.9.3+|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|HBuilderX 3.0.1+|HBuilderX 3.0.1+|基础库 2.9.3+|x|x|x|x|
√|
**Tips**
-
`CALLBACK`
必须为调用
`uni.onNetworkStatusChange`
时传入的
`CALLBACK`
...
...
docs/api/ui/nodes-info.md
浏览文件 @
79c7480b
...
...
@@ -112,9 +112,9 @@ query.select('#id').boundingClientRect(data => {
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|HBuilderX 2.4.7+|√|x|x|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|HBuilderX 2.4.7+|√|x|x|x|√|
√|
**callback 返回参数**
...
...
@@ -128,9 +128,9 @@ query.select('#id').boundingClientRect(data => {
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|x|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|x|x|√|
√|
**callback 返回参数**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录