mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[improvement] Cell: value should not has width when empty (#609)
This commit is contained in:
parent
5ee7ad44a9
commit
4b59ae9424
2
dist/field/index.js
vendored
2
dist/field/index.js
vendored
@ -66,7 +66,7 @@ create({
|
||||
'van-field--error': data.error,
|
||||
'van-field__textarea': data.type === 'textarea',
|
||||
'van-field__input--disabled': data.disabled,
|
||||
[`van-field--${data.inputAlign}`]: data.inputAlign
|
||||
[`van-field__input--${data.inputAlign}`]: data.inputAlign
|
||||
});
|
||||
}
|
||||
},
|
||||
|
@ -13,7 +13,6 @@
|
||||
wx:for="{{ group.list }}"
|
||||
wx:key="item.title"
|
||||
is-link
|
||||
title-width="200px"
|
||||
url="/pages{{ item.path }}/index"
|
||||
title="{{ item.title }}"
|
||||
></van-cell>
|
||||
|
@ -32,6 +32,10 @@
|
||||
&__title,
|
||||
&__value {
|
||||
flex: 1;
|
||||
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__value {
|
||||
|
Loading…
x
Reference in New Issue
Block a user