- <!--components/ocrLicense/index.wxml-->
- <van-uploader preview-size="65" file-list="{{ fileList }}" bind:after-read="afterRead" wx:if="{{type==='button'}}">
- <van-icon name="exchange" class="exchange" />
- <van-button class="exchange" type="primary" plain ize="small">点击重新上传</van-button>
- </van-uploader>
- <view class="cont" wx:else>
- <!-- 上传样本 -->
- <view class="sample">
- <text>上传样本</text>
- <image src="../../static/comment/license.png"></image>
- </view>
- <!-- 添加图片 -->
- <view class="add">
- <van-uploader file-list="{{ fileList }}" upload-text="点击上传" preview-size="150" upload-icon="add" bind:after-read="afterRead" />
- </view>
- </view>
|