Skip to content

Commit

Permalink
Update pages.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Nov 2, 2019
1 parent 99630fa commit c5bae8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/collocation/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ h5 平台下拉刷新动画,只有 circle 类型。
|height|String||50px|中间按钮的高度,可以大于 tabBar 高度,达到中间凸起的效果|
|text|String|||中间按钮的文字|
|iconPath|String|||中间按钮的图片路径|
|iconWidth|String||24px||图片宽度(高度等比例缩放)|
|iconWidth|String||24px|图片宽度(高度等比例缩放)|
|backgroundImage|String|||中间按钮的背景图片路径|

midButton没有pagePath,需监听点击事件,自行处理点击后的行为逻辑。监听点击事件为调用API:uni.onTabBarMidButtonTap,详见[https://uniapp.dcloud.io/api/ui/tabbar?id=ontabbarmidbuttontap](https://uniapp.dcloud.io/api/ui/tabbar?id=ontabbarmidbuttontap)
Expand Down

0 comments on commit c5bae8d

Please sign in to comment.