<view class='ocrLicense-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  <van-uploader preview-size='65' file-list='{{ fileList }}' a:if="{{type==='button'}}" onAfter-read='afterRead' ref='saveChildRef1'>
    <van-icon name='exchange' class='exchange' ref='saveChildRef2'>
    </van-icon>
    <van-button class='exchange' type='primary' plain=" " ize='small'>
      点击重新上传
    </van-button>
  </van-uploader>
  <view class='cont' a: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' onAfter-read='afterRead' ref='saveChildRef3'>
      </van-uploader>
    </view>
  </view>
</view>