a2702f6d
刘淇
巡查计划
|
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
29
30
31
32
33
34
35
|
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
},
// 是否从右往左加载
fromRight: {
type: Boolean,
default: () => defProps.lineProgress.fromRight
}
}
})
|