¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | props: { |
| | | // checkboxçåç§° |
| | | name: { |
| | | type: [String, Number, Boolean], |
| | | default: uni.$u.props.checkbox.name |
| | | }, |
| | | // å½¢ç¶ï¼square为æ¹å½¢ï¼circle为åå |
| | | shape: { |
| | | type: String, |
| | | default: uni.$u.props.checkbox.shape |
| | | }, |
| | | // æ´ä½çå¤§å° |
| | | size: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.checkbox.size |
| | | }, |
| | | // æ¯å¦é»è®¤éä¸ |
| | | checked: { |
| | | type: Boolean, |
| | | default: uni.$u.props.checkbox.checked |
| | | }, |
| | | // æ¯å¦ç¦ç¨ |
| | | disabled: { |
| | | type: [String, Boolean], |
| | | default: uni.$u.props.checkbox.disabled |
| | | }, |
| | | // éä¸ç¶æä¸çé¢è²ï¼å¦è®¾ç½®æ¤å¼ï¼å°ä¼è¦çparentçactiveColorå¼ |
| | | activeColor: { |
| | | type: String, |
| | | default: uni.$u.props.checkbox.activeColor |
| | | }, |
| | | // æªéä¸çé¢è² |
| | | inactiveColor: { |
| | | type: String, |
| | | default: uni.$u.props.checkbox.inactiveColor |
| | | }, |
| | | // 徿 ç大å°ï¼åä½px |
| | | iconSize: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.checkbox.iconSize |
| | | }, |
| | | // 徿 é¢è² |
| | | iconColor: { |
| | | type: String, |
| | | default: uni.$u.props.checkbox.iconColor |
| | | }, |
| | | // labelæç¤ºæåï¼å 为nvueä¸ï¼ç´æ¥slotè¿æ¥çæåï¼ç±äºç¹æ®çç»æï¼æ æ³ä¿®æ¹æ ·å¼ |
| | | label: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.checkbox.label |
| | | }, |
| | | // labelçåä½å¤§å°ï¼pxåä½ |
| | | labelSize: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.checkbox.labelSize |
| | | }, |
| | | // labelçé¢è² |
| | | labelColor: { |
| | | type: String, |
| | | default: uni.$u.props.checkbox.labelColor |
| | | }, |
| | | // æ¯å¦ç¦æ¢ç¹å»æç¤ºè¯éä¸å¤éæ¡ |
| | | labelDisabled: { |
| | | type: [String, Boolean], |
| | | default: uni.$u.props.checkbox.labelDisabled |
| | | } |
| | | } |
| | | } |