MUI 实现hover 效果

// 监听点击li改变背景色
mui(".zone-area").on('touchstart', 'li', function() {
    this.style.background = 'lightgray'
});
mui(".zone-area").on('touchend', 'li', function() {
    this.style.background = 'white'
});

  通过 touchstart  touchend 实现 hover 效果。

原文地址:https://www.cnblogs.com/RAINHAN/p/7125134.html