swiper.js 972 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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:21:38
  8. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiper.js
  9. */
  10. export default {
  11. // swiper 组件
  12. swiper: {
  13. list: () => [],
  14. indicator: false,
  15. indicatorActiveColor: '#FFFFFF',
  16. indicatorInactiveColor: 'rgba(255, 255, 255, 0.35)',
  17. indicatorStyle: '',
  18. indicatorMode: 'line',
  19. autoplay: true,
  20. current: 0,
  21. currentItemId: '',
  22. interval: 3000,
  23. duration: 300,
  24. circular: false,
  25. previousMargin: 0,
  26. nextMargin: 0,
  27. acceleration: false,
  28. displayMultipleItems: 1,
  29. easingFunction: 'default',
  30. keyName: 'url',
  31. imgMode: 'aspectFill',
  32. height: 130,
  33. bgColor: '#f3f4f6',
  34. radius: 4,
  35. loading: false,
  36. showTitle: false
  37. }
  38. }