Page switching method of hybrid application, framework, computer device and storage medium
A hybrid application and page switching technology, which is applied in the field of information processing, can solve the problems of blank pages, data that cannot be updated in time, and data that cannot be directly shared and operated, and achieve the effect of avoiding blanks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Embodiment 1 of the present invention provides a page switching method for a hybrid application. The hybrid application includes a native framework and a JavaScript framework. The JavaScript framework is used to implement and control the pages of the hybrid application, and the native framework is used to provide various data for the JavaScript framework. Interface, in particular, in this embodiment, the native framework provides a data operation interface for the javascript framework, and the data operation interface includes a data storage interface (saveData()) and a data read interface (getData()). Among them, when the javascript framework is the Vue framework, the execution body of the page switching method is the Vue framework, and the page of the hybrid application is the Vue page. figure 1 The flow chart of Embodiment 1 of the method for page switching of hybrid applications provided by the present invention, such as figure 1 As shown, the page switching method ...
Embodiment 2
[0042] The second embodiment of the present invention provides a Vue framework for a hybrid application that is suitable for implementing any one of the hybrid application page switching methods provided by the present invention, and the related description can refer to the above-mentioned first embodiment. The hybrid application includes a native framework and a javascript framework. The javascript framework is used to implement and control the pages of the hybrid application, and the native framework is used to provide various data interfaces for the javascript framework. In particular, in this embodiment, the native framework is a javascript framework Provides a data operation interface, which includes a data storage interface (saveData()) and a data read interface (getData()). The javascript framework is a Vue framework, and the Vue framework includes: a data model creation module 201 , a page transition detection module 202 , a first page transition module 203 , a second p...
Embodiment 3
[0054] This embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including independent servers, or A server cluster composed of multiple servers), etc. like image 3 As shown, the computer device 20 in this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can be communicatively connected to each other through a system bus, such as image 3 shown. It should be pointed out that, image 3 Only the computer device 20 is shown with components 21-22, but it should be understood that implementation of all shown components is not a requirement and that more or fewer components may be implemented instead.
[0055] In this embodiment, the memory 21 (ie, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (eg, SD or DX memory, etc.), random access memory (R...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com