index.axml 841 B

12345678910111213141516171819
  1. <view class='ocrLicense-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <van-uploader preview-size='65' file-list='{{ fileList }}' a:if="{{type==='button'}}" onAfter-read='afterRead' ref='saveChildRef1'>
  3. <van-icon name='exchange' class='exchange' ref='saveChildRef2'>
  4. </van-icon>
  5. <van-button class='exchange' type='primary' plain=" " ize='small'>
  6. 点击重新上传
  7. </van-button>
  8. </van-uploader>
  9. <view class='cont' a:else >
  10. <view class='sample'>
  11. <text>
  12. 上传样本 </text> <image src='/static/comment/license.png'>
  13. </image>
  14. </view> <view class='add'>
  15. <van-uploader file-list='{{ fileList }}' upload-text='点击上传' preview-size='150' upload-icon='add' onAfter-read='afterRead' ref='saveChildRef3'>
  16. </van-uploader>
  17. </view>
  18. </view>
  19. </view>