mui("ul").on('tap','li',function(){ var topicId =this.getAttribute("id"); //console.log("点击事件id=="+topicId); });