dykj-football/uni_modules/uview-plus/components/u-row/props.js
2024-04-17 15:27:43 +08:00

21 lines
692 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import defProps from '../../libs/config/props.js';
export default {
props: {
// 给col添加间距左右边距各占一半
gutter: {
type: [String, Number],
default: () => defProps.row.gutter
},
// 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
justify: {
type: String,
default: () => defProps.row.justify
},
// 垂直对齐方式可选值为top、center、bottom
align: {
type: String,
default: () => defProps.row.align
}
}
}