Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

30 Zeilen
926 B

  1. import { defineMixin } from '../../libs/vue'
  2. import CountDownDefaultProps from './countDown'
  3. import { registerComponentProps } from '../../libs/config/props.js'
  4. const defProps = registerComponentProps(CountDownDefaultProps)
  5. export const props = defineMixin({
  6. props: {
  7. // 倒计时时长,单位ms
  8. time: {
  9. type: [String, Number],
  10. default: () => defProps.countDown.time
  11. },
  12. // 时间格式,DD-日,HH-时,mm-分,ss-秒,SSS-毫秒
  13. format: {
  14. type: String,
  15. default: () => defProps.countDown.format
  16. },
  17. // 是否自动开始倒计时
  18. autoStart: {
  19. type: Boolean,
  20. default: () => defProps.countDown.autoStart
  21. },
  22. // 是否展示毫秒倒计时
  23. millisecond: {
  24. type: Boolean,
  25. default: () => defProps.countDown.millisecond
  26. }
  27. }
  28. })