¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | props: { |
| | | // inputçlabelæç¤ºè¯ |
| | | label: { |
| | | type: String, |
| | | default: uni.$u.props.formItem.label |
| | | }, |
| | | // ç»å®çå¼ |
| | | prop: { |
| | | type: String, |
| | | default: uni.$u.props.formItem.prop |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºè¡¨ååçä¸åçº¿è¾¹æ¡ |
| | | borderBottom: { |
| | | type: [String, Boolean], |
| | | default: uni.$u.props.formItem.borderBottom |
| | | }, |
| | | // labelçä½ç½®ï¼left-左边ï¼top-ä¸è¾¹ |
| | | labelPosition: { |
| | | type: String, |
| | | default: uni.$u.props.formItem.labelPosition |
| | | }, |
| | | // labelç宽度ï¼åä½px |
| | | labelWidth: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.formItem.labelWidth |
| | | }, |
| | | // å³ä¾§å¾æ |
| | | rightIcon: { |
| | | type: String, |
| | | default: uni.$u.props.formItem.rightIcon |
| | | }, |
| | | // 左侧徿 |
| | | leftIcon: { |
| | | type: String, |
| | | default: uni.$u.props.formItem.leftIcon |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºå·¦è¾¹çå¿
å¡«æå·ï¼åªä½æ¾ç¤ºç¨ï¼å
·ä½æ ¡éªå¿
å¡«çé»è¾ï¼è¯·å¨rulesä¸é
ç½® |
| | | required: { |
| | | type: Boolean, |
| | | default: uni.$u.props.formItem.required |
| | | }, |
| | | leftIconStyle: { |
| | | type: [String, Object], |
| | | default: uni.$u.props.formItem.leftIconStyle, |
| | | } |
| | | } |
| | | } |