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.

18 lines
640 B

<import src="/setting/we-cropper/dist/we-cropper.wxml" />
<block wx:if="{{cropperOpt}}">
<view class="cropper-wrapper">
<view class="tip">轻触加载图片</view>
<template is="we-cropper" data="{{...cropperOpt}}" />
</view>
<view class="operations flex-row">
<button class="upload" type="main" plain="1" bindtap="chooseImage">
重选图片
</button>
<button type="main" disabled="{{submitting}}" class="getCropperImage" bindtap="onConfirm">
确认
</button>
<button type="main" plain open-type="getUserInfo" bindgetuserinfo="onGetUserInfo">
微信头像
</button>
</view>
</block>