Unlock instant, AI-driven research and patent intelligence for your innovation.

Sliding method and device based on Taro framework at H5 end

A framework and automatic execution technology, applied in the computer field, can solve problems such as invalid life cycle function calls, unable to roll back to the top of the status bar in the header, and difficult to use, etc., to achieve the effect of improving user experience

Pending Publication Date: 2022-05-03
SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, Taro only proposes a set of codes in terms of design concepts to achieve multi-terminal packaging, and cannot achieve the effects of each terminal in the details of the program to fully conform to the product design.
Among them, some sliding effects that can be realized in small programs cannot be realized on the H5 side. For example, in the H5 environment, there may be manual clicks on the head statusBar status bar that cannot be rolled back to the top, or onPageScroll, onPullDownRefresh, onReachBottom The life cycle function call is invalid or difficult to use, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Sliding method and device based on Taro framework at H5 end
  • Sliding method and device based on Taro framework at H5 end
  • Sliding method and device based on Taro framework at H5 end

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0032] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0033] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0034] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static rando...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention aims to provide a sliding method and equipment based on a Taro framework at an H5 end. Compared with the prior art, the method has the advantages that an H5 end viewport area rolling mechanism of a Taro framework is relieved, so that the height of a document stream can be larger than that of a mobile phone viewport area, and a target file is called to automatically execute a corresponding life cycle function by monitoring a native scroll event and / or a touch sliding event of an H5 end, and the life cycle function comprises at least any one of the following items: an onPageScroll, an onPullDownRefresh, and an onReach Bottom. In this way, the same sliding effect as that of the applet end can be achieved, and the user experience is improved.

Description

technical field [0001] This application relates to the field of computer technology, and in particular to a sliding technology based on the Taro frame at the H5 end. Background technique [0002] In recent years, the use of mobile terminals has continued to increase, and front-end mobile terminal technologies have also continued to innovate. As a rising star after mobile app and mobile H5 technology, mini programs stand out among the mobile development technologies with their advantages of short development cycle and compact development kit. [0003] As a language developed with React syntax, Taro can develop multi-terminal pages with a set of codes. The page program developed with Taro can be compiled into WeChat applets, JD applets, Paipai applets, H5 mobile pages, Baidu applets, Alipay applets, Toutiao applets and other multi-terminal program packages through different packaging commands. And these end packages can be implemented with a set of Taro code, which greatly i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/451G06F9/54
CPCG06F9/451G06F9/542G06F2209/545
Inventor 司云可吴义良
Owner SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD