purchase-let/uni_modules/uview-plus/components/u-steps-item/props.js

26 lines
661 B
JavaScript
Raw Permalink Normal View History

2024-04-25 18:02:30 +08:00
import defProps from '../../libs/config/props.js';
export default {
props: {
// 标题
title: {
type: [String, Number],
default: () => defProps.stepsItem.title
},
// 描述文本
desc: {
type: [String, Number],
default: () => defProps.stepsItem.desc
},
// 图标大小
iconSize: {
type: [String, Number],
default: () => defProps.stepsItem.iconSize
},
// 当前步骤是否处于失败状态
error: {
type: Boolean,
default: () => defProps.stepsItem.error
}
}
}