CN108345480A - Page layout switch management method, device and mobile terminal - Google Patents
Page layout switch management method, device and mobile terminal Download PDFInfo
- Publication number
- CN108345480A CN108345480A CN201710050012.9A CN201710050012A CN108345480A CN 108345480 A CN108345480 A CN 108345480A CN 201710050012 A CN201710050012 A CN 201710050012A CN 108345480 A CN108345480 A CN 108345480A
- Authority
- CN
- China
- Prior art keywords
- page
- navigation
- navigation bar
- entered
- stack
- 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.)
- Granted
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The present invention discloses a kind of page layout switch management method, device and mobile terminal, is related to computer realm.Wherein in page layout switch, to wait for stacking page creation top navigation bar view, the top navigation bar view of current display page is hidden, and show the top navigation bar view of stack page to be entered, stack page to be entered is depressed into navigation storehouse, to make stack page to be entered become current display page.The present invention passes through self-defined top navigation bar so that the pattern of navigation bar meets the needs of deisgn product and is easy to extend and be multiplexed.By way of self-defined top navigation bar, rather than by changing system navigation bar pattern or increasing customized system navigation bar item, to realize the personalized customization of top navigation bar so that modification top navigation bar is more convenient flexibly.
Description
Technical field
The present invention relates to computer realm, more particularly to a kind of page layout switch management method, device and mobile terminal.
Background technology
With the development of mobile Internet, more and more users replace PC (Personal using mobile terminal application
Computer, PC) end application.And under this relatively small display space of mobile terminal, display content is carried out
Effectively navigation is necessary.
The operating system of such as iOS provides included navigation bar control to help developer to lead display content
Boat, this navigation bar control are mainly shown as the navigation bar of page top fixed size, and above and below the form control for passing through storehouse
The grade page.To this navigation bar carry out personalized customization mainly by rewrite navigation bar pattern and addition navigation bar button item come
It realizes.
Specifically technical solution is:
1, after system start-up, application the page to be shown (generally homepage) is needed as the root of navigation bar at first to regard
Figure;
2, navigation bar appearance is set:If the navigation bar entirely applied all uses same pattern, Custom Navigation control
Device processed uniformly changes pattern in initialization;Special navigation bar pattern is used if a certain page, then will show it in the page
The preceding appearance to navigation bar is configured;
3, navigation bar item is set:Increase the navigation bar item for needing to give tacit consent to display in unified Custom Navigation, generally
By creating navigation bar button item, setting system included button pattern and operation can also pass through customized view next life
At.It is that system is fixed that navigation bar, which is divided into left side, right side and title division, position,;
4, the stacking (PUSH) of the page/pop (POP) is automatically controlled by system.
However following defect exists in the prior art:
1, the navigation bar pattern that acquiescence generates is relatively simple, needs to change navigation bar by way of Custom Navigation
Appearance and setting navigation bar item.However, the ratio of width to height of setting navigation bar is cumbersome, and change the position of customized navigation bar item
Size is also relatively difficult.It is difficult to meet the needs of product and design;
2, customized view is converted to navigation bar button item rearview by systems approach to be difficult to adjust, and added
It operates cumbersome;
3, the navigation bar acquiescence provided provides the animation effect of fade in/out, more complicated to self-defined animation effect,
And easy to produce many problems.
Invention content
A kind of page layout switch management method of offer of the embodiment of the present invention, device and mobile terminal, to solve above-mentioned existing skill
At least one defect in art.The present invention passes through self-defined top navigation bar so that the pattern of navigation bar meets deisgn product
Demand and be easy to extend and be multiplexed.By way of self-defined top navigation bar, rather than by changing system navigation bar pattern
Or increase customized system navigation bar item, to realize the personalized customization of top navigation bar so that modification top navigation bar is more
Add convenient, flexible.
According to an aspect of the present invention, a kind of page layout switch management method is provided, including:
In page layout switch, to wait for stacking page creation top navigation bar view;
The top navigation bar view of current display page is hidden, and shows the top navigation bar view of stack page to be entered;
Stack page to be entered is depressed into navigation storehouse, to make stack page to be entered become current display page.
In one embodiment, judge whether stack page to be entered is the predefined type page;
If stack page to be entered is the predefined type page, further judge whether stack page to be entered has been pressed down to navigation heap
Stack;
If stack page to be entered is not pressed down to navigation storehouse, execute to wait for stacking page creation top navigation bar view
Step;
If stack page to be entered has been pressed down to navigation storehouse, cancel the stack-incoming operation treated into stack page.
In one embodiment, if stack page to be entered is not the predefined type page, further judge that stack page to be entered is
No is current display page;
If stack page to be entered is not current display page, it is the step for waiting for stacking page creation top navigation bar view to execute
Suddenly;
If stack page to be entered is current display page, cancels after updating current display page and treat entering into stack page
Stack operation.
In one embodiment, it if stack page to be entered is not current display page, executes to wait for stacking page creation top
The step of portion's navigation bar view includes:
If stack page to be entered is not current display page, further judge whether stack page to be entered is included in navigation storehouse
In;
If stack page to be entered is included in navigation storehouse, stack page to be entered is removed from navigation storehouse, is then executed
For the step of waiting for stacking page creation top navigation bar view;
If stack page to be entered is not included in navigation storehouse, directly execute to wait for that stacking page creation top navigation bar regards
The step of figure.
In one embodiment, in page jump, acquisition waits for jump page;
The top navigation bar view of current display page is hidden, and shows the top navigation bar view for waiting for jump page;
Pop operations are carried out to navigation storehouse, to make to wait for that jump page becomes current display page.
In one embodiment, it obtains and waits for that jump page includes:
If user clicks in the top navigation bar view of current display page returns to the navigation button, page will be currently shown
The preposition page in face is used as and waits for jump page.
In one embodiment, if user directly selects back page in the storehouse that navigates, by selected return page
Face is used as and waits for jump page.
In one embodiment, for when stacking page creation top navigation bar view, for the top of stack page to be entered
Corresponding Show Styles, header entry and the navigation button is arranged in navigation bar view.
In one embodiment, if there is the preposition page of stack page to be entered, the top of stack page to be entered in navigation storehouse
Portion's navigation bar view includes returning to the navigation button.
In one embodiment, Show Styles includes that top navigation bar view is presented when being hidden and showing
Animation style, so that top navigation bar view is hidden and shows according to the animation style of setting.
In one embodiment, corresponding Show Styles, title are being set for the top navigation bar view of stack page to be entered
After item and the navigation button, further include:
The display items assignment of header entry and the navigation button is detected;
If the display items of header entry and/or the navigation button are assigned a value of predetermined value, corresponding position calculating is carried out, to really
Determine the position of header entry and/or the navigation button in top navigation bar view.
In one embodiment, in the navigation button further include collapsible navigation bar button;
Wherein, when user clicks collapsible navigation bar button, dropdown navigation column view is created, determines that dropdown navigation column regards
The size of button in the position of figure, size and dropdown navigation column view, and be shown with predetermined animation style;
When user clicks any position of current display page, dropdown navigation column view is packed up with predetermined animation style,
To realize the folding of dropdown navigation column view.
According to another aspect of the present invention, a kind of page layout switch managing device, including navigation bar control module, view are provided
Handover module and hand-off process module, wherein:
Navigation bar control module is used in page layout switch, to wait for stacking page creation top navigation bar view;
View handover module, the top navigation bar view for hiding current display page, and show stack page to be entered
Top navigation bar view;
Hand-off process module is worked as stack page to be entered to be depressed into navigation storehouse to make stack page to be entered become
The preceding display page.
In one embodiment, navigation bar control module specifically judges whether stack page to be entered is the predefined type page, if
Stack page to be entered be the predefined type page, then further judge whether stack page to be entered has been pressed down to navigation storehouse, if wait for into
Stack page is not pressed down to navigation storehouse, then it is the operation for waiting for stacking page creation top navigation bar view to execute;If waiting for stacking
The page has been pressed down to navigation storehouse, then cancels the stack-incoming operation treated into stack page.
In one embodiment, navigation bar control module is additionally operable to the case where stack page to be entered is not the predefined type page
Under, further judge whether stack page to be entered is current display page, if stack page to be entered is not current display page, is executed
To wait for the operation of stacking page creation top navigation bar view;It is current in update if stack page to be entered is current display page
Cancel the stack-incoming operation treated into stack page after the display page.
In one embodiment, navigation bar control module is additionally operable to the case where stack page to be entered is not current display page
Under, further judge whether stack page to be entered is included in navigation storehouse, it, will if stack page to be entered is included in navigation storehouse
Stack page to be entered is removed from navigation storehouse, and it is the operation for waiting for stacking page creation top navigation bar view then to execute;If waiting for
Enter stack page to be not included in navigation storehouse, then it is the operation for waiting for stacking page creation top navigation bar view directly to execute.
In one embodiment, navigation bar control module is additionally operable in page jump, and acquisition waits for jump page;
View handover module is additionally operable to hide the top navigation bar view of current display page, and shows and wait for jump page
Top navigation bar view;
Hand-off process module is additionally operable to carry out Pop operations to navigation storehouse, to make to wait for that jump page becomes current display
The page.
In one embodiment, navigation bar control module is specifically in acquisition when jump page, if user shows currently
It is clicked in the top navigation bar view of the page and returns to the navigation button, then using the preposition page of current display page as page to be redirected
Face.
In one embodiment, navigation bar control module is additionally operable to directly select back page in the storehouse that navigates in user
In the case of, using selected back page as waiting for jump page.
In one embodiment, above-mentioned apparatus further includes top navigation bar module, wherein:
Top navigation bar module, for navigation bar control module be when stacking page creation top navigation bar view,
For the top navigation bar view of stack page to be entered, corresponding Show Styles, header entry and the navigation button are set.
In one embodiment, if there is the preposition page of stack page to be entered, the top of stack page to be entered in navigation storehouse
Portion's navigation bar view includes returning to the navigation button.
In one embodiment, Show Styles includes that top navigation bar view is presented when being hidden and showing
Animation style, so that top navigation bar view is hidden and shows according to the animation style of setting.
In one embodiment, top navigation bar module is additionally operable in the top navigation bar view setting for stack page to be entered
After corresponding Show Styles, header entry and the navigation button, the display items assignment of header entry and the navigation button is detected, if mark
Topic item and/or the display items of the navigation button are assigned a value of predetermined value, then carry out corresponding position calculating, so that it is determined that header entry and/
Or position of the navigation button in top navigation bar view.
In one embodiment, in the navigation button further include collapsible navigation bar button;
Top navigation bar module is additionally operable to, when user clicks collapsible navigation bar button, create dropdown navigation column view,
Determine the size of button in position, size and the dropdown navigation column view of dropdown navigation column view, and with predetermined animation style into
Row displaying;When user clicks any position of current display page, dropdown navigation column view is packed up with predetermined animation style, with
Realize the folding of dropdown navigation column view.
According to another aspect of the present invention, a kind of page layout switch managing device, including memory and processor are provided,
In:
Memory, for storing instruction;
Processor, is coupled to memory, and the instruction execution that processor is configured as storing based on memory is realized as above-mentioned
The method that any embodiment is related to.
According to another aspect of the present invention, a kind of mobile terminal is provided, including the page that any of the above-described embodiment is related to is cut
Change managing device.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its
Advantage will become apparent.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art
With obtain other attached drawings according to these attached drawings.
Fig. 1 is the schematic diagram of page layout switch management method one embodiment of the present invention.
Fig. 2 is the schematic diagram of page top navigation bar view one embodiment.
Fig. 3 is the schematic diagram of another embodiment of page top navigation bar view.
Fig. 4 is the schematic diagram that page stacking of the present invention manages one embodiment.
Fig. 5 pops for the page of the present invention manages the schematic diagram of one embodiment.
Fig. 6 is the schematic diagram of the another embodiment of page top navigation bar view.
Fig. 7 is the schematic diagram of the another embodiment of page top navigation bar view.
Fig. 8 is the schematic diagram of page layout switch managing device one embodiment of the present invention.
Fig. 9 is the schematic diagram of another embodiment of page layout switch managing device of the present invention.
Figure 10 is the schematic diagram of the another embodiment of page layout switch managing device of the present invention.
Figure 11 is the schematic diagram of mobile terminal one embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Below
Description only actually at least one exemplary embodiment is illustrative, is never used as to the present invention and its application or makes
Any restrictions.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, shall fall within the protection scope of the present invention.
Unless specifically stated otherwise, positioned opposite, the digital table of the component and step that otherwise illustrate in these embodiments
It is not limited the scope of the invention up to formula and numerical value.
Simultaneously, it should be appreciated that for ease of description, the size of attached various pieces shown in the drawings is not according to reality
Proportionate relationship draw.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as authorizing part of specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without
It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
Fig. 1 is the schematic diagram of page layout switch management method one embodiment of the present invention.Optionally, the method step of the present embodiment
Suddenly it can be executed by page layout switch managing device.Wherein:
Step 101, in page layout switch, to wait for stacking page creation top navigation bar view.
Wherein, can be that the top navigation bar of stack page to be entered regards when stacking page creation top navigation bar view
Corresponding Show Styles, header entry and the navigation button is arranged in figure.
Optionally, if there is the preposition page of stack page to be entered, the top navigation bar of stack page to be entered in navigation storehouse
View includes returning to the navigation button.So that user returns to the navigation button by click, it is convenient to return to corresponding preposition
The page.
For example, Fig. 2 is Jingdone district homepage schematic diagram.From the figure, it can be seen that since homepage does not have preposition page, at top
Setting does not return to the navigation button in navigation bar.After user carries out clicking operation to enter respective activity page, as shown in figure 3,
Homepage is exactly the preposition page of the active page at this time, go out on the left of the top navigation bar view of active page at this time referring back to navigation by
Button.
Step 102, the top navigation bar view of current display page is hidden, and shows the top navigation bar of stack page to be entered
View.
Wherein, the animation sample that top navigation bar view is presented when being hidden and showing is may include in Show Styles
Formula, to which just top navigation bar view is hidden and shows according to the animation style of setting.
Step 103, stack page to be entered is depressed into navigation storehouse, to make stack page to be entered become current display page
Face.
Based on the page layout switch management method that the above embodiment of the present invention provides, pass through self-defined top navigation bar so that
The pattern of navigation bar meets the needs of deisgn product and is easy to extend and be multiplexed.By way of self-defined top navigation bar,
Rather than by changing system navigation bar pattern or increasing customized system navigation bar item, to realize the personalization of top navigation bar
Customization so that modification top navigation bar is more convenient flexibly.
In the present invention, since business needs, the page can be divided into following four type.
A) general display type:It is normally carried out the page of POP/PUSH, default type;
B) unique type:The singleton page, such as shopping cart, i.e., when from shopping cart PUSH to other pages, then from other pages
When face PUSH is to cart page, the cart page in storehouse is all the same page forever, and top can be moved on to from storehouse
Portion;
C) stack top unique type:Stack top unique page, such as the classification page, browsing history page, the logistical histories page, this
A little pages are similar with ordinary pages, only difference is that when it has been the stack top page, it can be refreshed;
D) stack top type:The stack top page, such as settle accounts page, can only occur in stack top, will not be stored in storehouse, i.e., when from
After settling accounts page PUSH to other pages, it will not be returned again by POP.
Fig. 4 is the schematic diagram that page stacking of the present invention manages one embodiment.It wherein, can root when carrying out page stacking
It is handled accordingly according to page type.
Step 401, judge whether stack page to be entered is the predefined type page.For example, the predefined type page can be above-mentioned silent
Recognize type page.
Wherein, if stack page to be entered is the predefined type page, 402 are thened follow the steps;If stack page to be entered is not predetermined class
The type page, thens follow the steps 403.
Step 402, further judge whether stack page to be entered has been pressed down to navigation storehouse.If stack page to be entered is by under
It is pressed onto navigation storehouse, then cancels the stack-incoming operation treated into stack page;If stack page to be entered is not pressed down to navigation storehouse, hold
Row step 406.
Step 403, further judge whether stack page to be entered is current display page.If stack page to be entered is not current aobvious
Show the page, thens follow the steps 405;If stack page to be entered is current display page, 404 are thened follow the steps.
Step 404, cancel the stack-incoming operation treated into stack page after updating current display page.
Step 405, judge whether stack page to be entered is included in navigation storehouse.If stack page to be entered is included in navigation storehouse
In, then stack page to be entered is removed from navigation storehouse.To avoid, in synchronization, there are multiple examples.
Step 406, to wait for stacking page creation top navigation bar view.
Step 407, it if stack page to be entered has the preposition page, creates to return to navigate in top navigation bar view and press
Button.
Step 408, the top navigation bar view of current display page is hidden, and shows the top navigation bar of stack page to be entered
View.
Step 409, stack page to be entered is depressed into navigation storehouse, to make stack page to be entered become current display page
Face.
Fig. 5 pops for the page of the present invention manages the schematic diagram of one embodiment.Wherein:
Step 501, in page jump, acquisition waits for jump page.
It wherein, will be current if user clicks in the top navigation bar view of current display page returns to the navigation button
The preposition page of the display page, which is used as, waits for jump page.The penultimate page will be navigated in storehouse as waiting for jump page.
If the page number in the storehouse that navigates is less than 2, shows that current page can not be redirected again, terminate the flow at this time.
If user directly selects back page in the storehouse that navigates, using selected back page as page to be redirected
Face.I.e. it is specified can directly to carry out the page by user.
Step 502, the top navigation bar view of current display page is hidden, and shows the top navigation bar for waiting for jump page
View.
It wherein, can and display operation hiding according to the Show Styles of setting progress navigation bar.
Step 503, Pop operations are carried out to navigation storehouse, to make to wait for that jump page becomes current display page.
Optionally, in the above-described embodiments, corresponding display sample is being set for the top navigation bar view of stack page to be entered
After formula, header entry and the navigation button, also further the display items assignment of header entry and the navigation button is detected.If header entry
And/or the display items of the navigation button are assigned a value of predetermined value (such as not being sky), then corresponding position calculating are carried out, so that it is determined that mark
Inscribe the position of item and/or the navigation button in top navigation bar view.
It should be noted that in the above-described embodiments, the navigation button can be by user's self-defining.As shown in Figure 2 and Figure 3, it leads
Boat button may include " shopping cart ", " my Jingdone district " etc..
Optionally, collapsible navigation bar button is may also include in the navigation button.As shown in the upper right corner Fig. 6.Wherein, in user
When clicking collapsible navigation bar button, dropdown navigation column view is created, determines position, size and the drop-down of dropdown navigation column view
The size of button in navigation bar view, and be shown with predetermined animation style, as shown in Figure 7.And it is clicked in user current aobvious
When showing any position of the page, dropdown navigation column view is packed up with predetermined animation style, to realize the folding of dropdown navigation column view
It is folded.
Fig. 8 is the schematic diagram of page layout switch managing device one embodiment of the present invention.As shown in figure 8, page layout switch management
Device includes navigation bar control module 801, view handover module 802 and hand-off process module 803.Wherein:
Navigation bar control module 801 is used in page layout switch, to wait for stacking page creation top navigation bar view.
View handover module 802 is used to hide the top navigation bar view of current display page, and shows stack page to be entered
Top navigation bar view.
Hand-off process module 803 is for stack page to be entered to be depressed into navigation storehouse, to make stack page to be entered become
Current display page.
Based on the page layout switch managing device that the above embodiment of the present invention provides, pass through self-defined top navigation bar so that
The pattern of navigation bar meets the needs of deisgn product and is easy to extend and be multiplexed.By way of self-defined top navigation bar,
Rather than by changing system navigation bar pattern or increasing customized system navigation bar item, to realize the personalization of top navigation bar
Customization so that modification top navigation bar is more convenient flexibly.
As noted previously, as can as needed distinguish page type, therefore navigation bar control module 801 needs
When carrying out page stack-incoming operation, need to carry out respective handling according to the type of stack page to be entered.
For example, navigation bar control module 801 specifically judges whether stack page to be entered is the predefined type page, if waiting for stacking page
Face is the predefined type page, then further judges whether stack page to be entered has been pressed down to navigation storehouse, if stack page to be entered is not
It is pressed down to navigation storehouse, then it is the operation for waiting for stacking page creation top navigation bar view to execute;If stack page to be entered by
It is depressed into navigation storehouse, then cancels the stack-incoming operation treated into stack page.
And in the case where stack page to be entered is not the predefined type page, navigation bar control module 801 further judges to wait for
Enter whether stack page is current display page, if stack page to be entered is not current display page, it is that stack page to be entered is created to execute
Build the operation of top navigation bar view;If stack page to be entered is current display page, cancel after updating current display page
Treat the stack-incoming operation into stack page.
Navigation bar control module 801 is additionally operable to, in the case where stack page to be entered is not current display page, further sentence
Whether stack page to be entered of breaking is included in navigation storehouse, will stack page be entered if stack page to be entered is included in navigation storehouse
It is removed from navigation storehouse, it is the operation for waiting for stacking page creation top navigation bar view then to execute;If stack page to be entered is not
It is included in navigation storehouse, then it is the operation for waiting for stacking page creation top navigation bar view directly to execute.
In addition, navigation bar control module 801 is additionally operable in page jump, acquisition waits for jump page.
Optionally, navigation bar control module 801 is specifically in acquisition when jump page, if user is in current display page
It is clicked in top navigation bar view and returns to the navigation button, then using the preposition page of current display page as waiting for jump page.
Alternatively, the case where navigation bar control module 801 is additionally operable to select back page directly in the storehouse that navigates in user
Under, using selected back page as waiting for jump page.
View handover module 802 is additionally operable to hide the top navigation bar view of current display page, and shows page to be redirected
The top navigation bar view in face.
Hand-off process module 803 is additionally operable to carry out Pop operations to navigation storehouse, to make to wait for that jump page becomes current
Show the page.
Fig. 9 is the schematic diagram of another embodiment of page layout switch managing device of the present invention.Compared with embodiment illustrated in fig. 8,
In embodiment illustrated in fig. 9, in addition to navigation bar control module 901, view handover module 902 and hand-off process module 903, also wrap
Top navigation bar module 904 is included, wherein:
Top navigation bar module 904 is used in navigation bar control module be to wait for stacking page creation top navigation bar view
When, for the top navigation bar view of stack page to be entered, corresponding Show Styles, header entry and the navigation button are set.
Wherein, when carrying out page stack-incoming operation, if navigation storehouse in exist stack page to be entered the preposition page, wait for into
The top navigation bar view of stack page includes returning to the navigation button.
Optionally, Show Styles includes the animation sample that top navigation bar view is presented when being hidden and showing
Formula, so that top navigation bar view is hidden and shows according to the animation style of setting.
Optionally, top navigation bar module 904 is additionally operable to be arranged in the top navigation bar view for stack page to be entered and correspond to
Show Styles, after header entry and the navigation button, the display items assignment of header entry and the navigation button is detected, if header entry
And/or the display items of the navigation button are assigned a value of predetermined value, then carry out corresponding position calculating, so that it is determined that header entry and/or leading
Position of the boat button in top navigation bar view.
Optionally, collapsible navigation bar button is may also include in the navigation button.
Correspondingly, top navigation bar module 904 is additionally operable to, when user clicks collapsible navigation bar button, create drop-down and lead
Navigate column view, determines the size of button in position, size and the dropdown navigation column view of dropdown navigation column view, and with predetermined dynamic
Pattern is drawn to be shown;When user clicks any position of current display page, dropdown navigation is packed up with predetermined animation style
Column view, to realize the folding of dropdown navigation column view.
Figure 10 is the schematic diagram of the another embodiment of page layout switch managing device of the present invention.As shown in Figure 10, page layout switch pipe
Reason device includes memory 1001 and processor 1002, wherein:
For storing instruction, processor 1002 is coupled to memory 1001 to memory 1001.Processor 1002 is configured as
Instruction execution based on memory storage realizes the method that any embodiment is related in such as Fig. 1, Fig. 4, Fig. 5.
As shown in Figure 10, page layout switch managing device further includes communication interface 1003, for miscellaneous equipment into row information
Interaction.Meanwhile the device further includes bus 1004, processor 1002, communication interface 1003 and memory 1001 pass through bus
1004 complete mutual communication.
Memory 1001 can include high-speed RAM memory, also can further include nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.Memory 1001 can also be memory array.Memory 1001 is also possible to
By piecemeal, and block can be combined into virtual volume by certain rule.
In addition, processor 1002 can be a central processor CPU, or it can be application-specific integrated circuit ASIC
(Application Specific Integrated Circuit), or be arranged to implement the one of the embodiment of the present invention
A or multiple integrated circuits.
Figure 11 is the schematic diagram of mobile terminal one embodiment of the present invention.As shown in figure 11, mobile terminal 1101 includes page
Face handover management device 1102.Wherein page layout switch managing device 1102 is the page layout switch that any embodiment is related in Fig. 8-10
Managing device.
It present invention can be suitably applied to iOS operating systems and other visualized operation systems that can be run on mobile terminals.
By applying the present invention, size, position and the pattern of top navigation bar can be changed easily, to navigation bar from
Definition setting can be light as general view, can preferably meet the needs of product and design aspect.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The calculating implemented on non-transient storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) can be used
The form of machine program product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Description of the invention provides for the sake of example and description, and is not exhaustively or will be of the invention
It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.It selects and retouches
It states embodiment and is to more preferably illustrate the principle of the present invention and practical application, and those skilled in the art is enable to manage
Various embodiments with various modifications of the solution present invention to design suitable for special-purpose.
Claims (26)
1. a kind of page layout switch management method, which is characterized in that including:
In page layout switch, to wait for stacking page creation top navigation bar view;
Hide the top navigation bar view of current display page, and the top navigation bar view of stack page to be entered described in display;
The stack page to be entered is depressed into navigation storehouse, to make the stack page to be entered become current display page.
2. according to the method described in claim 1, it is characterized in that, further including:
Whether stack page to be entered described in judgement is the predefined type page;
If the stack page to be entered is the predefined type page, further whether stack page to be entered described in judgement, which has been pressed down to, is led
Navigate storehouse;
If the stack page to be entered is not pressed down to navigation storehouse, execute to wait for stacking page creation top navigation bar view
Step;
If the stack page to be entered has been pressed down to navigation storehouse, cancel the stack-incoming operation to the stack page to be entered.
3. according to the method described in claim 2, it is characterized in that, further including:
If the stack page to be entered is not the predefined type page, further whether stack page to be entered described in judgement is currently to show
The page;
If the stack page to be entered is not current display page, it is the step for waiting for stacking page creation top navigation bar view to execute
Suddenly;
If the stack page to be entered is current display page, cancel to the stack page to be entered after updating current display page
Stack-incoming operation.
4. according to the method described in claim 3, it is characterized in that, further including:
If the stack page to be entered is not current display page, it is the step for waiting for stacking page creation top navigation bar view to execute
Suddenly include:
If the stack page to be entered is not current display page, further whether stack page to be entered described in judgement is included in navigation heap
In stack;
If the stack page to be entered is included in navigation storehouse, the stack page to be entered is removed from navigation storehouse, then
It executes as the step of waiting for stacking page creation top navigation bar view;
If the stack page to be entered is not included in navigation storehouse, directly execute to wait for that stacking page creation top navigation bar regards
The step of figure.
5. according to the method described in claim 1, it is characterized in that, further including:
In page jump, acquisition waits for jump page;
The top navigation bar view of current display page is hidden, and waits for the top navigation bar view of jump page described in display;
Pop operations are carried out to navigation storehouse, to make described to wait for that jump page becomes current display page.
6. according to the method described in claim 5, it is characterized in that,
Acquisition waits for that jump page includes:
If user clicks in the top navigation bar view of current display page returns to the navigation button, by current display page
The preposition page is used as and waits for jump page.
7. according to the method described in claim 6, it is characterized in that,
If user directly selects back page in the storehouse that navigates, using selected back page as waiting for jump page.
8. according to the described method of any one of claim 1-7, which is characterized in that further include:
For when stacking page creation top navigation bar view, for the top navigation bar view setting pair of the stack page to be entered
Show Styles, header entry and the navigation button answered.
9. according to the method described in claim 8, it is characterized in that, further including:
If there is the preposition page of the stack page to be entered in the storehouse that navigates, the top navigation bar view of the stack page to be entered
Include returning to the navigation button.
10. according to the method described in claim 8, it is characterized in that, further including:
The Show Styles includes the animation style that top navigation bar view is presented when being hidden and showing, to push up
Portion's navigation bar view is hidden and shows according to the animation style of setting.
11. according to the method described in claim 8, it is characterized in that,
To be described after corresponding Show Styles, header entry and the navigation button is arranged in the top navigation bar view for entering stack page,
Further include:
The display items assignment of the header entry and the navigation button is detected;
If the display items of the header entry and/or the navigation button are assigned a value of predetermined value, corresponding position calculating is carried out, to really
The fixed position of the header entry and/or the navigation button in top navigation bar view.
12. according to the method described in claim 8, it is characterized in that,
It further include collapsible navigation bar button in described the navigation button;
Wherein, when user clicks collapsible navigation bar button, dropdown navigation column view is created, determines dropdown navigation column view
The size of button in position, size and dropdown navigation column view, and be shown with predetermined animation style;
When user clicks any position of current display page, dropdown navigation column view is packed up with predetermined animation style, with reality
Now draw the folding of navigation bar view.
13. a kind of page layout switch managing device, which is characterized in that including navigation bar control module, view handover module and switching
Processing module, wherein:
Navigation bar control module is used in page layout switch, to wait for stacking page creation top navigation bar view;
View handover module, the top navigation bar view for hiding current display page, and stack page to be entered described in display
Top navigation bar view;
Hand-off process module, for the stack page to be entered to be depressed into navigation storehouse, so as to make the stack page to be entered at
For current display page.
14. device according to claim 13, which is characterized in that
Whether stack page to be entered is the predefined type page described in the specific judgement of navigation bar control module, if the stack page to be entered is
The predefined type page, then further whether stack page to be entered described in judgement has been pressed down to navigation storehouse, if described wait for stacking page
Face is not pressed down to navigation storehouse, then it is the operation for waiting for stacking page creation top navigation bar view to execute;If described wait for stacking
The page has been pressed down to navigation storehouse, then cancels the stack-incoming operation to the stack page to be entered.
15. device according to claim 14, which is characterized in that further include:
Navigation bar control module is additionally operable to, in the case where the stack page to be entered is not the predefined type page, further judge institute
State whether stack page to be entered is current display page, if the stack page to be entered is not current display page, execute for wait for into
Stack page creates the operation of top navigation bar view;It is current aobvious in update if the stack page to be entered is current display page
Show the stack-incoming operation cancelled after the page to the stack page to be entered.
16. device according to claim 15, which is characterized in that
Navigation bar control module is additionally operable to, in the case where the stack page to be entered is not current display page, further judge institute
It states whether stack page to be entered is included in navigation storehouse, if the stack page to be entered is included in navigation storehouse, is waited for described
Enter stack page to remove from navigation storehouse, it is the operation for waiting for stacking page creation top navigation bar view then to execute;If described
Stack page to be entered is not included in navigation storehouse, then it is the operation for waiting for stacking page creation top navigation bar view directly to execute.
17. device according to claim 13, which is characterized in that further include:
Navigation bar control module is additionally operable in page jump, and acquisition waits for jump page;
View handover module is additionally operable to hide the top navigation bar view of current display page, and waits for jump page described in display
Top navigation bar view;
Hand-off process module is additionally operable to carry out Pop operations to navigation storehouse, to make described to wait for that jump page becomes current display
The page.
18. device according to claim 17, which is characterized in that
Navigation bar control module is specifically in acquisition when jump page, if user is in the top navigation bar view of current display page
Middle click returns to the navigation button, then using the preposition page of current display page as waiting for jump page.
19. device according to claim 18, which is characterized in that
It, will be selected in the case that navigation bar control module is additionally operable to select back page directly in the storehouse that navigates in user
Back page is used as and waits for jump page.
20. according to the device described in any one of claim 13-19, which is characterized in that further include top navigation bar module,
In:
Top navigation bar module, for being when stacking page creation top navigation bar view, for institute in navigation bar control module
Corresponding Show Styles, header entry and the navigation button is arranged in the top navigation bar view for stating stack page to be entered.
21. device according to claim 20, which is characterized in that further include:
If there is the preposition page of the stack page to be entered in the storehouse that navigates, the top navigation bar view of the stack page to be entered
Include returning to the navigation button.
22. device according to claim 20, which is characterized in that further include:
The Show Styles includes the animation style that top navigation bar view is presented when being hidden and showing, to push up
Portion's navigation bar view is hidden and shows according to the animation style of setting.
23. device according to claim 20, which is characterized in that
Top navigation bar module be additionally operable to the top navigation bar view for the stack page to be entered be arranged corresponding Show Styles,
After header entry and the navigation button, the display items assignment of the header entry and the navigation button is detected, if the header entry and/
Or the display items of the navigation button are assigned a value of predetermined value, then carry out corresponding position calculating, so that it is determined that the header entry and/or leading
Position of the boat button in top navigation bar view.
24. device according to claim 20, which is characterized in that
It further include collapsible navigation bar button in described the navigation button;
Top navigation bar module is additionally operable to, when user clicks collapsible navigation bar button, create dropdown navigation column view, determine
The size of button in the position of dropdown navigation column view, size and dropdown navigation column view, and opened up with predetermined animation style
Show;When user clicks any position of current display page, dropdown navigation column view is packed up with predetermined animation style, to realize
The folding of dropdown navigation column view.
25. a kind of page layout switch managing device, which is characterized in that including memory and processor, wherein:
Memory, for storing instruction;
Processor is coupled to the memory, and it is real that the processor is configured as the instruction execution stored based on the memory
The now method as described in any one of claim 1-12.
26. a kind of mobile terminal, which is characterized in that include the page layout switch management as described in any one of claim 13-25
Device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710050012.9A CN108345480B (en) | 2017-01-23 | 2017-01-23 | Page switching management method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710050012.9A CN108345480B (en) | 2017-01-23 | 2017-01-23 | Page switching management method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108345480A true CN108345480A (en) | 2018-07-31 |
CN108345480B CN108345480B (en) | 2021-09-03 |
Family
ID=62974651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710050012.9A Active CN108345480B (en) | 2017-01-23 | 2017-01-23 | Page switching management method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108345480B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669749A (en) * | 2018-12-13 | 2019-04-23 | 广州艾美网络科技有限公司 | A method of realizing IOS system Custom Navigation |
CN110968386A (en) * | 2018-09-30 | 2020-04-07 | 阿里巴巴集团控股有限公司 | Navigation bar processing method and system |
CN111538574A (en) * | 2020-03-27 | 2020-08-14 | 北京达佳互联信息技术有限公司 | Task stack management method, device, terminal and storage medium |
CN111901370A (en) * | 2020-05-29 | 2020-11-06 | 大数金科网络技术有限公司 | Method for customizing iOS navigation bar style based on protocol |
CN113867591A (en) * | 2021-10-09 | 2021-12-31 | 拉扎斯网络科技(上海)有限公司 | Control method and device for displaying second floor page, storage medium and electronic equipment |
CN113918073A (en) * | 2021-10-29 | 2022-01-11 | 北京达佳互联信息技术有限公司 | Interface processing method and device, electronic equipment and computer readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807202A (en) * | 2010-02-24 | 2010-08-18 | 深圳市五巨科技有限公司 | Mobile terminal browser optimization method and mobile terminal browser |
CN101833576A (en) * | 2010-04-23 | 2010-09-15 | 广州联炬科技企业孵化器有限公司 | Method for adding web shortcut navigation menu |
US20110283215A1 (en) * | 2010-05-11 | 2011-11-17 | Microsoft Corporation | Integrated user interface controls for web dialogs |
CN103164104A (en) * | 2011-12-15 | 2013-06-19 | 腾讯科技(深圳)有限公司 | Web page switching method and web page switching device |
CN103678646A (en) * | 2013-12-20 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Method and device for presenting pages |
CN104050171A (en) * | 2013-03-12 | 2014-09-17 | 腾讯科技(深圳)有限公司 | Method, device and system for navigating pages presented on mobile terminal |
CN104102640A (en) * | 2013-04-03 | 2014-10-15 | 阿里巴巴集团控股有限公司 | Method for displaying head of page and client |
CN105183475A (en) * | 2015-09-08 | 2015-12-23 | 北京思特奇信息技术股份有限公司 | Method and system for customizing individuality pages of portal website by user himself |
-
2017
- 2017-01-23 CN CN201710050012.9A patent/CN108345480B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807202A (en) * | 2010-02-24 | 2010-08-18 | 深圳市五巨科技有限公司 | Mobile terminal browser optimization method and mobile terminal browser |
CN101833576A (en) * | 2010-04-23 | 2010-09-15 | 广州联炬科技企业孵化器有限公司 | Method for adding web shortcut navigation menu |
US20110283215A1 (en) * | 2010-05-11 | 2011-11-17 | Microsoft Corporation | Integrated user interface controls for web dialogs |
CN103164104A (en) * | 2011-12-15 | 2013-06-19 | 腾讯科技(深圳)有限公司 | Web page switching method and web page switching device |
CN104050171A (en) * | 2013-03-12 | 2014-09-17 | 腾讯科技(深圳)有限公司 | Method, device and system for navigating pages presented on mobile terminal |
CN104102640A (en) * | 2013-04-03 | 2014-10-15 | 阿里巴巴集团控股有限公司 | Method for displaying head of page and client |
CN103678646A (en) * | 2013-12-20 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Method and device for presenting pages |
CN105183475A (en) * | 2015-09-08 | 2015-12-23 | 北京思特奇信息技术股份有限公司 | Method and system for customizing individuality pages of portal website by user himself |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968386A (en) * | 2018-09-30 | 2020-04-07 | 阿里巴巴集团控股有限公司 | Navigation bar processing method and system |
CN110968386B (en) * | 2018-09-30 | 2023-05-02 | 阿里巴巴集团控股有限公司 | Navigation bar processing method and system |
CN109669749A (en) * | 2018-12-13 | 2019-04-23 | 广州艾美网络科技有限公司 | A method of realizing IOS system Custom Navigation |
CN111538574A (en) * | 2020-03-27 | 2020-08-14 | 北京达佳互联信息技术有限公司 | Task stack management method, device, terminal and storage medium |
CN111538574B (en) * | 2020-03-27 | 2024-03-12 | 北京达佳互联信息技术有限公司 | Task stack management method, device, terminal and storage medium |
CN111901370A (en) * | 2020-05-29 | 2020-11-06 | 大数金科网络技术有限公司 | Method for customizing iOS navigation bar style based on protocol |
CN113867591A (en) * | 2021-10-09 | 2021-12-31 | 拉扎斯网络科技(上海)有限公司 | Control method and device for displaying second floor page, storage medium and electronic equipment |
CN113918073A (en) * | 2021-10-29 | 2022-01-11 | 北京达佳互联信息技术有限公司 | Interface processing method and device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108345480B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108345480A (en) | Page layout switch management method, device and mobile terminal | |
CN109690481B (en) | Method and apparatus for dynamic function row customization | |
US9354707B2 (en) | Combination color and pen palette for electronic drawings | |
US20070150821A1 (en) | GUI-maker (data-centric automated GUI-generation) | |
US7818671B2 (en) | Virtual navigation of menus | |
CN109643212A (en) | 3D document editing system | |
CN107111496A (en) | customizable blade application | |
CN103425479A (en) | User interface for remote device virtualization | |
CN110471609B (en) | Text information editing method and device, computer equipment and storage medium | |
CN106293669A (en) | A kind of generation method and apparatus of web pages component | |
US11119636B2 (en) | Display for input selection on a compact information processing device | |
CN111176531A (en) | Electronic device, interaction method thereof and computer-readable storage medium | |
CN112667328A (en) | Stock quote device and method with multiple graphic user interface | |
US8745512B2 (en) | Method and computer-readable medium for interacting with a portion of an electronic document | |
US10452748B2 (en) | Deconstructing and rendering of web page into native application experience | |
US11269478B2 (en) | Adapted overlay help system | |
Yanli et al. | Modular design of mobile app interface based on the visual flow | |
CN107818000A (en) | The operating method and device of a kind of page tabular | |
CN110362249B (en) | Control method and device for page jump of writing screen software | |
CN106126056A (en) | A kind of lantern slide based on PowerPoint automatically creates method and device | |
CN110119485B (en) | Interface access method and device based on bookmark | |
Feuerstack et al. | Designing and executing multimodal interfaces for the web based on state chart XML | |
CN105404445A (en) | Method and apparatus for processing page activity | |
CN115686723A (en) | Theme style file generation method, device, equipment, storage medium and product | |
CN116055444A (en) | Object sharing method and device |
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 |