$("input[name=fl]").off().change(function(){
console.log( this.files[0])
var read = new FileReader();
read.readAsDataURL(this.files[0]);
//文件解析成功后
read.οnlοad=function(){
//返回图片的base64编码
document.getElementById('img').src=this.result;
}
})