@wanghonggan/uv-ui
Version:
uv-ui 破釜沉舟之兼容vue3+2、nvue、app、h5、小程序等多端基于uni-app和uView2.x的生态框架,支持单独导入,开箱即用,利剑出击。
31 lines (30 loc) • 597 B
JavaScript
import { getPropsByKey } from "../../libs/config/config";
export default {
props: {
// 激活部分的颜色
activeColor: {
type: String,
default: '#19be6b'
},
inactiveColor: {
type: String,
default: '#ececec'
},
// 进度百分比,数值
percentage: {
type: [String, Number],
default: 0
},
// 是否在进度条内部显示百分比的值
showText: {
type: Boolean,
default: true
},
// 进度条的高度,单位px
height: {
type: [String, Number],
default: 12
},
...getPropsByKey('lineProgress')
}
}