1
This commit is contained in:
31
uview-plus/components/u-steps-item/props.js
Normal file
31
uview-plus/components/u-steps-item/props.js
Normal file
@@ -0,0 +1,31 @@
|
||||
import { defineMixin } from '../../libs/vue'
|
||||
import defProps from '../../libs/config/props.js'
|
||||
export const props = defineMixin({
|
||||
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
|
||||
},
|
||||
// 自定义样式
|
||||
itemStyle: {
|
||||
type: [Object],
|
||||
default: {}
|
||||
},
|
||||
}
|
||||
})
|
||||
18
uview-plus/components/u-steps-item/stepsItem.js
Normal file
18
uview-plus/components/u-steps-item/stepsItem.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* @Author : LQ
|
||||
* @Description :
|
||||
* @version : 1.0
|
||||
* @Date : 2021-08-20 16:44:21
|
||||
* @LastAuthor : LQ
|
||||
* @lastTime : 2021-08-20 17:12:55
|
||||
* @FilePath : /u-view2.0/uview-ui/libs/config/props/stepsItem.js
|
||||
*/
|
||||
export default {
|
||||
// steps-item组件
|
||||
stepsItem: {
|
||||
title: '',
|
||||
desc: '',
|
||||
iconSize: 17,
|
||||
error: false
|
||||
}
|
||||
}
|
||||
332
uview-plus/components/u-steps-item/u-steps-item.vue
Normal file
332
uview-plus/components/u-steps-item/u-steps-item.vue
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user