yovenny

Results 12 comments of yovenny

解决办法:方案一 ``` this.cropper.width=opt.width this.cropper.height=opt.height this.cropper.cut ={ x: opt.cut.x, y: opt.cut.y, width: opt.cut.width, height: opt.cut.height } //下面三个三个方法重置局部变量x、y、 boundWidth、boundHeight this.cropper.cutt(); this.cropper.methods(); this.cropper.init(); ``` 方案二 ``` 1.将 x、y、 boundWidth、boundHeight 改自身变量self.x等,需要相关方法引用, 2.新增方法update这几个值,x、y、 boundWidth、boundHeight、cut、with/height width/height...

内部参数使用安排的不是很好,2.0可以重构好点

这个比较有用,图片裁剪用别人的,视频加进去功能就比较全了

不知道这个pull,怎么玩, 这个场景是这样的, ![image](https://user-images.githubusercontent.com/8280857/27173907-c65b805e-51ec-11e7-93bb-f007e61940ad.png) 不像微信那样,直接打开播放器

差了一个imageview不可见,回收bitmap?

没听太懂,是把Vm也传到xml里面吗?,但是有个问题,这个Vm没有具体某个itemview的dataBean,点击事件可能要判断数据, 我现在的做法,datas传dats,不知道可不可行,试下先