[improvement] Swipe: jsx (#2626)

This commit is contained in:
neverland
2019-01-26 09:43:46 +08:00
committed by GitHub
parent 4e6d0b9c79
commit fab090bef9
6 changed files with 56 additions and 50 deletions
@@ -10,7 +10,6 @@ exports[`renders demo correctly 1`] = `
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">3</div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">4</div>
</div>
<!---->
</div>
</div>
<div>
@@ -21,7 +20,6 @@ exports[`renders demo correctly 1`] = `
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);"><img></div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);"><img></div>
</div>
<!---->
</div>
</div>
<div>
@@ -32,7 +30,6 @@ exports[`renders demo correctly 1`] = `
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">3</div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">4</div>
</div>
<!---->
</div>
</div>
<div>
@@ -43,7 +40,6 @@ exports[`renders demo correctly 1`] = `
<div class="van-swipe-item" style="width:0px;height:0px;transform:translateY(0px);">3</div>
<div class="van-swipe-item" style="width:0px;height:0px;transform:translateY(0px);">4</div>
</div>
<!---->
</div>
</div>
<div>
@@ -54,7 +50,6 @@ exports[`renders demo correctly 1`] = `
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">3</div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">4</div>
</div>
<!---->
</div>
</div>
<div>