调用手机相机代码)
<input type="file" capture="camera" ref="filetest" accept="image/*" id="filetest" name="filetest">
把次控件影藏掉,并且模拟按钮调用返回此元素的click()
预览相片,利用H5 FileReader对象
var FileReader = new FileReader()
<input type="file" capture="camera" ref="filetest" accept="image/*" id="filetest" name="filetest">
把次控件影藏掉,并且模拟按钮调用返回此元素的click()
var FileReader = new FileReader()