Movatterモバイル変換


[0]ホーム

URL:


CN105677749B - Page display method and device - Google Patents

Page display method and device
Download PDF

Info

Publication number
CN105677749B
CN105677749BCN201511019112.2ACN201511019112ACN105677749BCN 105677749 BCN105677749 BCN 105677749BCN 201511019112 ACN201511019112 ACN 201511019112ACN 105677749 BCN105677749 BCN 105677749B
Authority
CN
China
Prior art keywords
list
lists
vertical coordinate
page
control
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
CN201511019112.2A
Other languages
Chinese (zh)
Other versions
CN105677749A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co LtdfiledCriticalBeijing Jingdong Century Trading Co Ltd
Priority to CN201511019112.2ApriorityCriticalpatent/CN105677749B/en
Publication of CN105677749ApublicationCriticalpatent/CN105677749A/en
Application grantedgrantedCritical
Publication of CN105677749BpublicationCriticalpatent/CN105677749B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention provides a page display method and a device, wherein the method comprises the following steps: loading a plurality of lists in a page, and arranging first controls which can be respectively linked to more information corresponding to the lists at first preset positions of the lists; identifying a list currently being browsed and corresponding content; and according to the identified list currently browsed, fixedly setting a second control which can be linked to more information corresponding to the currently browsed list at a second preset position of the screen. By the page display method and the page display device, when commodities are selected and purchased on the mobile equipment or pages are browsed to enter other lists, the operation of a user is facilitated, and the use experience of the user is effectively improved.

Description

