fix picker snapshot

This commit is contained in:
陈嘉涵 2019-03-30 14:39:26 +08:00
parent cc6b4bb62b
commit 0af55e0c1f
6 changed files with 19 additions and 0 deletions

View File

@ -53,6 +53,7 @@ exports[`renders demo correctly 1`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 88px, 0);line-height:44px;"></ul>

View File

@ -108,6 +108,7 @@ exports[`create a AddressEdit with props 1`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 88px, 0);line-height:44px;"></ul>

View File

@ -8,6 +8,7 @@ exports[`renders demo correctly 1`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 88px, 0);line-height:44px;"></ul>
@ -28,6 +29,7 @@ exports[`renders demo correctly 1`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 88px, 0);line-height:44px;"></ul>
@ -49,6 +51,7 @@ exports[`renders demo correctly 1`] = `
<div class="van-ellipsis van-picker__title">标题</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 88px, 0);line-height:44px;"></ul>

View File

@ -6,6 +6,7 @@ exports[`change option 1`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-picker-column" style="height: 220px;">
<ul style="transition: 0ms; transform: translate3d(0, 88px, 0); line-height: 44px;">
@ -36,6 +37,7 @@ exports[`change option 2`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-picker-column" style="height: 220px;">
<ul style="transition: 200ms; transform: translate3d(0, 44px, 0); line-height: 44px;">
@ -66,6 +68,7 @@ exports[`change option 3`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-picker-column" style="height: 220px;">
<ul style="transition: 200ms; transform: translate3d(0, 44px, 0); line-height: 44px;">
@ -96,6 +99,7 @@ exports[`reset method 1`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-picker-column" style="height: 220px;">
<ul style="transition: 0ms; transform: translate3d(0, 44px, 0); line-height: 44px;">
@ -125,6 +129,7 @@ exports[`reset method 2`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-picker-column" style="height: 220px;">
<ul style="transition: 0ms; transform: translate3d(0, 88px, 0); line-height: 44px;">
@ -155,6 +160,7 @@ exports[`watch areaList & code 1`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-picker-column" style="height: 220px;">
<ul style="transition: 0ms; transform: translate3d(0, 88px, 0); line-height: 44px;">
@ -185,6 +191,7 @@ exports[`watch areaList & code 2`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-picker-column" style="height: 220px;">
<ul style="transition: 0ms; transform: translate3d(0, 88px, 0); line-height: 44px;">
@ -215,6 +222,7 @@ exports[`watch areaList & code 3`] = `
<div class="van-picker__cancel">取消</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-picker-column" style="height: 220px;">
<ul style="transition: 0ms; transform: translate3d(0, 88px, 0); line-height: 44px;">

View File

@ -4,6 +4,7 @@ exports[`renders demo correctly 1`] = `
<div>
<div>
<div class="van-picker">
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 88px, 0);line-height:44px;">
@ -20,6 +21,7 @@ exports[`renders demo correctly 1`] = `
</div>
<div>
<div class="van-picker">
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 0px, 0);line-height:44px;">
@ -41,6 +43,7 @@ exports[`renders demo correctly 1`] = `
<div class="van-ellipsis van-picker__title">标题</div>
<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 88px, 0);line-height:44px;">
@ -57,6 +60,7 @@ exports[`renders demo correctly 1`] = `
</div>
<div>
<div class="van-picker">
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 44px, 0);line-height:44px;">
@ -71,6 +75,7 @@ exports[`renders demo correctly 1`] = `
</div>
<div>
<div class="van-picker">
<!---->
<div class="van-picker__columns" style="height:220px;">
<div class="van-picker-column column1" style="height:220px;">
<ul style="transition:0ms;transform:translate3d(0, 88px, 0);line-height:44px;">

View File

@ -33,6 +33,7 @@ exports[`render title slot 1`] = `
<div class="van-hairline--top-bottom van-picker__toolbar">
<div class="van-picker__cancel">取消</div>Custom title<div class="van-picker__confirm">确认</div>
</div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-hairline--top-bottom van-picker__frame" style="height: 44px;"></div>
</div>