处理字符串过长,判断checkbox是否选中 overflow: hidden;text-overflow: ellipsis;white-space: nowrap; 判断checkbox是否选中 $('input[type="checkbox"]').prop('checked');