mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(Calendar): fix row-height style error (#4733)
* fix(Calendar): fix row-height style error * test(Calendar): update test
This commit is contained in:
parent
fbef9bd81f
commit
48d22b018a
@ -19,7 +19,7 @@
|
||||
data-index="{{ index }}"
|
||||
bindtap="onClick"
|
||||
>
|
||||
<view wx:if="{{ item.type === 'selected' }}" class="van-calendar__selected-day" style="background: {{ color }}">
|
||||
<view wx:if="{{ item.type === 'selected' }}" class="van-calendar__selected-day" style="width: {{ rowHeight }}px; height: {{ rowHeight }}px; background: {{ color }}">
|
||||
<view wx:if="{{ item.topInfo }}" class="van-calendar__top-info">{{ item.topInfo }}</view>
|
||||
{{ item.text }}
|
||||
<view wx:if="{{ item.bottomInfo }}" class="van-calendar__bottom-info">
|
||||
|
@ -1531,7 +1531,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
>
|
||||
<wx-view
|
||||
class="van-calendar__selected-day"
|
||||
style="background: "
|
||||
style="width: 64px; height: 64px; background: "
|
||||
>
|
||||
|
||||
20
|
||||
|
Loading…
x
Reference in New Issue
Block a user