From e27b5f0b922cc8adbbee8c0a274b0be62edf698f Mon Sep 17 00:00:00 2001 From: qiang Date: Mon, 3 Aug 2020 16:51:12 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20uni.setTabBarItem?= =?UTF-8?q?=20=E7=9B=B8=E5=85=B3=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/ui/tabbar.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/api/ui/tabbar.md b/docs/api/ui/tabbar.md index 91985806d..5fed49d57 100644 --- a/docs/api/ui/tabbar.md +++ b/docs/api/ui/tabbar.md @@ -10,15 +10,16 @@ **OBJECT参数说明:** -|属性|类型|默认值|必填|说明| -|:-|:-|:-|:-|:-| -|index|number||是|tabBar 的哪一项,从左边算起| -|text|String||否|tab 上的按钮文字| -|iconPath|String||否|图片路径,icon 大小限制为 40kb,建议尺寸为 81px * 81px,当 postion 为 top 时,此参数无效,不支持网络图片| -|selectedIconPath|String||否|选中时的图片路径,icon 大小限制为 40kb,建议尺寸为 81px * 81px ,当 postion 为 top 时,此参数无效| -|success|Funtion||否|接口调用成功的回调函数| -|fail|Funtion||否|接口调用失败的回调函数| -|complete|Funtion||否|接口调用结束的回调函数(调用成功、失败都会执行)| +|属性|类型|默认值|必填|说明|平台差异| +|:-|:-|:-|:-|:-|:-| +|index|number||是|tabBar 的哪一项,从左边算起|| +|text|String||否|tab 上的按钮文字|| +|iconPath|String||否|图片路径,icon 大小限制为 40kb,建议尺寸为 81px * 81px,当 postion 为 top 时,此参数无效,不支持网络图片|| +|selectedIconPath|String||否|选中时的图片路径,icon 大小限制为 40kb,建议尺寸为 81px * 81px ,当 postion 为 top 时,此参数无效|| +|pagePath|String||否|页面绝对路径,必须在 [pages](/collocation/pages?id=pages) 中先定义|App(2.8.4+)、H5(2.8.4+)| +|success|Funtion||否|接口调用成功的回调函数|| +|fail|Funtion||否|接口调用失败的回调函数|| +|complete|Funtion||否|接口调用结束的回调函数(调用成功、失败都会执行)|| **示例代码** -- GitLab