¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | props: { |
| | | // æ¥è¿å¨æ è¯ç¬¦ï¼å¨changeåè°è¿å |
| | | name: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.numberBox.name |
| | | }, |
| | | // ç¨äºååç»å®çå¼ï¼åå§åæ¶è®¾ç½®è®¾ä¸ºé»è®¤minå¼(æå°å¼) |
| | | value: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.numberBox.value |
| | | }, |
| | | // æå°å¼ |
| | | min: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.numberBox.min |
| | | }, |
| | | // æå¤§å¼ |
| | | max: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.numberBox.max |
| | | }, |
| | | // å åçæ¥é¿ï¼å¯ä¸ºå°æ° |
| | | step: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.numberBox.step |
| | | }, |
| | | // æ¯å¦åªå
许è¾å
¥æ´æ° |
| | | integer: { |
| | | type: Boolean, |
| | | default: uni.$u.props.numberBox.integer |
| | | }, |
| | | // æ¯å¦ç¦ç¨ï¼å
æ¬è¾å
¥æ¡ï¼å åæé® |
| | | disabled: { |
| | | type: Boolean, |
| | | default: uni.$u.props.numberBox.disabled |
| | | }, |
| | | // æ¯å¦ç¦ç¨è¾å
¥æ¡ |
| | | disabledInput: { |
| | | type: Boolean, |
| | | default: uni.$u.props.numberBox.disabledInput |
| | | }, |
| | | // æ¯å¦å¼å¯å¼æ¥åæ´ï¼å¼å¯åéè¦æå¨æ§å¶è¾å
¥å¼ |
| | | asyncChange: { |
| | | type: Boolean, |
| | | default: uni.$u.props.numberBox.asyncChange |
| | | }, |
| | | // è¾å
¥æ¡å®½åº¦ï¼åä½ä¸ºpx |
| | | inputWidth: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.numberBox.inputWidth |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºåå°æé® |
| | | showMinus: { |
| | | type: Boolean, |
| | | default: uni.$u.props.numberBox.showMinus |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºå¢å æé® |
| | | showPlus: { |
| | | type: Boolean, |
| | | default: uni.$u.props.numberBox.showPlus |
| | | }, |
| | | // æ¾ç¤ºçå°æ°ä½æ° |
| | | decimalLength: { |
| | | type: [String, Number, null], |
| | | default: uni.$u.props.numberBox.decimalLength |
| | | }, |
| | | // æ¯å¦å¼å¯é¿æå åæå¿ |
| | | longPress: { |
| | | type: Boolean, |
| | | default: uni.$u.props.numberBox.longPress |
| | | }, |
| | | // è¾å
¥æ¡æååå åæé®å¾æ çé¢è² |
| | | color: { |
| | | type: String, |
| | | default: uni.$u.props.numberBox.color |
| | | }, |
| | | // æé®å¤§å°ï¼å®½é«çäºæ¤å¼ï¼åä½pxï¼è¾å
¥æ¡é«åº¦åæ¤å¼ä¿æä¸è´ |
| | | buttonSize: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.numberBox.buttonSize |
| | | }, |
| | | // è¾å
¥æ¡åæé®çèæ¯é¢è² |
| | | bgColor: { |
| | | type: String, |
| | | default: uni.$u.props.numberBox.bgColor |
| | | }, |
| | | // æå®å
æ äºé®ççè·ç¦»ï¼é¿å
é®ç鮿¡è¾å
¥æ¡ï¼åä½px |
| | | cursorSpacing: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.numberBox.cursorSpacing |
| | | }, |
| | | // æ¯å¦ç¦ç¨å¢å æé® |
| | | disablePlus: { |
| | | type: Boolean, |
| | | default: uni.$u.props.numberBox.disablePlus |
| | | }, |
| | | // æ¯å¦ç¦ç¨åå°æé® |
| | | disableMinus: { |
| | | type: Boolean, |
| | | default: uni.$u.props.numberBox.disableMinus |
| | | }, |
| | | // å åæé®å¾æ çæ ·å¼ |
| | | iconStyle: { |
| | | type: [Object, String], |
| | | default: uni.$u.props.numberBox.iconStyle |
| | | } |
| | | } |
| | | } |