You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
634 B

9 months ago
  1. export default {
  2. props: {
  3. // 是否展示组件
  4. show: {
  5. type: Boolean,
  6. default: uni.$u.props.transition.show
  7. },
  8. // 使用的动画模式
  9. mode: {
  10. type: String,
  11. default: uni.$u.props.transition.mode
  12. },
  13. // 动画的执行时间,单位ms
  14. duration: {
  15. type: [String, Number],
  16. default: uni.$u.props.transition.duration
  17. },
  18. // 使用的动画过渡函数
  19. timingFunction: {
  20. type: String,
  21. default: uni.$u.props.transition.timingFunction
  22. }
  23. }
  24. }