Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
良好的行为成为习惯
uni-app
提交
cb1a7dc9
U
uni-app
项目概览
良好的行为成为习惯
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cb1a7dc9
编写于
8月 08, 2021
作者:
study夏羽
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新快手小程序兼容性的文档
上级
79c7480b
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
96 addition
and
96 deletion
+96
-96
docs/api/key.md
docs/api/key.md
+12
-12
docs/api/ui/adapt.md
docs/api/ui/adapt.md
+14
-14
docs/api/ui/animation.md
docs/api/ui/animation.md
+3
-3
docs/api/ui/bgcolor.md
docs/api/ui/bgcolor.md
+6
-6
docs/api/ui/navigationbar.md
docs/api/ui/navigationbar.md
+12
-12
docs/api/ui/tabbar.md
docs/api/ui/tabbar.md
+27
-27
docs/component/vue-component.md
docs/component/vue-component.md
+18
-18
docs/component/web-view.md
docs/component/web-view.md
+4
-4
未找到文件。
docs/api/key.md
浏览文件 @
cb1a7dc9
...
...
@@ -6,9 +6,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|x|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|x|√|√|
√|
#### uni.onKeyboardHeightChange(CALLBACK)
...
...
@@ -17,9 +17,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|HBuilderX 2.2.3+|x|基础库2.7+|x|x|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|HBuilderX 2.2.3+|x|基础库2.7+|x|x|x|√|
√|
**CALLBACK 返回参数**
...
...
@@ -41,9 +41,9 @@ uni.onKeyboardHeightChange(res => {
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|HBuilderX 3.1.0+|x|基础库2.9.2+|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|HBuilderX 3.1.0+|x|基础库2.9.2+|x|x|x|x|
x|
**示例代码**
...
...
@@ -57,9 +57,9 @@ uni.offKeyboardHeightChange(callback)
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|HBuilderX 2.8.12+|HBuilderX 2.8.12+|基础库 2.7.0+|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|HBuilderX 2.8.12+|HBuilderX 2.8.12+|基础库 2.7.0+|x|x|x|x|
√|
**OBJECT 参数说明:**
...
...
docs/api/ui/adapt.md
浏览文件 @
cb1a7dc9
...
...
@@ -11,9 +11,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√|x|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|√|x|x|x|x|x|
x|
**代码示例**
...
...
@@ -29,9 +29,9 @@ uni.getTopWindowStyle()
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√|x|x|x|x|x|
|x|√|x|x|x|x|x|
x|
**代码示例**
...
...
@@ -47,9 +47,9 @@ uni.getLeftWindowStyle()
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√|x|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|√|x|x|x|x|x|
x|
**代码示例**
...
...
@@ -86,9 +86,9 @@ uni.setTopWindowStyle({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√|x|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|√|x|x|x|x|x|
x|
**OBJECT 参数说明**
...
...
@@ -113,9 +113,9 @@ uni.setLeftWindowStyle({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√|x|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|√|x|x|x|x|x|
x|
**OBJECT 参数说明**
...
...
docs/api/ui/animation.md
浏览文件 @
cb1a7dc9
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|HBuilderX 2.0.4+|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|HBuilderX 2.0.4+|√|√|√|√|√|
x|
**注意:**
-
export 方法每次调用后会清掉之前的动画操作
...
...
docs/api/ui/bgcolor.md
浏览文件 @
cb1a7dc9
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|√|
√|
**参数说明**
...
...
@@ -35,9 +35,9 @@ uni.setBackgroundColor({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|√|x|√|
√|
**参数说明**
...
...
docs/api/ui/navigationbar.md
浏览文件 @
cb1a7dc9
...
...
@@ -30,9 +30,9 @@ uni.setNavigationBarTitle({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|√|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|√|√|
√|
**OBJECT参数说明**
...
...
@@ -90,9 +90,9 @@ uni.setNavigationBarColor({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|√|√|√|√|x|√|
√|
App平台调用此API时会在屏幕中间悬浮显示loading
...
...
@@ -116,9 +116,9 @@ uni.showNavigationBarLoading()
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|√|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|√|√|√|√|x|√|
√|
App平台调用此API时会关闭屏幕中间悬浮显示的loading
...
...
@@ -143,9 +143,9 @@ uni.hideNavigationBarLoading()
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|x|x|√|x|x|1.48.0+|1.10.0+|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|x|x|√|x|x|1.48.0+|1.10.0+|
x|
**OBJECT参数说明**
...
...
docs/api/ui/tabbar.md
浏览文件 @
cb1a7dc9
...
...
@@ -4,9 +4,9 @@
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√(钉钉小程序不支持)|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√(钉钉小程序不支持)|√|x|√|
√|
**OBJECT参数说明:**
...
...
@@ -38,9 +38,9 @@ uni.setTabBarItem({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|x|√|
√|
**OBJECT参数说明:**
...
...
@@ -88,9 +88,9 @@ uni.setTabBarStyle({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|x|√|
√|
**OBJECT参数说明:**
...
...
@@ -107,9 +107,9 @@ uni.setTabBarStyle({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|x|√|
√|
**OBJECT参数说明:**
...
...
@@ -125,9 +125,9 @@ uni.setTabBarStyle({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|x|√|
√|
**OBJECT参数说明:**
...
...
@@ -153,9 +153,9 @@ uni.setTabBarBadge({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|x|√|
√|
**OBJECT参数说明:**
...
...
@@ -171,9 +171,9 @@ uni.setTabBarBadge({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|x|√|
√|
**OBJECT参数说明:**
...
...
@@ -189,9 +189,9 @@ uni.setTabBarBadge({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|√|√|√|x|√|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√|√|√|√|√|x|√|
√|
**OBJECT参数说明:**
...
...
@@ -207,9 +207,9 @@ uni.setTabBarBadge({
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√(HBuilderX 2.3.4+)|x|x|x|x|x|x|
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
快手小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|√(HBuilderX 2.3.4+)|x|x|x|x|x|x|
x|
**Tip**
...
...
docs/component/vue-component.md
浏览文件 @
cb1a7dc9
...
...
@@ -6,9 +6,9 @@
**平台差异说明**
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
|√ |√ |x |x |x |x |x |x |x |
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
快手小程序|
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
:-: |
|√ |√ |x |x |x |x |x |x |x |
x |
...
...
@@ -25,9 +25,9 @@
**平台差异说明**
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
|√ |√ |√ |√ |√ |√ |√ |√ |√ |
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
快手小程序|
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
:-: |
|√ |√ |√ |√ |√ |√ |√ |√ |√ |
√ |
**代码示例**
...
...
@@ -76,9 +76,9 @@
**平台差异说明**
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
|x |√ |x |x |x |x |x |x |x |
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
快手小程序|
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
:-: |
|x |√ |x |x |x |x |x |x |x |
x |
...
...
@@ -91,9 +91,9 @@
**平台差异说明**
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
|x |√ |x |x |x |x |x |x |x |
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
快手小程序|
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
:-: |
|x |√ |x |x |x |x |x |x |x |
x |
...
...
@@ -105,9 +105,9 @@
**平台差异说明**
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
|x |√ |x |x |x |x |x |x |x |
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
快手小程序|
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
:-: |
|x |√ |x |x |x |x |x |x |x |
x |
...
...
@@ -120,7 +120,7 @@
**平台差异说明**
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
|√ |√ |√ |√ |√ |√ |√ |√ |√ |
|App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序 |QQ小程序 |快应用 |360小程序 |
快手小程序|
|:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |
:-: |
|√ |√ |√ |√ |√ |√ |√ |√ |√ |
√ |
docs/component/web-view.md
浏览文件 @
cb1a7dc9
...
...
@@ -17,10 +17,10 @@
**src**
|来源|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|快应用|360小程序|
|:-|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|网络|√|√|√|√|√|√|√|√|√|
|本地|√|√|x|x|x|x|x|x|x|
|来源|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|快应用|360小程序|
快手小程序|
|:-|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
:-:|
|网络|√|√|√|√|√|√|√|√|√|
√|
|本地|√|√|x|x|x|x|x|x|x|
x|
**webview-styles**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录