¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | props: { |
| | | // æ¯å¦å¼å¯é¡¶é¨å®å
¨åºéé
|
| | | safeAreaInsetTop: { |
| | | type: Boolean, |
| | | default: uni.$u.props.navbar.safeAreaInsetTop |
| | | }, |
| | | // åºå®å¨é¡¶é¨æ¶ï¼æ¯å¦çæä¸ä¸ªçé«å
ç´ ï¼ä»¥é²æ¢å¡é· |
| | | placeholder: { |
| | | type: Boolean, |
| | | default: uni.$u.props.navbar.placeholder |
| | | }, |
| | | // æ¯å¦åºå®å¨é¡¶é¨ |
| | | fixed: { |
| | | type: Boolean, |
| | | default: uni.$u.props.navbar.fixed |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºä¸è¾¹æ¡ |
| | | border: { |
| | | type: Boolean, |
| | | default: uni.$u.props.navbar.border |
| | | }, |
| | | // 左边ç徿 |
| | | leftIcon: { |
| | | type: String, |
| | | default: uni.$u.props.navbar.leftIcon |
| | | }, |
| | | // 左边çæç¤ºæå |
| | | leftText: { |
| | | type: String, |
| | | default: uni.$u.props.navbar.leftText |
| | | }, |
| | | // å·¦å³çæç¤ºæå |
| | | rightText: { |
| | | type: String, |
| | | default: uni.$u.props.navbar.rightText |
| | | }, |
| | | // å³è¾¹ç徿 |
| | | rightIcon: { |
| | | type: String, |
| | | default: uni.$u.props.navbar.rightIcon |
| | | }, |
| | | // æ é¢ |
| | | title: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.navbar.title |
| | | }, |
| | | // èæ¯é¢è² |
| | | bgColor: { |
| | | type: String, |
| | | default: uni.$u.props.navbar.bgColor |
| | | }, |
| | | // æ é¢ç宽度 |
| | | titleWidth: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.navbar.titleWidth |
| | | }, |
| | | // å¯¼èªæ é«åº¦ |
| | | height: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.navbar.height |
| | | }, |
| | | // 左侧è¿å徿 çå¤§å° |
| | | leftIconSize: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.navbar.leftIconSize |
| | | }, |
| | | // 左侧è¿å徿 çé¢è² |
| | | leftIconColor: { |
| | | type: String, |
| | | default: uni.$u.props.navbar.leftIconColor |
| | | }, |
| | | // ç¹å»å·¦ä¾§åºå(è¿å徿 )ï¼æ¯å¦èªå¨è¿åä¸ä¸é¡µ |
| | | autoBack: { |
| | | type: Boolean, |
| | | default: uni.$u.props.navbar.autoBack |
| | | }, |
| | | // æ é¢çæ ·å¼ï¼å¯¹è±¡æå符串 |
| | | titleStyle: { |
| | | type: [String, Object], |
| | | default: uni.$u.props.navbar.titleStyle |
| | | } |
| | | } |
| | | } |