康巴易测肤/伤疤uniapp小程序类
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.3KB

  1. <view><image class="my-avatar" style="{{$root.s0}}" src="{{imgSrc.imgSrc}}" data-event-opts="{{[['tap',[['fSelect',['$event']]]]]}}" bindtap="__e"></image><canvas class="my-canvas" style="{{'top:'+(sT)+';'+('height:'+(csH)+';')+('back-ground-color:'+('red')+';')}}" canvas-id="avatar-canvas" id="avatar-canvas" disable-scroll="false"></canvas><canvas class="oper-canvas" style="{{'top:'+(sT)+';'+('height:'+(csH)+';')}}" canvas-id="oper-canvas" id="oper-canvas" disable-scroll="false" data-event-opts="{{[['touchstart',[['fStart',['$event']]]],['touchmove',[['fMove',['$event']]]],['touchend',[['fEnd',['$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></canvas><canvas class="prv-canvas" style="{{'height:'+(csH)+';'+('top:'+(pT)+';')}}" canvas-id="prv-canvas" id="prv-canvas" disable-scroll="false" data-event-opts="{{[['touchstart',[['fHideImg',['$event']]]]]}}" bindtouchstart="__e"></canvas><view class="oper-wrapper" style="{{'display:'+(sD)+';'+('top:'+(tp)+';')}}"><view class="oper"><block wx:if="{{sO}}"><view class="btn-wrapper"><view style="{{'width:'+(bW)+';'}}" hover-class="hover" data-event-opts="{{[['tap',[['fSelect',['$event']]]]]}}" bindtap="__e"><text>重选</text></view><view style="{{'width:'+(bW)+';'}}" hover-class="hover" data-event-opts="{{[['tap',[['fClose',['$event']]]]]}}" bindtap="__e"><text>关闭</text></view><view style="{{'width:'+(bW)+';'+('display:'+(bD)+';')}}" hover-class="hover" data-event-opts="{{[['tap',[['fRotate',['$event']]]]]}}" bindtap="__e"><text>旋转</text></view><view style="{{'width:'+(bW)+';'}}" hover-class="hover" data-event-opts="{{[['tap',[['fPreview',['$event']]]]]}}" bindtap="__e"><text>预览</text></view><view style="{{'width:'+(bW)+';'}}" hover-class="hover" data-event-opts="{{[['tap',[['fUpload',['$event']]]]]}}" bindtap="__e"><text>上传</text></view></view></block><block wx:else><view class="clr-wrapper"><slider class="my-slider" block-size="25" value="0" min="-100" max="100" activeColor="red" backgroundColor="green" block-color="grey" show-value="{{true}}" data-event-opts="{{[['change',[['fColorChange',['$event']]]]]}}" bindchange="__e"></slider><view style="{{'width:'+(bW)+';'}}" hover-class="hover" data-event-opts="{{[['tap',[['fPrvUpload',['$event']]]]]}}" bindtap="__e"><text>上传</text></view></view></block></view></view></view>