mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-25 16:51:52 +08:00
29 lines
801 B
JavaScript
29 lines
801 B
JavaScript
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
|
||
}
|
||
}
|
||
}
|