tabs.js 701 B

1234567891011121314151617181920212223242526272829303132
  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:23:14
  8. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabs.js
  9. */
  10. export default {
  11. //
  12. tabs: {
  13. duration: 300,
  14. list: () => [],
  15. lineColor: '#3c9cff',
  16. activeStyle: () => ({
  17. color: '#303133'
  18. }),
  19. inactiveStyle: () => ({
  20. color: '#606266'
  21. }),
  22. lineWidth: 20,
  23. lineHeight: 3,
  24. lineBgSize: 'cover',
  25. itemStyle: () => ({
  26. height: '44px'
  27. }),
  28. scrollable: true,
  29. current: 0,
  30. keyName: 'name'
  31. }
  32. }