学员端小程序
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
674 B

1 year ago
  1. export default {
  2. props: {
  3. // 倒计时时长,单位ms
  4. time: {
  5. type: [String, Number],
  6. default: uni.$u.props.countDown.time
  7. },
  8. // 时间格式,DD-日,HH-时,mm-分,ss-秒,SSS-毫秒
  9. format: {
  10. type: String,
  11. default: uni.$u.props.countDown.format
  12. },
  13. // 是否自动开始倒计时
  14. autoStart: {
  15. type: Boolean,
  16. default: uni.$u.props.countDown.autoStart
  17. },
  18. // 是否展示毫秒倒计时
  19. millisecond: {
  20. type: Boolean,
  21. default: uni.$u.props.countDown.millisecond
  22. }
  23. }
  24. }