gree_leran/node_modules/uview-plus/components/u-grid/props.js

21 lines
547 B
JavaScript
Raw Normal View History

2024-06-14 01:11:29 +00:00
import defProps from '../../libs/config/props.js';
export default {
props: {
// 分成几列
col: {
type: [String, Number],
default: () => defProps.grid.col
},
// 是否显示边框
border: {
type: Boolean,
default: () => defProps.grid.border
},
// 宫格对齐方式,表现为数量少的时候,靠左,居中,还是靠右
align: {
type: String,
default: () => defProps.grid.align
}
}
}