tt-mp
Version:
一套组件化、可复用、易扩展的头条小程序 UI 组件库
65 lines (63 loc) • 974 B
JavaScript
export const defaultFieldNames = {
label: 'label',
value: 'value',
children: 'children',
}
export const props = {
prefixCls: {
type: String,
value: 'wux-picker-col',
},
defaultValue: {
type: String,
value: '',
},
value: {
type: String,
value: '',
},
controlled: {
type: Boolean,
value: false,
},
itemHeight: {
type: Number,
value: 34,
},
itemStyle: {
type: [String, Object, Array],
value: '',
},
indicatorStyle: {
type: [String, Object, Array],
value: '',
},
indicatorClass: {
type: String,
value: '',
},
maskStyle: {
type: [String, Object, Array],
value: '',
},
maskClass: {
type: String,
value: '',
},
labelAlign: {
type: String,
value: 'center',
},
defaultFieldNames: {
type: Object,
value: defaultFieldNames,
},
loading: {
type: Boolean,
value: false,
},
options: {
type: Array,
value: [],
},
}