组件添加

This commit is contained in:
魏啾
2024-05-14 14:57:38 +08:00
parent d82d101f0c
commit 27100de568
372 changed files with 38506 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
export default {
props: {
// 分成几列
col: {
type: [String, Number],
default: uni.$u.props.grid.col
},
// 是否显示边框
border: {
type: Boolean,
default: uni.$u.props.grid.border
},
// 宫格对齐方式,表现为数量少的时候,靠左,居中,还是靠右
align: {
type: String,
default: uni.$u.props.grid.align
}
}
}