diff --git a/src/date-time-picker/__test__/__snapshots__/index.test.js.snap b/src/date-time-picker/__test__/__snapshots__/index.test.js.snap index 134e5a7fe..7917eeee3 100644 --- a/src/date-time-picker/__test__/__snapshots__/index.test.js.snap +++ b/src/date-time-picker/__test__/__snapshots__/index.test.js.snap @@ -34,10 +34,13 @@ exports[`date-time-picker :base 1`] = ` class="t-picker__toolbar" > - 取消 + + 取消 + - 确定 + + 确定 + @@ -79,6 +89,9 @@ exports[`date-time-picker :base 1`] = ` @@ -87,6 +100,9 @@ exports[`date-time-picker :base 1`] = ` @@ -95,6 +111,9 @@ exports[`date-time-picker :base 1`] = ` @@ -103,6 +122,9 @@ exports[`date-time-picker :base 1`] = ` @@ -111,6 +133,9 @@ exports[`date-time-picker :base 1`] = ` @@ -119,6 +144,9 @@ exports[`date-time-picker :base 1`] = ` @@ -127,6 +155,9 @@ exports[`date-time-picker :base 1`] = ` @@ -135,6 +166,9 @@ exports[`date-time-picker :base 1`] = ` @@ -143,6 +177,9 @@ exports[`date-time-picker :base 1`] = ` @@ -151,6 +188,9 @@ exports[`date-time-picker :base 1`] = ` @@ -159,6 +199,9 @@ exports[`date-time-picker :base 1`] = ` @@ -167,6 +210,9 @@ exports[`date-time-picker :base 1`] = ` @@ -175,6 +221,9 @@ exports[`date-time-picker :base 1`] = ` @@ -183,6 +232,9 @@ exports[`date-time-picker :base 1`] = ` @@ -191,6 +243,9 @@ exports[`date-time-picker :base 1`] = ` @@ -199,6 +254,9 @@ exports[`date-time-picker :base 1`] = ` @@ -207,6 +265,9 @@ exports[`date-time-picker :base 1`] = ` @@ -215,6 +276,9 @@ exports[`date-time-picker :base 1`] = ` @@ -223,6 +287,9 @@ exports[`date-time-picker :base 1`] = ` @@ -231,6 +298,9 @@ exports[`date-time-picker :base 1`] = ` @@ -239,6 +309,9 @@ exports[`date-time-picker :base 1`] = ` @@ -247,6 +320,9 @@ exports[`date-time-picker :base 1`] = ` @@ -255,6 +331,9 @@ exports[`date-time-picker :base 1`] = ` @@ -263,6 +342,9 @@ exports[`date-time-picker :base 1`] = ` @@ -271,6 +353,9 @@ exports[`date-time-picker :base 1`] = ` @@ -279,6 +364,9 @@ exports[`date-time-picker :base 1`] = ` @@ -287,6 +375,9 @@ exports[`date-time-picker :base 1`] = ` @@ -295,6 +386,9 @@ exports[`date-time-picker :base 1`] = ` @@ -303,6 +397,9 @@ exports[`date-time-picker :base 1`] = ` @@ -311,6 +408,9 @@ exports[`date-time-picker :base 1`] = ` @@ -319,6 +419,15 @@ exports[`date-time-picker :base 1`] = ` + + + 2021年 + + @@ -346,6 +459,9 @@ exports[`date-time-picker :base 1`] = ` @@ -354,6 +470,9 @@ exports[`date-time-picker :base 1`] = ` @@ -362,6 +481,9 @@ exports[`date-time-picker :base 1`] = ` @@ -370,6 +492,9 @@ exports[`date-time-picker :base 1`] = ` @@ -378,6 +503,9 @@ exports[`date-time-picker :base 1`] = ` @@ -386,6 +514,9 @@ exports[`date-time-picker :base 1`] = ` @@ -394,6 +525,9 @@ exports[`date-time-picker :base 1`] = ` @@ -402,6 +536,9 @@ exports[`date-time-picker :base 1`] = ` @@ -410,6 +547,9 @@ exports[`date-time-picker :base 1`] = ` @@ -418,6 +558,9 @@ exports[`date-time-picker :base 1`] = ` @@ -426,6 +569,9 @@ exports[`date-time-picker :base 1`] = ` @@ -434,6 +580,15 @@ exports[`date-time-picker :base 1`] = ` + + + 9月 + + + ariaHidden="{{true}}" + ariaRole="alert" + class="t-picker-item__aria__content" + > + + 9月 + + {{option[labelAlias]}} + + {{ options[curIndex].label }} + diff --git a/src/picker/__test__/__snapshots__/index.test.js.snap b/src/picker/__test__/__snapshots__/index.test.js.snap index 99a15b9d9..7e6b50070 100644 --- a/src/picker/__test__/__snapshots__/index.test.js.snap +++ b/src/picker/__test__/__snapshots__/index.test.js.snap @@ -31,10 +31,13 @@ exports[`picker :base 1`] = ` class="t-picker__toolbar" > - 取消 + + 取消 + - 确认 + + 确认 + @@ -73,6 +83,9 @@ exports[`picker :base 1`] = ` @@ -81,6 +94,9 @@ exports[`picker :base 1`] = ` @@ -89,10 +105,20 @@ exports[`picker :base 1`] = ` + + + 2021年 + + @@ -113,6 +142,9 @@ exports[`picker :base 1`] = ` @@ -121,6 +153,9 @@ exports[`picker :base 1`] = ` @@ -129,6 +164,9 @@ exports[`picker :base 1`] = ` @@ -137,6 +175,15 @@ exports[`picker :base 1`] = ` + + + 春 + + + + + 春 + + - {{cancelBtn}} + {{cancelBtn}} + {{title}} - {{confirmBtn}} + {{confirmBtn}} + diff --git a/src/swiper-nav/swiper-nav.wxml b/src/swiper-nav/swiper-nav.wxml index 35ed33a4a..0598edb54 100644 --- a/src/swiper-nav/swiper-nav.wxml +++ b/src/swiper-nav/swiper-nav.wxml @@ -1,6 +1,5 @@ -