Page display method and device
Technical Field
The invention relates to the field of mobile communication, in particular to a page display method and device.
Background
Usually, when browsing web pages or shopping on apps of mobile devices, the web pages need to show different kinds of merchandise lists or news lists. Due to the limitation of the display area of the mobile device, a software developer may display a plurality of lists on a page, thereby causing each list not to completely display the specific content of each list. In the prior art, developers would add one "more" control or button per list to link to a page that fully displays the specific content of each list.
In view of the above display manner, when a user browses a web page or shops, whenever browsing the bottom of the current list, the user needs to check more specific contents of the current list and need to return to the top of the current list to click the "more" control, and this operation manner may cause inconvenience in operation and poor user experience in the process of browsing for a long time.
Disclosure of Invention
In view of the above situation, the present invention provides a page display method and apparatus, so as to solve the operation problem that it is inconvenient for a user to browse a page when browsing the page on a mobile device and entering another list.
The technical scheme of the invention is to provide a page display method, which comprises the following steps: loading a plurality of lists in a page, and arranging first controls which can be respectively linked to more information corresponding to the lists at first preset positions of the lists; identifying a list currently being browsed and corresponding content; and according to the identified list currently browsed, fixedly setting a second control which can be linked to more information corresponding to the currently browsed list at a second preset position of the screen.
Optionally, identifying the list currently being browsed and the corresponding content comprises: and identifying the list as a currently browsed list according to the position relation between the first control of the currently displayed list and the screen display area.
Optionally, identifying the list currently being browsed and the corresponding content further comprises: acquiring the current screen scrolling height, a first vertical coordinate of a first control of each list and a second vertical coordinate of the bottom of the list; and if the current screen scrolling height is larger than the first vertical coordinate and smaller than the second vertical coordinate, the list is the currently browsed list.
Optionally, the first preset position includes, but is not limited to, the upper right corner of the list.
Optionally, the second predetermined location includes, but is not limited to, a top of the screen.
The present invention also provides a page display apparatus, comprising: the page information module is used for loading a plurality of lists in a page, and first controls which can be respectively linked to more information corresponding to the lists are arranged at first preset positions of the lists; the position processing module is used for identifying the list which is browsed currently and the corresponding content; and the control generating module is used for fixedly setting a second control which can be linked to more information corresponding to the currently browsed list at a second preset position of the screen according to the identified currently browsed list.
Optionally, the position processing module identifies the list as a currently browsed list according to a position relationship between the first control of the currently displayed list and the screen display area.
Optionally, the position processing module further comprises: the position calculation module is used for acquiring the current screen scrolling height, a first vertical coordinate of the first control of each list and a second vertical coordinate of the bottom of the list; and the position judging module is used for judging that the list is the currently browsed list if the current screen scrolling height is larger than the first vertical coordinate and smaller than the second vertical coordinate.
Optionally, the first preset position includes, but is not limited to, the upper right corner of the list.
Optionally, the second predetermined location includes, but is not limited to, a top of the screen.
By the page display method and the page display device, when commodities are selected and purchased on the mobile equipment or pages are browsed to enter other lists, the operation of a user is facilitated, and the use experience of the user is effectively improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. In the drawings:
FIG. 1 is a schematic diagram of an application scenario of the present invention;
FIG. 2 is a flow chart of a method of the present invention;
FIG. 3 is a schematic view of the apparatus of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
According to the embodiment of the invention, a page display method and a display device are provided.
Application scene overview
Fig. 1 is a schematic view of an application scenario of the present invention. Specifically, the application scenario of the present invention includes application software (hereinafter abbreviated as App) and a mobile terminal, where the mobile terminal may be, for example and without limitation, a mobile electronic device such as a mobile phone, a tablet computer, a personal digital assistant, a vehicle-mounted computer, an electronic book reader, and the like.
It should be understood that the height of the web page is denoted as H, the height of the current screen display is denoted as H2, and the term "scroll height" referred to herein is the distance H1 from the vertex of the current screen to the vertex of the web page.
Example one
FIG. 2 is a flowchart of a page display method according to the present invention. The method comprises the following steps: loading a plurality of lists in a page, and arranging first controls which can be respectively linked to more information corresponding to the lists at first preset positions of the lists; identifying a list currently being browsed and corresponding content; and according to the identified list currently browsed, fixedly setting a second control which can be linked to more information corresponding to the currently browsed list at a second preset position of the screen.
Optionally, identifying the list currently being browsed and the corresponding content comprises: and identifying the list as a currently browsed list according to the position relation between the first control of the currently displayed list and the screen display area.
Optionally, identifying the list currently being browsed and the corresponding content further comprises: acquiring the current screen scrolling height, a first vertical coordinate of a first control of each list and a second vertical coordinate of the bottom of the list; and if the current screen scrolling height is larger than the first vertical coordinate and smaller than the second vertical coordinate, the list is the currently browsed list.
Optionally, the first preset position includes, but is not limited to, the upper right corner of the list.
Optionally, the second predetermined location includes, but is not limited to, a top of the screen.
The present invention will be described in detail with reference to a specific embodiment, however, it should be noted that the specific embodiment is only for better describing the present invention and should not be construed as limiting the present invention.
When a user clicks the mobile phone to execute the App, a plurality of preset lists are loaded on the page according to the content of the page after the App of the mobile phone is opened, then an 'more' control is generated at the upper right corner of each preset list, and the preset name of each module is displayed on the left side of the 'more' control. When a user selects commodities or browses pages on the App, the preset lists are sequentially displayed on the page of the mobile phone according to the list sequence preset by the page according to the upward dragging action of the user.
And identifying the list as the currently browsed list according to the position relation between the first control of the currently browsed list and the screen display area. Specifically, the current screen scroll height H1 is obtained and the vertical coordinate X1 of the "more" control in the upper right corner of each list in the web page and the vertical coordinate X2 at the bottom of the corresponding list are obtained in a loop.
The specific judgment method is as follows:
sequentially acquiring more controls of the positions of the screen which are crossed and reading the vertical coordinates X of the more controls;
the comparison conditions were: the vertical coordinate X1 of the control in the current list is less than the scroll height H1, and the vertical coordinate X2 at the bottom of the list is greater than the scroll height H1:
if the condition is not met and a next list exists, circulating the next list;
if the conditions are met, i.e., the scrolling height H1 is greater than the vertical coordinate X1 of the control in the current list, and the scrolling height H1 is less than the vertical coordinate X2 at the bottom of the list, the index of the "more" control in the current list is recorded as the index of information to be displayed.
Then, a fixed "more" control is generated at the top of the screen, and the title of the fixed "more" control is changed to the title of the record index and the link point.
Finally, the user can jump to the corresponding list page by clicking the more control.
By the page display method provided by the invention, when the mobile equipment selects and purchases commodities or browses pages to enter other lists, the operation of the user is facilitated, and the use experience of the user is effectively improved.
Example two
The present invention also provides a page display apparatus, as shown in fig. 3, theapparatus 3 includes:
thepage information module 31 is configured to load a plurality of lists in a page, and first controls that can be respectively linked to more information corresponding to the plurality of lists are respectively arranged at first preset positions of the plurality of lists; alocation processing module 32 for identifying a list currently being browsed and corresponding content; and thecontrol generating module 33 is configured to fixedly set, at a second preset position on the screen, a second control that can be linked to more information corresponding to the currently browsed list according to the identified currently browsed list.
Optionally, theposition processing module 32 identifies the currently browsed list as a list according to a position relationship between the first control of the currently displayed list and the screen display area.
Optionally, theposition processing module 32 further includes: a position calculating module 321, configured to obtain a current screen scrolling height, a first vertical coordinate of the first control of each list, and a second vertical coordinate of the bottom of the list; aposition determining module 322, configured to determine that the list is a currently browsed list if the current screen scrolling height is greater than the first vertical coordinate and less than the second vertical coordinate.
Optionally, the first preset position includes, but is not limited to, the upper right corner of the list.
Optionally, the second predetermined location includes, but is not limited to, a top of the screen.
The present invention will be described in detail with reference to a specific embodiment, however, it should be noted that the specific embodiment is only for better describing the present invention and should not be construed as limiting the present invention.
When a user clicks a mobile phone to execute an App, thepage information module 31 loads a plurality of preset lists on a page according to page contents after the mobile phone App is opened, then the upper right corner of each preset list generates one more control or button, and the left side of each more control is provided with a preset name for displaying each module. When a user selects commodities or browses pages on the App, the preset lists are sequentially displayed on the page of the mobile phone according to the list sequence preset by the page according to the upward dragging action of the user.
Theposition processing module 32 identifies the list as the currently browsed list according to the position relationship between the first control of the currently browsed list and the screen display area. Specifically, the current screen scroll height H1 is obtained and the vertical coordinate X1 of the "more" control in the upper right corner of each list in the web page and the vertical coordinate X2 at the bottom of the corresponding list are obtained in a loop.
The specific judgment method is as follows:
sequentially acquiring more controls of the positions of the screen which are crossed and reading the vertical coordinates X of the more controls;
the comparison conditions were: the vertical coordinate X1 of the control in the current list is less than the scroll height H1, and the vertical coordinate X2 at the bottom of the list is greater than the scroll height H1:
if the condition is not met and a next list exists, circulating the next list;
if the conditions are met, i.e., the scrolling height H1 is greater than the vertical coordinate X1 of the control in the current list, and the scrolling height H1 is less than the vertical coordinate X2 at the bottom of the list, the index of the "more" control in the current list is recorded as the index of information to be displayed.
Thecontrol generation module 33 then generates a fixed "more" control at the top of the screen, changing the title of the fixed "more" control to the title of the record index and the link pointer.
Finally, the user can jump to the corresponding list page by clicking the more control.
The page display device provided by the invention can facilitate the operation of a user when selecting and purchasing commodities on the mobile equipment or browsing the page and entering other lists, and effectively improve the use experience of the user.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

