Webpage display method and device and storage medium
The invention discloses a webpage display method and device and a storage medium, and belongs to the technical field of computers. The method comprises the steps of acquiring configuration data of a webpage, wherein the configuration data comprises style data, content data and logic data, and the lo...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a webpage display method and device and a storage medium, and belongs to the technical field of computers. The method comprises the steps of acquiring configuration data of a webpage, wherein the configuration data comprises style data, content data and logic data, and the logic data is used for describing operation logic for calculating a scaling coefficient; obtaining a page aspect ratio of the webpage according to the operation logic, obtaining a screen aspect ratio of a display screen, and calculating a scaling coefficient according to the page aspect ratio and thescreen aspect ratio; and according to the scaling coefficient, adjusting the size of at least one panel in the configuration data and the size of the display content in the at least one panel, and displaying the webpage based on the adjusted configuration data. According to the webpage display method and device, the flexibility is improved, it is guaranteed that the webpage can be suitable for various display screens, the |
---|