WeChat Mini Programs: similar to Tab, it is slideable and clickable, but I want to realize that when I click on a view, there is an icon at the bottom to slide to the specified position. What should I do?

clipboard.png
want to implement when I click on a view, a white triangle at the bottom slides to the specified position, what should I do?


listens for their click events, and then changes their css to show or hide that triangle

Menu