UI
叶富雄
2026-03-14 d8ac50fd9e394120f4c78bdf0153a601c7d77e91
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
41
42
43
44
45
46
47
48
49
50
export default {
    props: {
        // 标题,有值则显示,同时会显示关闭按钮
        title: {
            type: String,
            default: ''
        },
        // 选项上方的描述信息
        description: {
            type: String,
            default: ''
        },
        // 数据
        actions: {
            type: Array,
            default: () => []
        },
        // 取消按钮的文字,不为空时显示按钮
        cancelText: {
            type: String,
            default: ''
        },
        // 点击某个菜单项时是否关闭弹窗
        closeOnClickAction: {
            type: Boolean,
            default: true
        },
        // 处理底部安全区(默认true)
        safeAreaInsetBottom: {
            type: Boolean,
            default: true
        },
        // 小程序的打开方式
        openType: {
            type: String,
            default: ''
        },
        // 点击遮罩是否允许关闭 (默认true)
        closeOnClickOverlay: {
            type: Boolean,
            default: true
        },
        // 圆角值
        round: {
            type: [Boolean, String, Number],
            default: 0
        },
        ...uni.$uv?.props?.actionSheet
    }
}