UNPKG

c-uview-plus

Version:

零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水

31 lines (30 loc) 955 B
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 } } })