CN106557501B - Screen adaptation method and device for page module - Google Patents

Screen adaptation method and device for page module Download PDF

Info

Publication number
CN106557501B
CN106557501B CN201510627169.4A CN201510627169A CN106557501B CN 106557501 B CN106557501 B CN 106557501B CN 201510627169 A CN201510627169 A CN 201510627169A CN 106557501 B CN106557501 B CN 106557501B
Authority
CN
China
Prior art keywords
size
module
page
verification object
page data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510627169.4A
Other languages
Chinese (zh)
Other versions
CN106557501A (en
Inventor
沙斌斌
李津
文飞豹
陈翔
王荣荣
潘杰茂
陈挺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510627169.4A priority Critical patent/CN106557501B/en
Publication of CN106557501A publication Critical patent/CN106557501A/en
Application granted granted Critical
Publication of CN106557501B publication Critical patent/CN106557501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a screen adapting method and a device of a page module, wherein the method comprises the following steps: acquiring the screen size of a terminal and the design draft size of a page module; and setting the font size attribute of a root node in page data according to the screen size of the terminal and the design draft size of the page module, wherein the page data is an HTML code of a page where the page module is located. According to the invention, through setting the font size attribute of the root node in the page data, the page module is scaled on different terminals in an equal proportion, the screen adaptation can be carried out on the terminals with different screen sizes, and the screen adaptation and page development efficiency is improved.

Description

Screen adaptation method and device for page module
Technical Field
The invention relates to the technical field of computers, in particular to a screen adaptation method and device of a page module.
Background
With the development of computer technology, the types of page modules in a browser page are increasing, the sizes of design manuscripts of the page modules are different, and the common sizes of the design manuscripts are 640px and 750 px. In addition, the types of terminals capable of browsing pages are increasing, and different types of terminals generally have different operating systems and screen sizes, and the common screen sizes are 320px, 375px, 414px and the like.
In order to realize screen adaptation of a page module, in the prior art, an equal-ratio scaling scheme is performed on the page module based on a transform attribute in CSS3, or an equal-ratio layout is performed based on a Padding attribute in CSS3, a picture rendering effect of the page module is blurred, and a use range of the page module is limited and is only suitable for equal-ratio scaling of pictures.
Disclosure of Invention
The invention provides a screen adaptation method and device of a page module, which aim to overcome the defects of fuzzy picture rendering effect and limited use range in the prior art.
The invention provides a screen adapting method of a page module, which comprises the following steps:
acquiring the screen size of a terminal and the design draft size of a page module;
and setting the font size attribute of a root node in page data according to the screen size of the terminal and the design draft size of the page module, wherein the page data is an HTML code of a page where the page module is located.
Optionally, the setting, according to the screen size of the terminal and the design draft size of the page module, a font size attribute of a root node in the page data specifically includes:
and acquiring the ratio of the size of the design draft of the page module to a preset attribute value as the relative size of the page module, and acquiring the ratio of the screen size of the terminal to the relative size of the page module as the font size attribute of the root node in the page data.
Optionally, after setting the font size attribute of the root node in the page data according to the screen size of the terminal and the design size of the page module, the method further includes:
the method comprises the steps of obtaining the actual size of a verification object, judging whether an adaptation error exists according to the actual size of the verification object, the relative size of the verification object and the font size attribute of a root node in page data, obtaining an error proportion according to the actual size of the verification object, the relative size of the verification object and the font size attribute of the root node in the page data when the adaptation error exists, and adjusting the font size attribute of the root node in the page data according to the error proportion.
Optionally, the determining whether there is an adaptation error according to the actual size of the verification object, the relative size of the verification object, and the font size attribute of the root node in the page data specifically includes:
judging whether the product of the relative size of the verification object and the font size attribute of the root node in the page data is the same as the actual size of the verification object, and if so, confirming that no adaptation error exists; otherwise, confirming that the adaptation error exists;
the obtaining of the error ratio according to the actual size of the verification object, the relative size of the verification object, and the font size attribute of the root node in the page data specifically includes:
calculating the product of the relative size of the verification object and the font size attribute of the root node in the page data, and taking the ratio of the product to the actual size of the verification object as an error proportion;
adjusting the font size attribute of the root node in the page data according to the error proportion, specifically:
and acquiring the product of the font size attribute of the root node in the page data and the error proportion, and taking the product as the adjusted font size attribute.
Optionally, before acquiring the actual size of the verification object, the method further includes:
creating the verification object, setting the relative size of the verification object, and inserting the verification object into the page data.
Optionally, after obtaining the actual size of the verification object, the method further includes:
and deleting the verification object from the page data.
Optionally, after setting the font size attribute of the root node in the page data according to the screen size of the terminal and the design size of the page module, the method further includes:
after the page data is analyzed, judging whether the screen size of the terminal changes, if so, setting the font size attribute of a root node in the page data again according to the screen size of the terminal and the design draft size of the page module; otherwise, the flow ends.
Optionally, the root node is a root element < HTML > in the HTML code, and the font size attribute is a font-size attribute of the root element < HTML >.
The invention also provides a screen adapting device of the page module, which comprises:
the first acquisition module is used for acquiring the screen size of the terminal and the design draft size of the page module;
and the first setting module is used for setting the font size attribute of a root node in page data according to the screen size of the terminal and the design draft size of the page module acquired by the first acquisition module, wherein the page data is an HTML code of a page where the page module is located.
Optionally, the first setting module is specifically configured to obtain a ratio between a size of a design draft of the page module and a preset attribute value as a relative size of the page module, and obtain a ratio between a screen size of the terminal and the relative size of the page module as a font size attribute of a root node in the page data.
Optionally, the apparatus further includes:
the second acquisition module is used for acquiring the actual size of the verification object;
the first judging module is used for judging whether an adaptation error exists according to the relative size of the verification object, the font size attribute of the root node in the page data and the actual size of the verification object acquired by the second acquiring module;
a third obtaining module, configured to, when the first determining module determines that the adaptation error exists, obtain an error ratio according to the actual size of the verification object, the relative size of the verification object, and a font size attribute of a root node in the page data;
and the second setting module is used for adjusting the font size attribute of the root node in the page data according to the error proportion acquired by the third acquisition module.
Optionally, the first determining module is specifically configured to determine whether a product of the relative size of the verification object and a font size attribute of a root node in the page data is the same as an actual size of the verification object, and if so, determine that no adaptation error exists; otherwise, confirming that the adaptation error exists;
the third obtaining module is specifically configured to calculate a product of the relative size of the verification object and a font size attribute of a root node in the page data, and use a ratio of the product to an actual size of the verification object as an error proportion;
the second setting module is specifically configured to obtain a product of the font size attribute of the root node in the page data and the error ratio, and use the product as the adjusted font size attribute.
Optionally, the apparatus further includes:
and the creating module is used for creating the verification object before the second acquiring module acquires the actual size of the verification object, setting the relative size of the verification object and inserting the verification object into the page data.
Optionally, the apparatus further includes:
and the deleting module is used for deleting the verification object from the page data after the second acquiring module acquires the actual size of the verification object.
Optionally, the apparatus further includes:
the second judgment module is used for judging whether the screen size of the terminal changes or not after the page data is analyzed;
the first setting module is further configured to set a font size attribute of a root node in page data according to the screen size of the terminal and the design draft size of the page module again when the second determining module determines that the screen size of the terminal changes.
Optionally, the root node is a root element < HTML > in the HTML code, and the font size attribute is a font-size attribute of the root element < HTML >.
According to the embodiment of the invention, the font size attribute of the root node in the page data is set, so that the page module is scaled on different terminals in an equal proportion, the screen adaptation can be carried out on the terminals with different screen sizes, and the screen adaptation and the page development efficiency are improved.
Drawings
FIG. 1 is a flowchart of a screen adapting method for a page module according to an embodiment of the present invention;
fig. 2 is a structural diagram of a screen adapting device of a page module in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a screen adapting method of a page module, which comprises the following steps as shown in figure 1:
step 101, acquiring the screen size of the terminal and the design draft size of the page module.
The screen size of the terminal may be a screen width of the terminal, and the design size of the page module may be a design width of the page module.
For example, the screen size of the terminal is 320px, and the design size of the page module is 640 px.
And 102, setting the font size attribute of the root node in the page data according to the screen size of the terminal and the design draft size of the page module.
Specifically, a ratio between the size of the design draft of the page module and a preset attribute value may be obtained as a relative size of the page module, and a ratio between the screen size of the terminal and the relative size of the page module may be obtained as a font size attribute of the root node in the page data.
The page data can be an HTML code of a page where the page module is located, the root node can be a root element < HTML > in the HTML code, and the font size attribute is a font-size attribute of the root element < HTML >.
For example, the design size of the page module is 640px, the preset attribute value is 100px, the screen size of the terminal is 320px, the relative size of the page module is 640px/100px ═ 6.4rem, and the font size attribute of the root node in the page data is set to 320px/6.4rem ═ 50 px.
Step 103, creating a verification object, setting the relative size of the verification object, and inserting the verification object into the page data.
In particular, the created verification object may be inserted into a child node of the page data, which may be an element < body > in the HTML code, the element < body > being a child node of the root element < HTML >.
For example, the relative size of the authentication object is set to 1 rem.
And 104, acquiring the actual size of the verification object.
For example, the actual size of the verification object is acquired as 40 px.
105, judging whether an adaptation error exists according to the actual size of the verification object, the relative size of the verification object and the font size attribute of the root node in the page data, and if so, executing 106; otherwise, step 108 is performed.
Specifically, it may be determined whether the product of the relative size of the verification object and the font size attribute of the root node in the page data is the same as the actual size of the verification object, and if so, it is determined that there is no adaptation error; otherwise, the adaptation error is confirmed.
For example, if the font size attribute of the root node in the page data is 50px, the relative size of the verification object is 1rem, and the actual size of the verification object is 40px, the product of the relative size of the verification object and the font size attribute of the root node in the page data is 50px × 1rem, which is 50px, and is different from the actual size 40px of the verification object, it is confirmed that there is an adaptation error.
And 106, acquiring an error proportion according to the actual size of the verification object, the relative size of the verification object and the font size attribute of the root node in the page data.
Specifically, a product of the relative size of the verification object and the font size attribute of the root node in the page data may be calculated, and the ratio of the product to the actual size of the verification object may be taken as the error ratio.
For example, if the font size attribute of the root node in the page data is 50px, the relative size of the verification object is 1rem, and the actual size of the verification object is 40px, the product of the relative size of the verification object and the font size attribute of the root node in the page data is 50px 1rem 50px, and the ratio 50px/40px of the product 50px to the actual size of the verification object 40px is 1.25 as an error ratio.
Step 107, adjusting the font size attribute of the root node in the page data according to the error proportion, and executing step 108.
Specifically, a product of the font size attribute of the root node in the page data and the error ratio is obtained, and the product is used as the adjusted font size attribute.
For example, if the font size attribute of the root node in the page data is 50px and the error ratio is 1.25, the product 50px 1.25 ═ 72.5px of the font size attribute of the root node in the page data and the error ratio is used as the adjusted font size attribute.
And step 108, deleting the verification object from the page data.
Step 109, after the page data is analyzed, judging whether the screen size of the terminal changes, if so, returning to step 102; otherwise, the flow ends.
Specifically, after the domcotentloaded event is triggered, whether the screen size of the terminal changes may be determined, and if yes, the process returns to step 102; otherwise, the flow ends.
According to the embodiment of the invention, through setting the font size attribute of the root node in the page data, the page module is scaled on different terminals in an equal proportion, the screen adaptation can be carried out on the terminals with different screen sizes, the adaptation error caused by the terminal compatibility can be made up, and the screen adaptation and page development efficiency is improved.
Based on the screen adapting method of the page module, an embodiment of the present invention further provides a screen adapting device of the page module, as shown in fig. 2, including:
the first obtaining module 201 is configured to obtain a screen size of the terminal and a design size of the page module.
The first setting module 202 is configured to set a font size attribute of a root node in the page data according to the screen size of the terminal and the design size of the page module acquired by the first acquiring module 201.
The page data may be an HTML code of a page where the page module is located, the root node may be a root element < HTML > in the HTML code, and the font size attribute may be a font-size attribute of the root element < HTML >.
Specifically, the first setting module 202 is specifically configured to obtain a ratio between a size of a design draft of the page module and a preset attribute value as a relative size of the page module, and obtain a ratio between a screen size of the terminal and the relative size of the page module as a font size attribute of a root node in the page data.
Further, the above apparatus further comprises:
a second obtaining module 203, configured to obtain an actual size of the verification object;
the first judging module 204 is configured to judge whether an adaptation error exists according to the relative size of the verification object, the font size attribute of the root node in the page data, and the actual size of the verification object acquired by the second acquiring module 203;
specifically, the first determining module 204 is specifically configured to determine whether a product of a relative size of the verification object and a font size attribute of a root node in the page data is the same as an actual size of the verification object, and if so, determine that no adaptation error exists; otherwise, confirming that the adaptation error exists;
a third obtaining module 205, configured to, when the first determining module 204 determines that the adaptation error exists, obtain an error ratio according to the actual size of the verification object, the relative size of the verification object, and the font size attribute of the root node in the page data;
specifically, the third obtaining module 205 is specifically configured to calculate a product of the relative size of the verification object and the font size attribute of the root node in the page data, and use a ratio of the product and the actual size of the verification object as an error ratio;
the second setting module 206 is configured to adjust the font size attribute of the root node in the page data according to the error ratio acquired by the third acquiring module 205.
Specifically, the second setting module 206 is specifically configured to obtain a product of the font size attribute of the root node in the page data and the error ratio, and use the product as the adjusted font size attribute.
Further, the above apparatus further comprises:
a creating module 207 for creating the verification object, setting the relative size of the verification object, and inserting the verification object into the page data before the second acquiring module 203 acquires the actual size of the verification object.
A deleting module 208 configured to delete the verification object from the page data after the second obtaining module 203 obtains the actual size of the verification object.
Further, the above apparatus further comprises:
a second judging module 209, configured to judge whether a screen size of the terminal changes after the page data is analyzed;
accordingly, the first setting module 202 is further configured to set the font size attribute of the root node in the page data according to the screen size of the terminal and the design size of the page module again when the second determining module 209 determines that the screen size of the terminal changes.
According to the embodiment of the invention, through setting the font size attribute of the root node in the page data, the page module is scaled on different terminals in an equal proportion, the screen adaptation can be carried out on the terminals with different screen sizes, the adaptation error caused by the terminal compatibility can be made up, and the screen adaptation and page development efficiency is improved.
The steps of a method described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. A screen adapting method of a page module is characterized by comprising the following steps:
acquiring the screen size of a terminal and the design draft size of a page module;
setting a font size attribute of a root node in page data according to the screen size of the terminal and the design draft size of the page module, wherein the page data is an HTML code of a page where the page module is located;
the method comprises the steps of obtaining the actual size of a verification object, judging whether an adaptation error exists according to the actual size of the verification object, the relative size of the verification object and the font size attribute of a root node in page data, obtaining an error proportion according to the actual size of the verification object, the relative size of the verification object and the font size attribute of the root node in the page data when the adaptation error exists, and adjusting the font size attribute of the root node in the page data according to the error proportion.
2. The method according to claim 1, wherein the setting of the font size attribute of the root node in the page data according to the screen size of the terminal and the design size of the page module specifically includes:
and acquiring the ratio of the size of the design draft of the page module to a preset attribute value as the relative size of the page module, and acquiring the ratio of the screen size of the terminal to the relative size of the page module as the font size attribute of the root node in the page data.
3. The method according to claim 1, wherein the determining whether there is an adaptation error according to the actual size of the verification object, the relative size of the verification object, and the font size attribute of the root node in the page data includes:
judging whether the product of the relative size of the verification object and the font size attribute of the root node in the page data is the same as the actual size of the verification object, and if so, confirming that no adaptation error exists; otherwise, confirming that the adaptation error exists;
the obtaining of the error ratio according to the actual size of the verification object, the relative size of the verification object, and the font size attribute of the root node in the page data specifically includes:
calculating the product of the relative size of the verification object and the font size attribute of the root node in the page data, and taking the ratio of the product to the actual size of the verification object as an error proportion;
adjusting the font size attribute of the root node in the page data according to the error proportion, specifically:
and acquiring the product of the font size attribute of the root node in the page data and the error proportion, and taking the product as the adjusted font size attribute.
4. The method of claim 1, wherein prior to obtaining the actual size of the authentication object, further comprising:
creating the verification object, setting the relative size of the verification object, and inserting the verification object into the page data.
5. The method of claim 4, wherein after obtaining the actual size of the authentication object, further comprising:
and deleting the verification object from the page data.
6. The method of claim 1, wherein after setting the font size attribute of the root node in the page data according to the screen size of the terminal and the design size of the page module, further comprising:
after the page data is analyzed, judging whether the screen size of the terminal changes, if so, setting the font size attribute of a root node in the page data again according to the screen size of the terminal and the design draft size of the page module; otherwise, the flow ends.
7. The method of claim 1, wherein the root node is a root element < HTML > in the HTML code, and wherein the font size attribute is a font-size attribute of the root element < HTML >.
8. A screen adapting apparatus of a page module, comprising:
the first acquisition module is used for acquiring the screen size of the terminal and the design draft size of the page module;
the first setting module is used for setting the font size attribute of a root node in page data according to the screen size of the terminal and the design draft size of the page module acquired by the first acquisition module, wherein the page data is an HTML code of a page where the page module is located;
the second acquisition module is used for acquiring the actual size of the verification object;
the first judging module is used for judging whether an adaptation error exists according to the relative size of the verification object, the font size attribute of the root node in the page data and the actual size of the verification object acquired by the second acquiring module;
a third obtaining module, configured to, when the first determining module determines that the adaptation error exists, obtain an error ratio according to the actual size of the verification object, the relative size of the verification object, and a font size attribute of a root node in the page data;
and the second setting module is used for adjusting the font size attribute of the root node in the page data according to the error proportion acquired by the third acquisition module.
9. The apparatus of claim 8,
the first setting module is specifically configured to obtain a ratio between a size of a design draft of the page module and a preset attribute value as a relative size of the page module, and obtain a ratio between a screen size of the terminal and the relative size of the page module as a font size attribute of a root node in the page data.
10. The apparatus of claim 8,
the first determining module is specifically configured to determine whether a product of the relative size of the verification object and a font size attribute of a root node in the page data is the same as an actual size of the verification object, and if so, determine that no adaptation error exists; otherwise, confirming that the adaptation error exists;
the third obtaining module is specifically configured to calculate a product of the relative size of the verification object and a font size attribute of a root node in the page data, and use a ratio of the product to an actual size of the verification object as an error proportion;
the second setting module is specifically configured to obtain a product of the font size attribute of the root node in the page data and the error ratio, and use the product as the adjusted font size attribute.
11. The apparatus of claim 8, further comprising:
and the creating module is used for creating the verification object before the second acquiring module acquires the actual size of the verification object, setting the relative size of the verification object and inserting the verification object into the page data.
12. The apparatus of claim 11, further comprising:
and the deleting module is used for deleting the verification object from the page data after the second acquiring module acquires the actual size of the verification object.
13. The apparatus of claim 8, further comprising:
the second judgment module is used for judging whether the screen size of the terminal changes or not after the page data is analyzed;
the first setting module is further configured to set a font size attribute of a root node in page data according to the screen size of the terminal and the design draft size of the page module again when the second determining module determines that the screen size of the terminal changes.
14. The apparatus of claim 8, wherein the root node is a root element < HTML > in the HTML code, and wherein the font size attribute is a font-size attribute of the root element < HTML >.
15. A computer-readable storage medium having stored thereon machine-readable instructions for causing at least one processor to perform the method of any one of claims 1-7.
CN201510627169.4A 2015-09-28 2015-09-28 Screen adaptation method and device for page module Active CN106557501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510627169.4A CN106557501B (en) 2015-09-28 2015-09-28 Screen adaptation method and device for page module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510627169.4A CN106557501B (en) 2015-09-28 2015-09-28 Screen adaptation method and device for page module

Publications (2)

Publication Number Publication Date
CN106557501A CN106557501A (en) 2017-04-05
CN106557501B true CN106557501B (en) 2020-03-17

Family

ID=58415569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510627169.4A Active CN106557501B (en) 2015-09-28 2015-09-28 Screen adaptation method and device for page module

Country Status (1)

Country Link
CN (1) CN106557501B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020276B (en) * 2017-08-22 2021-05-28 武汉斗鱼网络科技有限公司 Compatibility processing method and device for embedding H5 page in APP
CN107590240B (en) * 2017-09-13 2021-01-01 武汉斗鱼网络科技有限公司 Method and device for adjusting size of characters for page rendering
CN107918648B (en) * 2017-11-09 2022-03-25 上海欣兆阳信息科技有限公司 Method for establishing plane design template library and searching template
CN113051010B (en) * 2019-12-28 2023-04-28 Oppo(重庆)智能科技有限公司 Application picture adjustment method and related device in wearable equipment
CN112199139B (en) * 2020-09-02 2023-04-25 成都安易迅科技有限公司 Self-adaptive adjustment method and device for system scaling
CN114564130A (en) * 2022-02-23 2022-05-31 成都智元汇信息技术股份有限公司 Text self-adaption method, display terminal, system and medium based on public transport

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8301998B2 (en) * 2007-12-14 2012-10-30 Ebay Inc. Identification of content in an electronic document
CN101996206B (en) * 2009-08-11 2013-07-03 阿里巴巴集团控股有限公司 Method, device and system for displaying web page
CN103513979A (en) * 2012-06-29 2014-01-15 百度在线网络技术(北京)有限公司 Webpage self-adaption layout method and device
CN103530117A (en) * 2013-09-30 2014-01-22 山西云途信息技术有限公司 Method and device for adapting to screens, of different sizes, of mobile terminals
CN103744985A (en) * 2014-01-16 2014-04-23 世纪龙信息网络有限责任公司 Webpage adaption method and webpage adaption system

Also Published As

Publication number Publication date
CN106557501A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN106557501B (en) Screen adaptation method and device for page module
CN110837617B (en) Webpage self-adaptive layout method, server and computer readable storage medium
CN105975576B (en) Terminal content adaptive display method and device and terminal
US10067649B2 (en) Page switching method and apparatus
CN102591853B (en) Webpage rearrangement method, webpage rearrangement device and mobile terminal
US10592579B2 (en) Method and device for scaling font size of page in mobile terminal
CN110032314B (en) Long screen capture method and device, storage medium and terminal equipment
CN109325907B (en) Image beautifying processing method, device and system
CN106610829B (en) Webpage screenshot method and device
US9070034B2 (en) Method and system for correcting QR code image
WO2012055787A1 (en) Method for displaying a data set
JP6776805B2 (en) Character recognition device, character recognition method, character recognition program
JP6420469B2 (en) Reorganization and presentation of data fields with incorrect inputs
CN108021863B (en) Electronic device, age classification method based on image and storage medium
CN106168959B (en) Webpage layout method and device
CN105205077A (en) Page layout method, device and system
CN103186880B (en) Generate the method and apparatus of thumbnail
CN110766068B (en) Verification code identification method and computing equipment
CN107392316B (en) Network training method and device, computing equipment and computer storage medium
US8990051B2 (en) Geometry simplification apparatus, geometry simplification method, and program
CN104281562A (en) Electronic document processing method and device
US8867837B2 (en) Detecting separator lines in a web page
CN105389308A (en) Display processing method and device for web pages
US20190197986A1 (en) Methods for dynamically providing an image to be displayed
CN109325945B (en) Image processing method, image processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant