cultivationApp/node_modules/uview-plus/components/u-col/props.js

31 lines
972 B
JavaScript
Raw Permalink 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';
export default {
props: {
// 占父容器宽度的多少等分总分为12份
span: {
type: [String, Number],
default: defprops.col.span
},
// 指定栅格左侧的间隔数(总12栏)
offset: {
type: [String, Number],
default: defprops.col.offset
},
// 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
justify: {
type: String,
default: defprops.col.justify
},
// 垂直对齐方式可选值为top、center、bottom、stretch
align: {
type: String,
default: defprops.col.align
},
// 文字对齐方式
textAlign: {
type: String,
default: defprops.col.textAlign
}
}
}