jQuery(document).ready(function() {
jQuery("nav a").click(function() {
jQuery(this).find("span:first").addClass("bg-on");
jQuery(this).siblings().find("span:first").removeClass("bg-on");
});
});
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
建议好好看下 mui 的开发文档
http://dev.dcloud.net.cn/mui/...