mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-06 23:25:06 +08:00
uView版本升级到2.0.34
This commit is contained in:
@ -15,6 +15,11 @@ export default {
|
||||
type: [String, Boolean],
|
||||
default: uni.$u.props.formItem.borderBottom
|
||||
},
|
||||
// label的位置,left-左边,top-上边
|
||||
labelPosition: {
|
||||
type: String,
|
||||
default: uni.$u.props.formItem.labelPosition
|
||||
},
|
||||
// label的宽度,单位px
|
||||
labelWidth: {
|
||||
type: [String, Number],
|
||||
|
@ -4,7 +4,7 @@
|
||||
class="u-form-item__body"
|
||||
@tap="clickHandler"
|
||||
:style="[$u.addStyle(customStyle), {
|
||||
flexDirection: parentData.labelPosition === 'left' ? 'row' : 'column'
|
||||
flexDirection: (labelPosition || parentData.labelPosition) === 'left' ? 'row' : 'column'
|
||||
}]"
|
||||
>
|
||||
<!-- 微信小程序中,将一个参数设置空字符串,结果会变成字符串"true" -->
|
||||
|
Reference in New Issue
Block a user