mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	多模块重构 12:修改项目名字,按照新的规则
This commit is contained in:
		@@ -0,0 +1,44 @@
 | 
			
		||||
export default {
 | 
			
		||||
    props: {
 | 
			
		||||
        // tab的数据
 | 
			
		||||
        list: {
 | 
			
		||||
            type: Array,
 | 
			
		||||
            default: uni.$u.props.subsection.list
 | 
			
		||||
        },
 | 
			
		||||
        // 当前活动的tab的index
 | 
			
		||||
        current: {
 | 
			
		||||
            type: [String, Number],
 | 
			
		||||
            default: uni.$u.props.subsection.current
 | 
			
		||||
        },
 | 
			
		||||
        // 激活的颜色
 | 
			
		||||
        activeColor: {
 | 
			
		||||
            type: String,
 | 
			
		||||
            default: uni.$u.props.subsection.activeColor
 | 
			
		||||
        },
 | 
			
		||||
        // 未激活的颜色
 | 
			
		||||
        inactiveColor: {
 | 
			
		||||
            type: String,
 | 
			
		||||
            default: uni.$u.props.subsection.inactiveColor
 | 
			
		||||
        },
 | 
			
		||||
        // 模式选择,mode=button为按钮形式,mode=subsection时为分段模式
 | 
			
		||||
        mode: {
 | 
			
		||||
            type: String,
 | 
			
		||||
            default: uni.$u.props.subsection.mode
 | 
			
		||||
        },
 | 
			
		||||
        // 字体大小
 | 
			
		||||
        fontSize: {
 | 
			
		||||
            type: [String, Number],
 | 
			
		||||
            default: uni.$u.props.subsection.fontSize
 | 
			
		||||
        },
 | 
			
		||||
        // 激活tab的字体是否加粗
 | 
			
		||||
        bold: {
 | 
			
		||||
            type: Boolean,
 | 
			
		||||
            default: uni.$u.props.subsection.bold
 | 
			
		||||
        },
 | 
			
		||||
        // mode = button时,组件背景颜色
 | 
			
		||||
        bgColor: {
 | 
			
		||||
            type: String,
 | 
			
		||||
            default: uni.$u.props.subsection.bgColor
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user