Page property node
page-meta
| attribute | type | Default value | Required | Introductions | Minimum version |
|---|---|---|---|---|---|
| background-text-style | string | no | Drop Down Background Font, Loading Diagram styles that support only dark and light | 3.0.7 | |
| background-color | string | no | The background color of the window must be hexadecimal color value | 2.5.1 | |
| background-color-top | string | no | The background color of the top window must be a hexadecimal color value, and only iOS Support | 2.5.1 | |
| background-color-bottom | string | no | The background color of the bottom window must be a hexadecimal color value, and only iOS Support | 2.5.1 | |
| root-background-color | string | no | Background color for page content, used for white space and page size changes resize Animation periodTemporary free zone | 3.0.1 | |
| scroll-top | string | "" | no | Scroll position, you can use the px or rpx When set, the page scrolls to the corresponding location | 3.0.1 |
| scroll-duration | number | 300 | no | Scroll animation length | 3.0.4 |
| page-style | string | "" | no | Page root node style, which is the ancestor of all page nodes, equivalent to HTML to hit the target body node | 2.5.1 |
| page-font-size | string | "" | no | page page You can set the font size to system Which indicates the font size of Phiz using the current user's settings | 2.11.4 |
| root-font-size | string | "" | no | The root font size of the page, all of the rem The font size will be used as a reference value, that is 1rem Is equal to the font size.Self phizclip version 2.11.0 Can also be set to system | 2.5.1 |
| page-orientation | string | "" | no | The orientation of the page can be car portrait or landscape | 3.0.1 |
| bindresize | eventhandle | no | Triggered when page size changes resize Events, event.detail = { size: { windowWidth, windowHeight } } | 2.11.4 | |
| bindscroll | eventhandle | no | Triggered when page size changes resize Events, event.detail = { size: { windowWidth, windowHeight } } | 2.5.1 | |
| bindscrolldone | eventhandle | no | If you change scroll-top Property to cause the page to scroll, triggered when the page scroll ends scrolldone event | 2.11.4 |