backtop.js 592 B

12345678910111213141516171819202122232425262728
  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 16:50:18
  8. * @FilePath : /u-view2.0/uview-ui/libs/config/props/backtop.js
  9. */
  10. export default {
  11. // backtop组件
  12. backtop: {
  13. mode: 'circle',
  14. icon: 'arrow-upward',
  15. text: '',
  16. duration: 100,
  17. scrollTop: 0,
  18. top: 400,
  19. bottom: 100,
  20. right: 20,
  21. zIndex: 9,
  22. iconStyle: () => ({
  23. color: '#909399',
  24. fontSize: '19px'
  25. })
  26. }
  27. }