4 回复
上传文件试试换个写法?<div class=‘position: relative’><input type=“button” value=" 浏 览 " style=“border:1px solid #AAA;background:#fff; line-height: 25px;border-radius: 5px;width: 25% ; height:37px;-webkit-appearance: none;” /><input type=“file” id=“fileToUpload” style=“position:absolute; left: 0;top: 0;width:100%;height:100%;opacity: 0” onchange=“upfile.value=this.value; fileSelected();”></div>