未验证 提交 23408b93 编写于 作者: F Felix Yan 提交者: GitHub

Correct typos and table styles in docs/api/ui/bgcolor.md

上级 bbb6581e
......@@ -15,9 +15,9 @@
|backgroundColor|String||否|窗口的背景色,必须为十六进制颜色值|
|backgroundColorTop|String||否|顶部窗口的背景色,必须为十六进制颜色值,仅 iOS 支持|
|backgroundColorBottom|String||否|底部窗口的背景色,必须为十六进制颜色值,仅 iOS 支持|
|success|Funtion||否|接口调用成功的回调函数|
|fail|Funtion||否|接口调用失败的回调函数|
|complete|Funtion||否|接口调用结束的回调函数(调用成功、失败都会执行)|
|success|Function||否|接口调用成功的回调函数|
|fail|Function||否|接口调用失败的回调函数|
|complete|Function||否|接口调用结束的回调函数(调用成功、失败都会执行)|
**代码示例**
......@@ -42,11 +42,11 @@ uni.setBackgroundColor({
**参数说明**
|属性|类型|必填|说明|
|:-|:-|:-|:-|:-|
|:-|:-|:-|:-|
|textStyle|String|是|下拉背景字体、loading 图的样式,值为:dark、light|
|success|Funtion|否|接口调用成功的回调函数|
|fail|Funtion|否|接口调用失败的回调函数|
|complete|Funtion|否|接口调用结束的回调函数(调用成功、失败都会执行)|
|success|Function|否|接口调用成功的回调函数|
|fail|Function|否|接口调用失败的回调函数|
|complete|Function|否|接口调用结束的回调函数(调用成功、失败都会执行)|
**代码示例**
......@@ -54,4 +54,4 @@ uni.setBackgroundColor({
uni.setBackgroundTextStyle({
textStyle: 'dark' // 下拉背景字体、loading 图的样式为dark
})
```
\ No newline at end of file
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册