CN201511019112.2A2015-12-312015-12-31Page display method and deviceActiveCN105677749B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201511019112.2ACN105677749B (en)2015-12-312015-12-31Page display method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201511019112.2ACN105677749B (en)2015-12-312015-12-31Page display method and device

Publications (2)

Publication NumberPublication Date
CN105677749A CN105677749A (en)2016-06-15
CN105677749Btrue CN105677749B (en)2020-02-07

Family

ID=56189804

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201511019112.2AActiveCN105677749B (en)2015-12-312015-12-31Page display method and device

Country Status (1)

CountryLink
CN (1)CN105677749B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107807764B (en)*2017-10-272020-10-13优酷网络技术(北京)有限公司Page display method and client

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102982069A (en)*2012-10-252013-03-20北京奇虎科技有限公司Method and device for recommended data displaying
CN104484088A (en)*2014-12-022015-04-01百度在线网络技术(北京)有限公司Search result display method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9405710B2 (en)*2009-06-302016-08-02Rovi Guides, Inc.Systems and methods for providing interactive media guidance on a wireless communications device
EP3101392B1 (en)*2013-03-152021-12-15Apple Inc.Mapping application with turn-by-turn navigation mode for output to vehicle display
CN104267871A (en)*2014-09-102015-01-07百度在线网络技术(北京)有限公司Method for rendering pages and device thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102982069A (en)*2012-10-252013-03-20北京奇虎科技有限公司Method and device for recommended data displaying
CN104484088A (en)*2014-12-022015-04-01百度在线网络技术(北京)有限公司Search result display method and device

Also Published As

Publication numberPublication date
CN105677749A (en)2016-06-15

Similar Documents

PublicationPublication DateTitle
US11393017B2 (en)Two-dimensional code identification method and device, and mobile terminal
CN111259284B (en)Method and device for lazy loading of page, storage medium and processor
US20130002706A1 (en)Method and apparatus for customizing a display screen of a user interface
US9092131B2 (en)Highlighting of tappable web page elements
CN105094557B (en)A kind of display control method and device, electronic equipment
EP2924593A1 (en)Method and apparatus for constructing documents
CN107066174A (en)Floating layer display methods, device and user terminal
CN105745612A (en)Resizing technique for display content
US20150286342A1 (en)System and method for displaying application data through tile objects
CA3168780A1 (en)Method and apparatus for browsing table in document, and electronic device and storage medium
US20150019341A1 (en)System and method for displaying information on mobile devices
CN104166553A (en)Display method and electronic device
CN107315595A (en)Desktop layout method and device and user terminal
US20160004406A1 (en)Electronic device and method of displaying a screen in the electronic device
CN108319683A (en)Webpage display process, device and terminal
CN113393294B (en)Page display method and device, equipment and storage medium
CN111143731A (en)Display method and device for webpage interface zooming and terminal equipment
EP3043251A1 (en)Method of displaying content and electronic device implementing same
CN111680246B (en)Grouping title top-setting method, device and equipment based on recylerview left-right linkage control
CN109933258A (en)Information display method, device, electronic equipment and readable storage medium storing program for executing
CN113298600A (en)Method and device for browsing commodity information
CN110007831B (en)Page turning control method and device and terminal equipment
CN105677749B (en)Page display method and device
CN111796736B (en)Application sharing method and device and electronic equipment
WO2019085810A1 (en)Processing method, device, apparatus, and machine-readable medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp