**1.项目结构
源码下载: https://gitee.com/xinchun/we-cropper
2.使用场景
由于小程序提供的不足以满足需求,所以在网上找到了一个符合需求的插件,自己稍微改下逻辑基本够用.
3.使用步骤
- 当然是先创建小程序项目了(不会的参考https://developers.weixin.qq.com/miniprogram/introduction/index.html?t=18082114)
- 在小程序的任意页面 .wxml填写web-view 路径指向插件的项目地址.
运行图
. 最后希望大家多多指教,此插件参考 https://github.com/dailc/image-process/blob/master/src/clip/README.md**