| ¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | props: { |
| | | // 徿 ç±»å |
| | | name: { |
| | | type: String, |
| | | default: uni.$u.props.icon.name |
| | | }, |
| | | // 徿 é¢è²ï¼å¯æ¥å主é¢è² |
| | | color: { |
| | | type: String, |
| | | default: uni.$u.props.icon.color |
| | | }, |
| | | // åä½å¤§å°ï¼åä½px |
| | | size: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.icon.size |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºç²ä½ |
| | | bold: { |
| | | type: Boolean, |
| | | default: uni.$u.props.icon.bold |
| | | }, |
| | | // ç¹å»å¾æ çæ¶åä¼ éäºä»¶åºå»çindexï¼ç¨äºåºåç¹å»äºåªä¸ä¸ªï¼ |
| | | index: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.icon.index |
| | | }, |
| | | // 触æ¸å¾æ æ¶çç±»å |
| | | hoverClass: { |
| | | type: String, |
| | | default: uni.$u.props.icon.hoverClass |
| | | }, |
| | | // èªå®ä¹æ©å±åç¼ï¼æ¹ä¾¿ç¨æ·æ©å±èªå·±ç徿 åº |
| | | customPrefix: { |
| | | type: String, |
| | | default: uni.$u.props.icon.customPrefix |
| | | }, |
| | | // 徿 å³è¾¹æè
ä¸é¢çæå |
| | | label: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.icon.label |
| | | }, |
| | | // labelçä½ç½®ï¼åªè½å³è¾¹æè
ä¸è¾¹ |
| | | labelPos: { |
| | | type: String, |
| | | default: uni.$u.props.icon.labelPos |
| | | }, |
| | | // labelçå¤§å° |
| | | labelSize: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.icon.labelSize |
| | | }, |
| | | // labelçé¢è² |
| | | labelColor: { |
| | | type: String, |
| | | default: uni.$u.props.icon.labelColor |
| | | }, |
| | | // labelä¸å¾æ çè·ç¦» |
| | | space: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.icon.space |
| | | }, |
| | | // å¾ççmode |
| | | imgMode: { |
| | | type: String, |
| | | default: uni.$u.props.icon.imgMode |
| | | }, |
| | | // ç¨äºæ¾ç¤ºå¾çå°å¾æ æ¶ï¼å¾çç宽度 |
| | | width: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.icon.width |
| | | }, |
| | | // ç¨äºæ¾ç¤ºå¾çå°å¾æ æ¶ï¼å¾ççé«åº¦ |
| | | height: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.icon.height |
| | | }, |
| | | // ç¨äºè§£å³æäºæ
åµä¸ï¼è®©å¾æ åç´å±
ä¸çç¨é |
| | | top: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.icon.top |
| | | }, |
| | | // æ¯å¦é»æ¢äºä»¶ä¼ æ |
| | | stop: { |
| | | type: Boolean, |
| | | default: uni.$u.props.icon.stop |
| | | } |
| | | } |
| | | } |