<input type="file" capture="camera" accept="image/*" id="filetest" name="filetest"> 看这代码,重要的是capture="camera" accept="image/*"。