mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
test: update snapshots
This commit is contained in:
parent
037b6b8c10
commit
a524b5284f
@ -43,11 +43,10 @@ exports[`should update tabs when previous tab is clicked 1`] = `
|
||||
</div>
|
||||
<div class="van-tabs__content van-tabs__content--animated">
|
||||
<div class="van-swipe van-tabs__track">
|
||||
<div style="width: 0px; transition-duration: 0ms; transform: translateX(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateX(0px);"
|
||||
class="van-swipe__track"
|
||||
>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="true"
|
||||
>
|
||||
@ -69,7 +68,6 @@ exports[`should update tabs when previous tab is clicked 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="false"
|
||||
>
|
||||
|
@ -22,7 +22,7 @@ exports[`should render cover slot correctly 1`] = `
|
||||
<transition-stub>
|
||||
<div class="van-popup van-popup--center van-image-preview">
|
||||
<div class="van-swipe van-image-preview__swipe">
|
||||
<div style="width: 0px; transition-duration: 500ms; transform: translateX(0px);"
|
||||
<div style="transition-duration: 500ms; transform: translateX(0px);"
|
||||
class="van-swipe__track"
|
||||
>
|
||||
</div>
|
||||
|
@ -124,22 +124,16 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
class="van-notice-bar__content van-ellipsis"
|
||||
>
|
||||
<div class="van-swipe notice-swipe">
|
||||
<div style="height: 0px; transition-duration: 0ms; transform: translateY(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateY(0px);"
|
||||
class="van-swipe__track van-swipe__track--vertical"
|
||||
>
|
||||
<div class="van-swipe-item"
|
||||
style="height: 0px;"
|
||||
>
|
||||
<div class="van-swipe-item">
|
||||
Content 1
|
||||
</div>
|
||||
<div class="van-swipe-item"
|
||||
style="height: 0px;"
|
||||
>
|
||||
<div class="van-swipe-item">
|
||||
Content 2
|
||||
</div>
|
||||
<div class="van-swipe-item"
|
||||
style="height: 0px;"
|
||||
>
|
||||
<div class="van-swipe-item">
|
||||
Content 3
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
exports[`should render demo and match snapshot 1`] = `
|
||||
<div>
|
||||
<div class="van-swipe">
|
||||
<div style="width: 400px; transition-duration: 0ms; transform: translateX(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateX(0px); width: 400px;"
|
||||
class="van-swipe__track"
|
||||
>
|
||||
<div class="van-swipe-item"
|
||||
@ -43,7 +43,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
<div>
|
||||
<div class="van-swipe">
|
||||
<div style="width: 400px; transition-duration: 0ms; transform: translateX(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateX(0px); width: 400px;"
|
||||
class="van-swipe__track"
|
||||
>
|
||||
<div class="van-swipe-item"
|
||||
@ -80,7 +80,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
<div>
|
||||
<div class="van-swipe">
|
||||
<div style="width: 400px; transition-duration: 0ms; transform: translateX(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateX(0px); width: 400px;"
|
||||
class="van-swipe__track"
|
||||
>
|
||||
<div class="van-swipe-item"
|
||||
@ -122,7 +122,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
<div class="van-swipe demo-swipe--vertical"
|
||||
style="height: 200px;"
|
||||
>
|
||||
<div style="height: 400px; transition-duration: 0ms; transform: translateY(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateY(0px); height: 400px;"
|
||||
class="van-swipe__track van-swipe__track--vertical"
|
||||
>
|
||||
<div class="van-swipe-item"
|
||||
@ -162,7 +162,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
<div>
|
||||
<div class="van-swipe">
|
||||
<div style="width: 1200px; transition-duration: 0ms; transform: translateX(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateX(0px); width: 1200px;"
|
||||
class="van-swipe__track"
|
||||
>
|
||||
<div class="van-swipe-item"
|
||||
@ -202,7 +202,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
<div>
|
||||
<div class="van-swipe">
|
||||
<div style="width: 400px; transition-duration: 0ms; transform: translateX(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateX(0px); width: 400px;"
|
||||
class="van-swipe__track"
|
||||
>
|
||||
<div class="van-swipe-item"
|
||||
|
@ -564,11 +564,10 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
<div class="van-tabs__content van-tabs__content--animated">
|
||||
<div class="van-swipe van-tabs__track">
|
||||
<div style="width: 0px; transition-duration: 0ms; transform: translateX(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateX(0px);"
|
||||
class="van-swipe__track"
|
||||
>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="false"
|
||||
>
|
||||
@ -577,7 +576,6 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="true"
|
||||
>
|
||||
@ -586,13 +584,11 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="true"
|
||||
>
|
||||
</div>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="true"
|
||||
>
|
||||
@ -648,11 +644,10 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
<div class="van-tabs__content van-tabs__content--animated">
|
||||
<div class="van-swipe van-tabs__track">
|
||||
<div style="width: 0px; transition-duration: 0ms; transform: translateX(0px);"
|
||||
<div style="transition-duration: 0ms; transform: translateX(0px);"
|
||||
class="van-swipe__track"
|
||||
>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="true"
|
||||
>
|
||||
@ -661,7 +656,6 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="true"
|
||||
>
|
||||
@ -670,13 +664,11 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="false"
|
||||
>
|
||||
</div>
|
||||
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
|
||||
style="width: 0px;"
|
||||
role="tabpanel"
|
||||
aria-hidden="true"
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user