Tree structure data display method and device
The invention provides a tree structure data display method and device, is applied to a server, and comprises the following steps: obtaining product information of a product corresponding to a data viewing request of a user and a tree hierarchical relation graph list corresponding to the product; de...
Gespeichert in:
1. Verfasser: | |
---|---|
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 invention provides a tree structure data display method and device, is applied to a server, and comprises the following steps: obtaining product information of a product corresponding to a data viewing request of a user and a tree hierarchical relation graph list corresponding to the product; determining a node corresponding to the product as a current node in each node corresponding to the tree-shaped hierarchical relation graph list, and determining each target node corresponding to the current node in each node corresponding to the tree-shaped hierarchical relation graph list according to the obtained node information of the current node, the node information of the current node and the node information of each target node form a node data list; and returning the node data list to the client, so that the client displays the information of each node in the node data list to the user through a RecyclView component, and centrally highlights the node information of the current node. By applying the method, |
---|