weui 问题

1、阻止checkbox 被 checked

方法1:  

$('.weui-check').on('click', function(e){
	$(this).attr('disabled', true);
	$(this).removeAttr('disabled');
})

方法2:

$('.weui-check').on('click', function(e){
	e.preventDefault()
})

注意:检查zepto.js 是否添加了相应模块  

  

 

posted on 2017-01-03 09:08  j.w  阅读(153)  评论(0编辑  收藏  举报