//设置角标
uni.setTabBarBadge({
index: 1,// 索引下标
text:1//动态数字
})
}else{
/清除角标
uni.removeTabBarBadge({
index: 1 // 索引下标
})
}