cultivationApp/node_modules/uview-plus/components/u-code/props.js

36 lines
1.0 KiB
JavaScript
Raw Normal View History

2023-10-17 16:02:55 +08:00
import defprops from '../../libs/config/props';
export default {
props: {
// 倒计时总秒数
seconds: {
type: [String, Number],
default: defprops.code.seconds
},
// 尚未开始时提示
startText: {
type: String,
default: defprops.code.startText
},
// 正在倒计时中的提示
changeText: {
type: String,
default: defprops.code.changeText
},
// 倒计时结束时的提示
endText: {
type: String,
default: defprops.code.endText
},
// 是否在H5刷新或各端返回再进入时继续倒计时
keepRunning: {
type: Boolean,
default: defprops.code.keepRunning
},
// 为了区分多个页面,或者一个页面多个倒计时组件本地存储的继续倒计时变了
uniqueKey: {
type: String,
default: defprops.code.uniqueKey
}
}
}