123456789101112131415161718 |
- <import src="../../lib/we-cropper.wxml"/>
- <view class="cropper-wrapper">
- <template is="we-cropper" data="{{...cropperOpt}}"/>
- <view class="cropper-buttons" style="color: {{cropperOpt.boundStyle.color}}">
- <view
- class="upload btn"
- bindtap="uploadTap">
- 重新选择图片
- </view>
- <view
- class="getCropperImage btn"
- style="background-color: {{cropperOpt.boundStyle.color}};"
- bindtap="getCropperImage">
- 上传图片
- </view>
- </view>
- </view>
|