image.js 695 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * @Author : LQ
  3. * @Description :
  4. * @version : 1.0
  5. * @Date : 2021-08-20 16:44:21
  6. * @LastAuthor : LQ
  7. * @lastTime : 2021-08-20 17:01:51
  8. * @FilePath : /u-view2.0/uview-ui/libs/config/props/image.js
  9. */
  10. export default {
  11. // image组件
  12. image: {
  13. src: '',
  14. mode: 'aspectFill',
  15. width: '300',
  16. height: '225',
  17. shape: 'square',
  18. radius: 0,
  19. lazyLoad: true,
  20. showMenuByLongpress: true,
  21. loadingIcon: 'photo',
  22. errorIcon: 'error-circle',
  23. showLoading: true,
  24. showError: true,
  25. fade: true,
  26. webp: false,
  27. duration: 500,
  28. bgColor: '#f3f4f6'
  29. }
  30. }