uniapp中设置tabbar通知栏上的角标
uni.setTabBarBadge(OBJECT)显示数字uni.removeTabBarBadge(OBJECT)移除数字uni.showTabBarRedDot(OBJECT)显示红点uni.hideTabBarRedDot(OBJECT)隐藏红点uni.setTabBarBadge({index: 2,text: '5'})uni.removeTabBarBadge({index:2})u
·
uni.setTabBarBadge(OBJECT)
显示数字
uni.removeTabBarBadge(OBJECT)
移除数字
uni.showTabBarRedDot(OBJECT)
显示红点
uni.hideTabBarRedDot(OBJECT)
隐藏红点
uni.setTabBarBadge({
index: 2,
text: '5'
})
uni.removeTabBarBadge({
index:2
})
uni.showTabBarRedDot({
index: 2,
text: '5'
})
uni.hideTabBarRedDot({index:2})
更多推荐
已为社区贡献2条内容
所有评论(0)