The thought of Wisdom toilet

clipboard.png

as shown in the picture, it is to see if the pothole in the bathroom is occupied, can the front end of this picture be realized, and do the gods have any ideas? thank you


two pictures to determine whether there is someone, someone will use someone's picture, and no one will use no one's picture. The difficulty here should be that the data should be updated in real time

.
<img v-for="item in list" :src="item.hasPeople ? require(./hasPeople.png) : require(./noPeople.png)"/>
Menu