mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	多模块重构 12:修改项目名字,按照新的规则
This commit is contained in:
		@@ -0,0 +1,35 @@
 | 
			
		||||
export default {
 | 
			
		||||
    props: {
 | 
			
		||||
        // item标签的名称,作为与u-tabbar的value参数匹配的标识符
 | 
			
		||||
        name: {
 | 
			
		||||
            type: [String, Number, null],
 | 
			
		||||
            default: uni.$u.props.tabbarItem.name
 | 
			
		||||
        },
 | 
			
		||||
        // uView内置图标或者绝对路径的图片
 | 
			
		||||
        icon: {
 | 
			
		||||
            icon: String,
 | 
			
		||||
            default: uni.$u.props.tabbarItem.icon
 | 
			
		||||
        },
 | 
			
		||||
        // 右上角的角标提示信息
 | 
			
		||||
        badge: {
 | 
			
		||||
            type: [String, Number, null],
 | 
			
		||||
            default: uni.$u.props.tabbarItem.badge
 | 
			
		||||
        },
 | 
			
		||||
        // 是否显示圆点,将会覆盖badge参数
 | 
			
		||||
        dot: {
 | 
			
		||||
            type: Boolean,
 | 
			
		||||
            default: uni.$u.props.tabbarItem.dot
 | 
			
		||||
        },
 | 
			
		||||
        // 描述文本
 | 
			
		||||
        text: {
 | 
			
		||||
            type: String,
 | 
			
		||||
            default: uni.$u.props.tabbarItem.text
 | 
			
		||||
        },
 | 
			
		||||
        // 控制徽标的位置,对象或者字符串形式,可以设置top和right属性
 | 
			
		||||
        badgeStyle: {
 | 
			
		||||
            type: [Object, String],
 | 
			
		||||
            default: uni.$u.props.tabbarItem.badgeStyle
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user