H5调用设备摄像头和系统相册

1.调用设备摄像头

<input type="file" accept="image/*" capture="camera">

2.调用系统相册
<input type="file" capture="camera">

3.调用摄像头和系统相册
<input type="file" accept="image/*">

posted @ 2017-09-28 10:59  IT小师妹  阅读(1482)  评论(0)    收藏  举报