WeChat Mini Programs: when you click the button, the content that corresponds to the button will be displayed, and the rest of the content will be hidden. What should I do?

for example: when I click the button for all the tags, I will display the contents corresponding to all the tags


wx:if,vue can also v-if/show


save a field to store the status of each tag, such as label: [false,false,true] , when rendering, use wx:if to show the hidden
tag. When you click to get the current click subscript to change the state of the corresponding subscript of the array, and traverse the array to change other data

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e46233-44b7c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e46233-44b7c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?