遇到的问题有,苹果手机上传的图片会自动旋转,安卓手机上要裁剪图片的无法进行缩放(github上查到原因iscroll插件的bug,替换到2.X版本可修复),已填坑
文章参考https://www.npmjs.com/package/photoclip
文件路径:
http://imagesouth.xxlimageim.com/hammer.min.js
http://imagesouth.xxlimageim.com/iscroll-zoom-min.js
http://imagesouth.xxlimageim.com/lrz.all.bundle.js
http://imagesouth.xxlimageim.com/PhotoClip.js
html部分:
<div class="addCon">