WeChat Mini Programs switch has different text, slide button or picture how to do?

clipboard.png
clipboard.png
what should the WeChat Mini Programs switch with different text, button or picture do?


dynamically switch pictures, but there is no animation

  • wxml
Page({
    data: {
        isStart: true
    },
    
    switch() {
        this.setData({
            isStart: !this.data.isStart
        });
    }
})
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-1e515a7-44964.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-1e515a7-44964.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?