Skip to content

Commit

Permalink
feat(PickerItem): support slot (#3127)
Browse files Browse the repository at this point in the history
* feat(PickerItem): support slot

* test: update snapshots
  • Loading branch information
anlyyao authored Sep 9, 2024
1 parent 427d866 commit abe1f53
Show file tree
Hide file tree
Showing 9 changed files with 102 additions and 56 deletions.
86 changes: 43 additions & 43 deletions src/date-time-picker/__test__/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ exports[`date-time-picker :base 1`] = `
>
2000年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -87,7 +87,7 @@ exports[`date-time-picker :base 1`] = `
>
2001年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -96,7 +96,7 @@ exports[`date-time-picker :base 1`] = `
>
2002年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -105,7 +105,7 @@ exports[`date-time-picker :base 1`] = `
>
2003年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -114,7 +114,7 @@ exports[`date-time-picker :base 1`] = `
>
2004年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -123,7 +123,7 @@ exports[`date-time-picker :base 1`] = `
>
2005年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -132,7 +132,7 @@ exports[`date-time-picker :base 1`] = `
>
2006年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -141,7 +141,7 @@ exports[`date-time-picker :base 1`] = `
>
2007年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -150,7 +150,7 @@ exports[`date-time-picker :base 1`] = `
>
2008年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -159,7 +159,7 @@ exports[`date-time-picker :base 1`] = `
>
2009年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -168,7 +168,7 @@ exports[`date-time-picker :base 1`] = `
>
2010年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -177,7 +177,7 @@ exports[`date-time-picker :base 1`] = `
>
2011年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -186,7 +186,7 @@ exports[`date-time-picker :base 1`] = `
>
2012年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -195,7 +195,7 @@ exports[`date-time-picker :base 1`] = `
>
2013年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -204,7 +204,7 @@ exports[`date-time-picker :base 1`] = `
>
2014年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -213,7 +213,7 @@ exports[`date-time-picker :base 1`] = `
>
2015年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -222,7 +222,7 @@ exports[`date-time-picker :base 1`] = `
>
2016年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -231,7 +231,7 @@ exports[`date-time-picker :base 1`] = `
>
2017年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -240,7 +240,7 @@ exports[`date-time-picker :base 1`] = `
>
2018年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -249,7 +249,7 @@ exports[`date-time-picker :base 1`] = `
>
2019年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -258,7 +258,7 @@ exports[`date-time-picker :base 1`] = `
>
2020年
</wx-view>
<wx-view
class="t-picker-item__item t-picker-item__item--active"
Expand All @@ -267,7 +267,7 @@ exports[`date-time-picker :base 1`] = `
>
2021年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -276,7 +276,7 @@ exports[`date-time-picker :base 1`] = `
>
2022年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -285,7 +285,7 @@ exports[`date-time-picker :base 1`] = `
>
2023年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -294,7 +294,7 @@ exports[`date-time-picker :base 1`] = `
>
2024年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -303,7 +303,7 @@ exports[`date-time-picker :base 1`] = `
>
2025年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -312,7 +312,7 @@ exports[`date-time-picker :base 1`] = `
>
2026年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -321,7 +321,7 @@ exports[`date-time-picker :base 1`] = `
>
2027年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -330,7 +330,7 @@ exports[`date-time-picker :base 1`] = `
>
2028年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -339,7 +339,7 @@ exports[`date-time-picker :base 1`] = `
>
2029年
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -348,7 +348,7 @@ exports[`date-time-picker :base 1`] = `
>
2030年
</wx-view>
</wx-view>
</wx-view>
Expand Down Expand Up @@ -376,7 +376,7 @@ exports[`date-time-picker :base 1`] = `
>
1月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -385,7 +385,7 @@ exports[`date-time-picker :base 1`] = `
>
2月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -394,7 +394,7 @@ exports[`date-time-picker :base 1`] = `
>
3月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -403,7 +403,7 @@ exports[`date-time-picker :base 1`] = `
>
4月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -412,7 +412,7 @@ exports[`date-time-picker :base 1`] = `
>
5月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -421,7 +421,7 @@ exports[`date-time-picker :base 1`] = `
>
6月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -430,7 +430,7 @@ exports[`date-time-picker :base 1`] = `
>
7月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -439,7 +439,7 @@ exports[`date-time-picker :base 1`] = `
>
8月
</wx-view>
<wx-view
class="t-picker-item__item t-picker-item__item--active"
Expand All @@ -448,7 +448,7 @@ exports[`date-time-picker :base 1`] = `
>
9月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -457,7 +457,7 @@ exports[`date-time-picker :base 1`] = `
>
10月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -466,7 +466,7 @@ exports[`date-time-picker :base 1`] = `
>
11月
</wx-view>
<wx-view
class="t-picker-item__item"
Expand All @@ -475,7 +475,7 @@ exports[`date-time-picker :base 1`] = `
>
12月
</wx-view>
</wx-view>
</wx-view>
Expand Down
Loading

0 comments on commit abe1f53

Please sign in to comment.