<input id="up2" type="file" accept="image/*" capture="camera"> 转载于:https://www.cnblogs.com/qiye2016/p/8204691.html