vue-pro/yudao-ui-app-v1/uni_modules/uview-ui/components/u-count-down/props.js

25 lines
674 B
JavaScript
Raw Normal View History

2021-11-27 23:45:09 +08:00
export default {
props: {
// 倒计时时长单位ms
time: {
type: [String, Number],
default: uni.$u.props.countDown.time
},
// 时间格式DD-日HH-时mm-分ss-秒SSS-毫秒
format: {
type: String,
default: uni.$u.props.countDown.format
},
// 是否自动开始倒计时
autoStart: {
type: Boolean,
default: uni.$u.props.countDown.autoStart
},
// 是否展示毫秒倒计时
millisecond: {
type: Boolean,
default: uni.$u.props.countDown.millisecond
}
}
}