123456789101112 |
- <!-- pages/piano/cropper/cropper.wxml -->
- <view class="container">
- <image-cropper id="image-cropper" bindload="cropperload" bindimageload="loadimage" bindtapcut="clickcut" limit_move="{{limit_move}}" disable_rotate="{{disable_rotate}}" width="{{width}}" height="{{height}}" imgSrc="{{src}}" angle="{{angle}}" disable_width="{{disable_width}}" max_width="{{max_width}}" max_height="{{max_height}}" disable_height="{{disable_height}}" disable_ratio="{{disable_ratio}}"></image-cropper>
- <view wx:if="{{showProgress}}" class="progress-container">
- <progress class="progress" border-radius="26rpx" stroke-width="52rpx" percent="{{progress}}" activeColor="#6546A3" backgroundColor="rgba(0,0,0,0.4)" stroke-width="26" border-radius="13" />
- <view class="progress-text">保存壁纸中…{{progress}}%</view>
- </view>
- <view wx:if="{{!showProgress}}" class='bottom'>
- <view class="left_btn btn_title" catchtap='cancel'>取消</view>
- <view class="right_btn btn_title" bindtap='submit'>确定</view>
- </view>
- </view>
|