You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import defprops from '../../libs/config/props' ;
export default {
props : {
// item标签的名称, 作为与u-tabbar的value参数匹配的标识符
name : {
type : [ String , Number , null ] ,
default : defprops . tabbarItem . name
} ,
// uView内置图标或者绝对路径的图片
icon : {
icon : String ,
default : defprops . tabbarItem . icon
} ,
// 右上角的角标提示信息
badge : {
type : [ String , Number , null ] ,
default : defprops . tabbarItem . badge
} ,
// 是否显示圆点, 将会覆盖badge参数
dot : {
type : Boolean ,
default : defprops . tabbarItem . dot
} ,
// 描述文本
text : {
type : String ,
default : defprops . tabbarItem . text
} ,
// 控制徽标的位置, 对象或者字符串形式, 可以设置top和right属性
badgeStyle : {
type : [ Object , String ] ,
default : defprops . tabbarItem . badgeStyle
}
}
}