mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-01 02:38:43 +08:00 
			
		
		
		
	使用 uview 重构实际登陆
This commit is contained in:
		| @@ -0,0 +1,54 @@ | ||||
| export default { | ||||
|     props: { | ||||
|         // 是否为加载中状态 | ||||
|         loading: { | ||||
|             type: Boolean, | ||||
|             default: uni.$u.props.switch.loading | ||||
|         }, | ||||
|         // 是否为禁用装填 | ||||
|         disabled: { | ||||
|             type: Boolean, | ||||
|             default: uni.$u.props.switch.disabled | ||||
|         }, | ||||
|         // 开关尺寸,单位px | ||||
|         size: { | ||||
|             type: [String, Number], | ||||
|             default: uni.$u.props.switch.size | ||||
|         }, | ||||
|         // 打开时的背景颜色 | ||||
|         activeColor: { | ||||
|             type: String, | ||||
|             default: uni.$u.props.switch.activeColor | ||||
|         }, | ||||
|         // 关闭时的背景颜色 | ||||
|         inactiveColor: { | ||||
|             type: String, | ||||
|             default: uni.$u.props.switch.inactiveColor | ||||
|         }, | ||||
|         // 通过v-model双向绑定的值 | ||||
|         value: { | ||||
|             type: [Boolean, String, Number], | ||||
|             default: uni.$u.props.switch.value | ||||
|         }, | ||||
|         // 打开选择器时的值 | ||||
|         activeValue: { | ||||
|             type: [String, Number, Boolean], | ||||
|             default: uni.$u.props.switch.activeValue | ||||
|         }, | ||||
|         // 关闭选择器时的值 | ||||
|         inactiveValue: { | ||||
|             type: [String, Number, Boolean], | ||||
|             default: uni.$u.props.switch.inactiveValue | ||||
|         }, | ||||
|         // 是否开启异步变更,开启后需要手动控制输入值 | ||||
|         asyncChange: { | ||||
|             type: Boolean, | ||||
|             default: uni.$u.props.switch.asyncChange | ||||
|         }, | ||||
|         // 圆点与外边框的距离 | ||||
|         space: { | ||||
|             type: [String, Number], | ||||
|             default: uni.$u.props.switch.space | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV