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

Carousel graph display method and device, equipment and medium

A carousel and picture technology, applied in the computer field, can solve problems such as carousel errors

Active Publication Date: 2021-05-25
小马国炬(玉溪)科技有限公司
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the purpose of this application is to provide a carousel image display method, device, equipment, and medium, which can solve the carousel error problem caused by setting the outer margin when displaying the carousel image, and improve user experience

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
  • Carousel graph display method and device, equipment and medium
  • Carousel graph display method and device, equipment and medium
  • Carousel graph display method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0047] see figure 1 As shown, the embodiment of the present application discloses a method for displaying carousels, which includes:

[0048] Step S11: Initialize the resource to be displayed in the carousel, and render the sliding device with the ScrollView component as the parent container, wherein the resource to be displayed includes the picture to be displayed and the page number of the picture to be displayed.

[0049] In the specific implementation process, it is necessary t...

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 discloses a carousel graph display method and device, equipment and a medium, and the method comprises the steps: initializing a to-be-displayed resource in a carousel graph, and rendering a sliding device which takes a Scroll View component as a parent container; rendering the sub-picture sequence for the Scroll View component, and rendering a brother container View of the Scroll View component, so that the brother container View is used as a small dot sequence and a carrier of the page number; mounting the Scroll View component, starting a timer, moving the pictures in the sub-picture sequence by the width of the actual display area along a preset direction if a sliding instruction triggered by a dragging behavior of a user is not detected when the timer reaches preset time every time, and moving the pictures in the sub-picture sequence by the width of the actual display area. to display the to-be-displayed pictures in the sub-picture sequence in turn according to the sequence. In this way, the problem that the carousel is mistakenly played due to the fact that the outer distance is set when the carousel graph is displayed can be solved, and user experience is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a carousel image display method, device, equipment, and medium. Background technique [0002] With the maturity of front-end development technology, a better page experience effect is particularly important, and applications using carousel images can be seen everywhere on the page. In the prior art, React-Native is usually used as a JavaScript cross-platform framework to realize the carousel, but there are some problems in this way, that is, when the carousel covers the screen horizontally, the display is normal, that is, every The second step is the width of the device display interface (that is, the current device screen), but if the margins are added to the left and right sides of the parent container of the carousel, the carousel will be disordered, and the position will be disordered as the number of carousel pages increases It is getting worse and seriously aff...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/0484G06F3/0485
CPCG06F3/04845G06F3/0485
Inventor 马黎明黄明远康浪浪
Owner 小马国炬(玉溪)科技有限公司