mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
field component
This commit is contained in:
parent
fb7089fd35
commit
00848c6ea4
@ -3,6 +3,7 @@
|
||||
class="o2-field"
|
||||
:title="label"
|
||||
:class="{
|
||||
'is-textarea': type === 'textarea',
|
||||
'is-nolabel': !label
|
||||
}">
|
||||
<textarea
|
||||
|
@ -7,6 +7,12 @@
|
||||
display: table;
|
||||
overflow: hidden;
|
||||
|
||||
@when textarea {
|
||||
.o2-field-control {
|
||||
min-height: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
@when nolabel {
|
||||
.o2-cell-title {
|
||||
display: none;
|
||||
@ -14,6 +20,7 @@
|
||||
|
||||
.o2-cell-value {
|
||||
width: 100%;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user