dykj-outsource-12123/uni_modules/uview-plus/components/u-count-down/props.js
2024-06-28 14:18:30 +08:00

26 lines
733 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import defProps from '../../libs/config/props.js';
export default {
props: {
// 倒计时时长单位ms
time: {
type: [String, Number],
default: () => defProps.countDown.time
},
// 时间格式DD-日HH-时mm-分ss-秒SSS-毫秒
format: {
type: String,
default: () => defProps.countDown.format
},
// 是否自动开始倒计时
autoStart: {
type: Boolean,
default: () => defProps.countDown.autoStart
},
// 是否展示毫秒倒计时
millisecond: {
type: Boolean,
default: () => defProps.countDown.millisecond
}
}
}