attribute | type | default | describe |
navigationBarBackgroundColor | HexColor | #000000 | Navigation bar background color, such as #000000 |
navigationBarTextStyle | string | white | Navigation bar header color, support only black / white |
navigationBarTitleText | string | | Navigation Title Text Content |
navigationStyle | string | default | Navigation bar style supports only the following values default Default style, includes native navigation bar and capsule buttons. custom Customize the navigation bar, leaving only the capsule on in the upper right corner. It does not take effect on the page where the web-view is located. hide Hide the navigation bar and capsule buttons. It only hides the capsule buttons on the page where the web-view is located. customV2 Customize the navigation bar, leaving only the capsule on in the upper right corner. hideV2 Hide the navigation bar and capsule buttons. See note 1, note 2. |
backgroundColor | HexColor | #ffffff | The background color of the window |
backgroundTextStyle | string | dark | Pull down loading Style, only supports dark / light |
backgroundColorTop | string | #ffffff | The background color of the top window, only iOS Support |
backgroundColorBottom | string | #ffffff | The background color of the bottom window, only iOS Support |
enablePullDownRefresh | boolean | false | |
onReachBottomDistance | number | 50 | The distance, in px, from the bottom of the page when the pull-down event is triggered.
See for details Page.onReachBottom |
pageOrientation | string | portrait | Screen rotation settings, support car / portrait / landscape
See for details Response to display area changes |
disableScroll | boolean | false | Set to true The page cannot scroll up and down as a whole.
Valid only in page configuration, not in app.json Set in |
usingComponents | Object | no |
navigationStyle valid values are as follows:IDE | Base Library | iOS SDK | Android SDK |
2.2.611 | 2.2.6 | 2.2.6 | 2.2.6 |
navigationStyle are as follows:navigationStyle | Regular page | Page with web-view |
default | ![]() | ![]() |
custom | ![]() | ![]() |
hide | ![]() | ![]() |
customV2 | ![]() | ![]() |
hideV2 | ![]() | ![]() |
{"navigationBarBackgroundColor": "#ffffff","navigationBarTextStyle": "black","navigationBarTitleText": "WeChat interface function demonstration,""backgroundColor": "#eeeeee","backgroundTextStyle": "light"}
Feedback