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,49 @@
 | 
			
		||||
export default {
 | 
			
		||||
    props: {
 | 
			
		||||
        // 最小可选值
 | 
			
		||||
        min: {
 | 
			
		||||
            type: [Number, String],
 | 
			
		||||
            default: uni.$u.props.slider.min
 | 
			
		||||
        },
 | 
			
		||||
        // 最大可选值
 | 
			
		||||
        max: {
 | 
			
		||||
            type: [Number, String],
 | 
			
		||||
            default: uni.$u.props.slider.max
 | 
			
		||||
        },
 | 
			
		||||
        // 步长,取值必须大于 0,并且可被(max - min)整除
 | 
			
		||||
        step: {
 | 
			
		||||
            type: [Number, String],
 | 
			
		||||
            default: uni.$u.props.slider.step
 | 
			
		||||
        },
 | 
			
		||||
        // 当前取值
 | 
			
		||||
        value: {
 | 
			
		||||
            type: [Number, String],
 | 
			
		||||
            default: uni.$u.props.slider.value
 | 
			
		||||
        },
 | 
			
		||||
        // 滑块右侧已选择部分的背景色
 | 
			
		||||
        activeColor: {
 | 
			
		||||
            type: String,
 | 
			
		||||
            default: uni.$u.props.slider.activeColor
 | 
			
		||||
        },
 | 
			
		||||
        // 滑块左侧未选择部分的背景色
 | 
			
		||||
        inactiveColor: {
 | 
			
		||||
            type: String,
 | 
			
		||||
            default: uni.$u.props.slider.inactiveColor
 | 
			
		||||
        },
 | 
			
		||||
        // 滑块的大小,取值范围为 12 - 28
 | 
			
		||||
        blockSize: {
 | 
			
		||||
            type: [Number, String],
 | 
			
		||||
            default: uni.$u.props.slider.blockSize
 | 
			
		||||
        },
 | 
			
		||||
        // 滑块的颜色
 | 
			
		||||
        blockColor: {
 | 
			
		||||
            type: String,
 | 
			
		||||
            default: uni.$u.props.slider.blockColor
 | 
			
		||||
        },
 | 
			
		||||
        // 是否显示当前的选择值
 | 
			
		||||
        showValue: {
 | 
			
		||||
            type: Boolean,
 | 
			
		||||
            default: uni.$u.props.slider.showValue
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user