- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
31 lines
976 B
JavaScript
31 lines
976 B
JavaScript
import '@/common/uview-init.js'
|
|
export default {
|
|
props: {
|
|
// 占父容器宽度的多少等分,总分为12份
|
|
span: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.col.span
|
|
},
|
|
// 指定栅格左侧的间隔数(总12栏)
|
|
offset: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.col.offset
|
|
},
|
|
// 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
|
|
justify: {
|
|
type: String,
|
|
default: uni.$u.props.col.justify
|
|
},
|
|
// 垂直对齐方式,可选值为top、center、bottom、stretch
|
|
align: {
|
|
type: String,
|
|
default: uni.$u.props.col.align
|
|
},
|
|
// 文字对齐方式
|
|
textAlign: {
|
|
type: String,
|
|
default: uni.$u.props.col.textAlign
|
|
}
|
|
}
|
|
}
|