lin
2026-05-26 fcceeb05d47be8137c2bb2cdbac9c74fa1fe9520
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
36
37
38
39
40
export default {
    props: {
        // 排列方向
        direction: {
            type: String,
            default: 'row'
        },
        // 设置第几个步骤
        current: {
            type: [String, Number],
            default: 0
        },
        // 激活状态颜色
        activeColor: {
            type: String,
            default: '#3c9cff'
        },
        // 未激活状态颜色
        inactiveColor: {
            type: String,
            default: '#969799'
        },
        // 激活状态的图标
        activeIcon: {
            type: String,
            default: ''
        },
        // 未激活状态图标
        inactiveIcon: {
            type: String,
            default: ''
        },
        // 是否显示点类型
        dot: {
            type: Boolean,
            default: false
        },
        ...uni.$uv?.props?.steps
    }
}