<h3>image图片</h3> <input type="file" accept="image/*" capture="camera"> <h3>image图片 – 多选</h3> <input type="file" accept="image/*" multiple> <h3>image图片 - 前置摄像头调用</h3> <input type="file" accept="image/*" capture="user"> <h3>video视频</h3> <input type="file" accept="video/*" capture="camcorder"> <h3>audio音频</h3> <input type="file" accept="audio/*" capture="microphone">
调用的是手机的默认相机