set-tab-bar.md 2.4 KB
Newer Older
D
DCloud_LXH 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
## uni.showTabBar(options?) @showtabbar

<!-- UTSAPIJSON.showTabBar.description -->

<!-- UTSAPIJSON.showTabBar.compatibility -->

<!-- UTSAPIJSON.showTabBar.param -->

<!-- UTSAPIJSON.showTabBar.returnValue -->

<!-- UTSAPIJSON.showTabBar.tutorial -->

## uni.hideTabBar(options?) @hidetabbar

<!-- UTSAPIJSON.hideTabBar.description -->

<!-- UTSAPIJSON.hideTabBar.compatibility -->

<!-- UTSAPIJSON.hideTabBar.param -->

<!-- UTSAPIJSON.hideTabBar.returnValue -->

<!-- UTSAPIJSON.hideTabBar.tutorial -->

## uni.showTabBarRedDot(options) @showtabbarreddot

<!-- UTSAPIJSON.showTabBarRedDot.description -->

<!-- UTSAPIJSON.showTabBarRedDot.compatibility -->

<!-- UTSAPIJSON.showTabBarRedDot.param -->

<!-- UTSAPIJSON.showTabBarRedDot.returnValue -->

<!-- UTSAPIJSON.showTabBarRedDot.tutorial -->

## uni.hideTabBarRedDot(options) @hidetabbarreddot

<!-- UTSAPIJSON.hideTabBarRedDot.description -->

<!-- UTSAPIJSON.hideTabBarRedDot.compatibility -->

<!-- UTSAPIJSON.hideTabBarRedDot.param -->

<!-- UTSAPIJSON.hideTabBarRedDot.returnValue -->

<!-- UTSAPIJSON.hideTabBarRedDot.tutorial -->

## uni.setTabBarBadge(options) @settabbarbadge

<!-- UTSAPIJSON.setTabBarBadge.description -->

<!-- UTSAPIJSON.setTabBarBadge.compatibility -->

<!-- UTSAPIJSON.setTabBarBadge.param -->

<!-- UTSAPIJSON.setTabBarBadge.returnValue -->

<!-- UTSAPIJSON.setTabBarBadge.tutorial -->

## uni.removeTabBarBadge(options) @removetabbarbadge

<!-- UTSAPIJSON.removeTabBarBadge.description -->

<!-- UTSAPIJSON.removeTabBarBadge.compatibility -->

<!-- UTSAPIJSON.removeTabBarBadge.param -->

<!-- UTSAPIJSON.removeTabBarBadge.returnValue -->

<!-- UTSAPIJSON.removeTabBarBadge.tutorial -->

## uni.setTabBarStyle(options) @settabbarstyle

<!-- UTSAPIJSON.setTabBarStyle.description -->

<!-- UTSAPIJSON.setTabBarStyle.compatibility -->

<!-- UTSAPIJSON.setTabBarStyle.param -->

<!-- UTSAPIJSON.setTabBarStyle.returnValue -->

<!-- UTSAPIJSON.setTabBarStyle.tutorial -->

## uni.setTabBarItem(options) @settabbaritem

<!-- UTSAPIJSON.setTabBarItem.description -->

<!-- UTSAPIJSON.setTabBarItem.compatibility -->

<!-- UTSAPIJSON.setTabBarItem.param -->

<!-- UTSAPIJSON.setTabBarItem.returnValue -->

<!-- UTSAPIJSON.setTabBarItem.tutorial -->

<!-- UTSAPIJSON.general_type.name -->

<!-- UTSAPIJSON.general_type.param -->
D
DCloud_LXH 已提交
100 101 102

## Bug & Tips @tips
- 自 4.23 起,在非 tabbar 页面调用已上 API 会报错:hideTabBar:fail not TabBar page