#
whycq
2023-10-13 c64064285bc6df2d5b82f3995bb9e56398cacd73
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
export default {
    props: {
        // 激活部分的颜色
        activeColor: {
            type: String,
            default: uni.$u.props.lineProgress.activeColor
        },
        inactiveColor: {
            type: String,
            default: uni.$u.props.lineProgress.color
        },
        // 进度百分比,数值
        percentage: {
            type: [String, Number],
            default: uni.$u.props.lineProgress.inactiveColor
        },
        // 是否在进度条内部显示百分比的值
        showText: {
            type: Boolean,
            default: uni.$u.props.lineProgress.showText
        },
        // 进度条的高度,单位px
        height: {
            type: [String, Number],
            default: uni.$u.props.lineProgress.height
        }
    }
}