Data display method and device and equipment
The embodiment of the invention discloses a data display method. The method comprises the steps of: when generating a carousel bar for to-be-displayed data, obtaining a current width of a carousel queue, namely a first width; judging whether the first width meets a first preset condition; if so, con...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a data display method. The method comprises the steps of: when generating a carousel bar for to-be-displayed data, obtaining a current width of a carousel queue, namely a first width; judging whether the first width meets a first preset condition; if so, continuing to generate a new first carousel bar, and splicing the first carousel bar to the tail of the carousel queue; meanwhile, reading to-be-displayed data from a data source, loading the to-be-displayed data to the first carousel bar, re-judging the first width of the carousel queue, and pausing generation of the carousel bar when the first width does not meet the first preset condition. According to the embodiment of the invention, when an initialization operation is performed on to-be-displayed data, carousel bars corresponding to all to-be-displayed data are not generated at one time, but carousel bars of part of the data are generated, so that carousel bars required by circular carousel are achieved, the redu |
---|