dykj-football/uni_modules/uview-plus/components/u-line-progress/props.js
2024-04-17 15:27:43 +08:00

30 lines
862 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import defProps from '../../libs/config/props.js';
export default {
props: {
// 激活部分的颜色
activeColor: {
type: String,
default: () => defProps.lineProgress.activeColor
},
inactiveColor: {
type: String,
default: () => defProps.lineProgress.color
},
// 进度百分比,数值
percentage: {
type: [String, Number],
default: () => defProps.lineProgress.inactiveColor
},
// 是否在进度条内部显示百分比的值
showText: {
type: Boolean,
default: () => defProps.lineProgress.showText
},
// 进度条的高度单位px
height: {
type: [String, Number],
default: () => defProps.lineProgress.height
}
}
}