¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | props: { |
| | | // æ é¢ |
| | | title: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.cell.title |
| | | }, |
| | | // æ é¢ä¸æ¹çæè¿°ä¿¡æ¯ |
| | | label: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.cell.label |
| | | }, |
| | | // å³ä¾§çå
容 |
| | | value: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.cell.value |
| | | }, |
| | | // 左侧徿 åç§°ï¼æè
å¾ç龿¥(æ¬å°æä»¶å»ºè®®ä½¿ç¨ç»å¯¹å°å) |
| | | icon: { |
| | | type: String, |
| | | default: uni.$u.props.cell.icon |
| | | }, |
| | | // æ¯å¦ç¦ç¨cell |
| | | disabled: { |
| | | type: Boolean, |
| | | default: uni.$u.props.cell.disabled |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºä¸è¾¹æ¡ |
| | | border: { |
| | | type: Boolean, |
| | | default: uni.$u.props.cell.border |
| | | }, |
| | | // å
容æ¯å¦åç´å±
ä¸(ä¸»è¦æ¯é对å³ä¾§çvalueé¨å) |
| | | center: { |
| | | type: Boolean, |
| | | default: uni.$u.props.cell.center |
| | | }, |
| | | // ç¹å»å跳转çURLå°å |
| | | url: { |
| | | type: String, |
| | | default: uni.$u.props.cell.url |
| | | }, |
| | | // 龿¥è·³è½¬çæ¹å¼ï¼å
é¨ä½¿ç¨çæ¯uViewå°è£
çrouteæ¹æ³ï¼å¯è½ä¼è¿è¡æ¦æªæä½ |
| | | linkType: { |
| | | type: String, |
| | | default: uni.$u.props.cell.linkType |
| | | }, |
| | | // æ¯å¦å¼å¯ç¹å»åé¦(表ç°ä¸ºç¹å»æ¶å ä¸ç°è²èæ¯) |
| | | clickable: { |
| | | type: Boolean, |
| | | default: uni.$u.props.cell.clickable |
| | | }, |
| | | // æ¯å¦å±ç¤ºå³ä¾§ç®å¤´å¹¶å¼å¯ç¹å»åé¦ |
| | | isLink: { |
| | | type: Boolean, |
| | | default: uni.$u.props.cell.isLink |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºè¡¨åç¶æä¸çå¿
å¡«æå·(æ¤ç»ä»¶å¯è½ä¼å
åµå
¥inputç»ä»¶) |
| | | required: { |
| | | type: Boolean, |
| | | default: uni.$u.props.cell.required |
| | | }, |
| | | // å³ä¾§ç徿 ç®å¤´ |
| | | rightIcon: { |
| | | type: String, |
| | | default: uni.$u.props.cell.rightIcon |
| | | }, |
| | | // å³ä¾§ç®å¤´çæ¹åï¼å¯éå¼ä¸ºï¼leftï¼upï¼down |
| | | arrowDirection: { |
| | | type: String, |
| | | default: uni.$u.props.cell.arrowDirection |
| | | }, |
| | | // 左侧徿 æ ·å¼ |
| | | iconStyle: { |
| | | type: [Object, String], |
| | | default: () => { |
| | | return uni.$u.props.cell.iconStyle |
| | | } |
| | | }, |
| | | // å³ä¾§ç®å¤´å¾æ çæ ·å¼ |
| | | rightIconStyle: { |
| | | type: [Object, String], |
| | | default: () => { |
| | | return uni.$u.props.cell.rightIconStyle |
| | | } |
| | | }, |
| | | // æ é¢çæ ·å¼ |
| | | titleStyle: { |
| | | type: [Object, String], |
| | | default: () => { |
| | | return uni.$u.props.cell.titleStyle |
| | | } |
| | | }, |
| | | // åä½å
ç大å°ï¼å¯éå¼ä¸ºlarge |
| | | size: { |
| | | type: String, |
| | | default: uni.$u.props.cell.size |
| | | }, |
| | | // ç¹å»cellæ¯å¦é»æ¢äºä»¶ä¼ æ |
| | | stop: { |
| | | type: Boolean, |
| | | default: uni.$u.props.cell.stop |
| | | }, |
| | | // æ è¯ç¬¦ï¼cell被ç¹å»æ¶è¿å |
| | | name: { |
| | | type: [Number, String], |
| | | default: uni.$u.props.cell.name |
| | | } |
| | | } |
| | | } |