<view class="{{['lime-clipper','data-v-573cb2d6',(value)?'open':'']}}" style="{{('z-index: '+zIndex+';'+customStyle)}}" disable-scroll="{{true}}"><view data-event-opts="{{[['touchstart',[['clipTouchStart',['$event']]]],['touchmove',[['clipTouchMove',['$event']]]],['touchend',[['clipTouchEnd',['$event']]]]]}}" class="lime-clipper-mask data-v-573cb2d6" catchtouchstart="__e" catchtouchmove="__e" catchtouchend="__e"><view class="lime-clipper__content data-v-573cb2d6" style="{{(clipStyle)}}"><block wx:for="{{[0,0,0,0]}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="lime-clipper__edge data-v-573cb2d6"></view></block></view></view><block wx:if="{{image}}"><image class="lime-clipper-image data-v-573cb2d6" style="{{(imageStyle)}}" src="{{image}}" mode="{{imageWidth=='auto'?'widthFix':'scaleToFill'}}" data-event-opts="{{[['error',[['imageLoad',['$event']]]],['load',[['imageLoad',['$event']]]],['touchstart',[['imageTouchStart',['$event']]]],['touchmove',[['imageTouchMove',['$event']]]],['touchend',[['imageTouchEnd',['$event']]]]]}}" binderror="__e" bindload="__e" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></image></block><canvas class="lime-clipper-canvas data-v-573cb2d6" style="{{('width: '+canvasWidth*scaleRatio+'px; height:'+canvasHeight*scaleRatio+'px;')}}" canvas-id="lime-clipper" id="lime-clipper" disable-scroll="{{true}}"></canvas><view class="lime-clipper-tools data-v-573cb2d6"><view class="lime-clipper-tools__btns data-v-573cb2d6"><block wx:if="{{isShowCancelBtn}}"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" bindtap="__e" class="data-v-573cb2d6"><block wx:if="{{$slots.cancel}}"><slot name="cancel"></slot></block><block wx:else><view class="cancel data-v-573cb2d6">取消</view></block></view></block><block wx:if="{{isShowPhotoBtn}}"><view data-event-opts="{{[['tap',[['uploadImage',['$event']]]]]}}" bindtap="__e" class="data-v-573cb2d6"><block wx:if="{{$slots.photo}}"><slot name="photo"></slot></block><block wx:else><image src="/uni_modules/lime-clipper/static/photo.svg" class="data-v-573cb2d6"></image></block></view></block><block wx:if="{{isShowRotateBtn}}"><view data-event-opts="{{[['tap',[['rotate',['$event']]]]]}}" bindtap="__e" class="data-v-573cb2d6"><block wx:if="{{$slots.rotate}}"><slot name="rotate"></slot></block><block wx:else><image src="/uni_modules/lime-clipper/static/rotate.svg" data-type="inverse" class="data-v-573cb2d6"></image></block></view></block><block wx:if="{{isShowConfirmBtn}}"><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" bindtap="__e" class="data-v-573cb2d6"><block wx:if="{{$slots.confirm}}"><slot name="confirm"></slot></block><block wx:else><view class="confirm data-v-573cb2d6">确定</view></block></view></block></view><slot></slot></view></view>