- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
41 lines
1.0 KiB
JavaScript
41 lines
1.0 KiB
JavaScript
import '@/common/uview-init.js'
|
|
export default {
|
|
props: {
|
|
// 排列方向
|
|
direction: {
|
|
type: String,
|
|
default: uni.$u.props.steps.direction
|
|
},
|
|
// 设置第几个步骤
|
|
current: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.steps.current
|
|
},
|
|
// 激活状态颜色
|
|
activeColor: {
|
|
type: String,
|
|
default: uni.$u.props.steps.activeColor
|
|
},
|
|
// 未激活状态颜色
|
|
inactiveColor: {
|
|
type: String,
|
|
default: uni.$u.props.steps.inactiveColor
|
|
},
|
|
// 激活状态的图标
|
|
activeIcon: {
|
|
type: String,
|
|
default: uni.$u.props.steps.activeIcon
|
|
},
|
|
// 未激活状态图标
|
|
inactiveIcon: {
|
|
type: String,
|
|
default: uni.$u.props.steps.inactiveIcon
|
|
},
|
|
// 是否显示点类型
|
|
dot: {
|
|
type: Boolean,
|
|
default: uni.$u.props.steps.dot
|
|
}
|
|
}
|
|
}
|