Function
1: Move the mouse to display prompt words
Add at the head of the rendering list:
2: If the length is too long, it becomes an ellipsis
Add at the head of the rendering list:
3: Display different text or colors
Add at the head of the rendering list:
Unlimited ternary, but if there are many, it is recommended to directly write div inside the ternary
4: check box
Add on html:
both are fine