提交 e582acec 作者: 方治民

feat: fui-form-item 组件 label 默认宽度调整为 160rpx

上级 4b3f6c89
...@@ -26,7 +26,7 @@ const fuiConfig = { ...@@ -26,7 +26,7 @@ const fuiConfig = {
}, },
fuiFormItem: { fuiFormItem: {
labelSize: 32, labelSize: 32,
labelWidth: 140, labelWidth: 160,
labelRight: 16 labelRight: 16
} }
} }
......
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
return `${this.labelSize || this.lSize || labelSize}rpx` return `${this.labelSize || this.lSize || labelSize}rpx`
}, },
getLabelWidth() { getLabelWidth() {
const labelWidth = (uni.$fui && uni.$fui.fuiFormItem && uni.$fui.fuiFormItem.labelWidth) || 140 const labelWidth = (uni.$fui && uni.$fui.fuiFormItem && uni.$fui.fuiFormItem.labelWidth) || 160
return `${this.labelWidth || this.lWidth || labelWidth}rpx` return `${this.labelWidth || this.lWidth || labelWidth}rpx`
}, },
getLabelRight() { getLabelRight() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论