bug
jiangping
2023-11-07 64b432916af9c9218ab3f3eca614e26c542142ae
minipro_standard/uni_modules/uview-ui/components/u-code/props.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,34 @@
export default {
    props: {
        // å€’计时总秒数
        seconds: {
            type: [String, Number],
            default: uni.$u.props.code.seconds
        },
        // å°šæœªå¼€å§‹æ—¶æç¤º
        startText: {
            type: String,
            default: uni.$u.props.code.startText
        },
        // æ­£åœ¨å€’计时中的提示
        changeText: {
            type: String,
            default: uni.$u.props.code.changeText
        },
        // å€’计时结束时的提示
        endText: {
            type: String,
            default: uni.$u.props.code.endText
        },
        // æ˜¯å¦åœ¨H5刷新或各端返回再进入时继续倒计时
        keepRunning: {
            type: Boolean,
            default: uni.$u.props.code.keepRunning
        },
        // ä¸ºäº†åŒºåˆ†å¤šä¸ªé¡µé¢ï¼Œæˆ–者一个页面多个倒计时组件本地存储的继续倒计时变了
        uniqueKey: {
            type: String,
            default: uni.$u.props.code.uniqueKey
        }
    }
}