mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-24 08:11:55 +08:00
25 lines
674 B
JavaScript
25 lines
674 B
JavaScript
|
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
|
|||
|
}
|
|||
|
}
|
|||
|
}
|