Page generation method and apparatus, electronic device, and computer-readable storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsBoquan FU, Sicheng HUANG, Tingrong ZHONG
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsBoquan FU, Sicheng HUANG, Tingrong ZHONG
Estimating the term…
A page generation method includes obtaining node tree corresponding to target page and including nodes configured for representing content of the target page. The method further includes, for any node: if parent node of the node uses flexible layout, obtaining style attribute of the node, and determining main axis size of the node based on the style attribute; if the node includes child node(s), obtaining parameter mapping table including mapping relationship between the style attribute and size value, and obtaining cross axis size of the node based on the main axis size and the parameter mapping table; and determining main and cross axis coordinates of the node based on the main and cross axis sizes of the node. The method also includes generating the target page according to the main and cross axis sizes, and the main and cross axis coordinates of each node.
A page generation method, applied to an electronic device, comprising:
An electronic device comprising:
A non-transitory computer-readable storage medium storing computer-executable instructions or a computer program that, when executed by a processor, causes an electronic device including the processor to:
Dependencies are inferred from the claim text.