mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
parent
805d426dca
commit
2ea15ef256
@ -19,9 +19,7 @@
|
|||||||
<view wx:if="{{ label }}" class="label-class {{ utils.bem('field__label', { disabled }) }}" slot="title">
|
<view wx:if="{{ label }}" class="label-class {{ utils.bem('field__label', { disabled }) }}" slot="title">
|
||||||
{{ label }}
|
{{ label }}
|
||||||
</view>
|
</view>
|
||||||
<view wx:else slot="title" class="label-class">
|
<slot wx:else name="label" slot="title" />
|
||||||
<slot name="label" />
|
|
||||||
</view>
|
|
||||||
<view class="{{ utils.bem('field__body', [type]) }}">
|
<view class="{{ utils.bem('field__body', [type]) }}">
|
||||||
<textarea
|
<textarea
|
||||||
wx:if="{{ type === 'textarea' }}"
|
wx:if="{{ type === 'textarea' }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user