初始化

This commit is contained in:
wwz
2025-02-07 13:56:35 +08:00
parent f1025605d7
commit 20b5539a82
513 changed files with 56948 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props.js'
export const props = defineMixin({
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
}
}
})