mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bugfix] Card: centered prop not work (#584)
This commit is contained in:
parent
c5c1f27cc0
commit
408579a046
2
dist/card/index.wxml
vendored
2
dist/card/index.wxml
vendored
@ -1,4 +1,4 @@
|
||||
<view class="custom-class van-card">
|
||||
<view class="custom-class van-card {{ centered ? 'van-card--center' : '' }}">
|
||||
<view class="van-card__thumb">
|
||||
<image wx:if="{{ thumb }}" src="{{ thumb }}" class="van-card__img thumb-class" />
|
||||
<slot wx:else name="thumb" />
|
||||
|
@ -1,4 +1,4 @@
|
||||
<view class="custom-class van-card">
|
||||
<view class="custom-class van-card {{ centered ? 'van-card--center' : '' }}">
|
||||
<view class="van-card__thumb">
|
||||
<image wx:if="{{ thumb }}" src="{{ thumb }}" class="van-card__img thumb-class" />
|
||||
<slot wx:else name="thumb" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user