The invention provides a multi-terminal multi-size page
adaptation method, which comprises the following steps of: accessing a unified page URL (
Uniform Resource Locator) through a browser of
terminal equipment, entering a view control component, and determining a page
adaptation mode according to service requirements; calling a corresponding
adaptation mode function based on the page adaptation mode, and calculating a view
component type matched with the
terminal equipment; and controlling the page to load the matched view component, and displaying the corresponding
page view to the user through the
client browser. According to the embodiment of the invention, a uniform access path URL is provided, two adaptation
modes of a
user agent identifier and a screen size are provided, the adaptation scheme is flexible to select and easy to expand, a uniform
control function is provided, adaptation
control logic is uniformly arranged at a
client, front and rear ends are separated more thoroughly, UI
coupling of multi-end, multi-device and multi-size page adaptation is reduced, and the user experience is improved. And the cross-end
multiplexing of the logic layer improves the development and maintenance efficiency, and each end is loaded as required, so that the network flow is saved, and the page loading speed is improved.