1. In the uni – app using insensitive – the view component flex effect not thinking source links: blog.csdn.net/zhang133943…
To flex the contents of the scroll view, set enable-flex=”true” to enable the scroll view.
2. CSS solution using fixed position the position of the element to the fixed positioning elements below thought source links: zhuanlan.zhihu.com/p/356874103
Causes of this problem:
There are two ways to handle this: (1) add a sibling div (add it below the sibling of the element to be fixed), and the height of the placeholder floating div should be the same as the height of the floating element, so that the page can keep normal display.
(2) Add the parent element (another layer)This is recommended】
3. The uni – app through the API to obtain the dom element node article links: blog.csdn.net/fesfsefgs/a… Note: the function of the node is, must be in onReady () {} in the call, otherwise will not be an error in the small program end, and the H5 end crazy error “are more tears”
Complete and correct call method: