¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | props: { |
| | | color: { |
| | | type: String, |
| | | default: uni.$u.props.line.color |
| | | }, |
| | | // é¿åº¦ï¼ç«åæ¶è¡¨ç°ä¸ºé«åº¦ï¼æ¨ªåæ¶è¡¨ç°ä¸ºé¿åº¦ï¼å¯ä»¥ä¸ºç¾åæ¯ï¼å¸¦pxåä½çå¼ç |
| | | length: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.line.length |
| | | }, |
| | | // çº¿æ¡æ¹åï¼col-ç«åï¼row-横å |
| | | direction: { |
| | | type: String, |
| | | default: uni.$u.props.line.direction |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºç»è¾¹æ¡ |
| | | hairline: { |
| | | type: Boolean, |
| | | default: uni.$u.props.line.hairline |
| | | }, |
| | | // 线æ¡ä¸ä¸ä¸å·¦å³å
ç´ çé´è·ï¼å符串形å¼ï¼å¦"30px"ã"20px 30px" |
| | | margin: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.line.margin |
| | | }, |
| | | // æ¯å¦è线ï¼true-è线ï¼false-å®çº¿ |
| | | dashed: { |
| | | type: Boolean, |
| | | default: uni.$u.props.line.dashed |
| | | } |
| | | } |
| | | } |