lin
2026-04-28 e8b60bc428d93f99f66474f3ef418558facf0a31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export default {
    props: {
        // 分成几列
        col: {
            type: [String, Number],
            default: 3
        },
        // 是否显示边框
        border: {
            type: Boolean,
            default: false
        },
        // 宫格对齐方式,表现为数量少的时候,靠左,居中,还是靠右
        align: {
            type: String,
            default: 'left'
        },
        ...uni.$uv?.props?.grid
    }
}