美文网首页
移动端让用户拍照和选相册的图片

移动端让用户拍照和选相册的图片

作者: yuki20 | 来源:发表于2020-04-02 16:33 被阅读0次

  // 手机里面让用户拍照

<input type="file" accept="image/*" capture="camera" style="position: absolute;left:0;top:0;width:7.2rem;height:.8rem;opacity:0;">

// 手机里面让用户选择相册

<input type="file" style="position: absolute;left:0;top:0;width:7.2rem;height:.8rem;opacity:0;">

相关文章

网友评论

      本文标题:移动端让用户拍照和选相册的图片

      本文链接:https://www.haomeiwen.com/subject/gbgxphtx.html