How to get the height of the component on the page

The

page has a head. In order to calculate the height difference, if the head is written dead, the height can be calculated by wx.createSelectorQuery (). However, if a component is used to make a head, the height of the head cannot be taken. How to calculate the height? The height of the component is not written to death. The method of finding the height is written in the ready method of the component, but you can"t get

in the onLoad and onReady of the page.
Feb.16,2022

add a timer to test

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d892-2c3ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d892-2c3ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?