diff --git a/src/action-sheet/__test__/__snapshots__/demo.test.js.snap b/src/action-sheet/__test__/__snapshots__/demo.test.js.snap index c0548eabf..61fd32fea 100644 --- a/src/action-sheet/__test__/__snapshots__/demo.test.js.snap +++ b/src/action-sheet/__test__/__snapshots__/demo.test.js.snap @@ -4,6 +4,7 @@ exports[`ActionSheet ActionSheet align demo works fine 1`] = ` 填充按钮 @@ -153,6 +154,7 @@ exports[`Button Button group-btn demo works fine 1`] = ` 填充按钮 diff --git a/src/calendar/__test__/__snapshots__/index.test.js.snap b/src/calendar/__test__/__snapshots__/index.test.js.snap index 030408ab7..f4d92c862 100644 --- a/src/calendar/__test__/__snapshots__/index.test.js.snap +++ b/src/calendar/__test__/__snapshots__/index.test.js.snap @@ -780,7 +780,6 @@ exports[`calendar :base 1`] = ` - 确定 @@ -801,7 +800,7 @@ exports[`calendar :base 1`] = ` ariaLabel="关闭" ariaRole="button" class="t-overlay t-fade-enter t-fade-enter-active class" - style="--td-overlay-transition-duration:300ms; z-index:11000;" + style="--td-overlay-transition-duration:300ms; z-index:11000; top:0px;" bind:tap="handleClick" catch:touchmove="noop" bind:transitionend="onTransitionEnd" diff --git a/src/cell/__test__/__snapshots__/demo.test.js.snap b/src/cell/__test__/__snapshots__/demo.test.js.snap index 1d56669fd..083edd6ee 100644 --- a/src/cell/__test__/__snapshots__/demo.test.js.snap +++ b/src/cell/__test__/__snapshots__/demo.test.js.snap @@ -133,6 +133,7 @@ exports[`Cell Cell multiple demo works fine 1`] = ` exports[`Cell Cell theme demo works fine 1`] = ` - col-8 + + col-8 + - col-8 + + col-8 + - col-8 + + col-8 + 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 3cdd66378..0246c0db4 100644 --- a/src/date-time-picker/__test__/__snapshots__/index.test.js.snap +++ b/src/date-time-picker/__test__/__snapshots__/index.test.js.snap @@ -74,6 +74,7 @@ exports[`date-time-picker :base 1`] = ` 2000年 @@ -82,6 +83,7 @@ exports[`date-time-picker :base 1`] = ` 2001年 @@ -90,6 +92,7 @@ exports[`date-time-picker :base 1`] = ` 2002年 @@ -98,6 +101,7 @@ exports[`date-time-picker :base 1`] = ` 2003年 @@ -106,6 +110,7 @@ exports[`date-time-picker :base 1`] = ` 2004年 @@ -114,6 +119,7 @@ exports[`date-time-picker :base 1`] = ` 2005年 @@ -122,6 +128,7 @@ exports[`date-time-picker :base 1`] = ` 2006年 @@ -130,6 +137,7 @@ exports[`date-time-picker :base 1`] = ` 2007年 @@ -138,6 +146,7 @@ exports[`date-time-picker :base 1`] = ` 2008年 @@ -146,6 +155,7 @@ exports[`date-time-picker :base 1`] = ` 2009年 @@ -154,6 +164,7 @@ exports[`date-time-picker :base 1`] = ` 2010年 @@ -162,6 +173,7 @@ exports[`date-time-picker :base 1`] = ` 2011年 @@ -170,6 +182,7 @@ exports[`date-time-picker :base 1`] = ` 2012年 @@ -178,6 +191,7 @@ exports[`date-time-picker :base 1`] = ` 2013年 @@ -186,6 +200,7 @@ exports[`date-time-picker :base 1`] = ` 2014年 @@ -194,6 +209,7 @@ exports[`date-time-picker :base 1`] = ` 2015年 @@ -202,6 +218,7 @@ exports[`date-time-picker :base 1`] = ` 2016年 @@ -210,6 +227,7 @@ exports[`date-time-picker :base 1`] = ` 2017年 @@ -218,6 +236,7 @@ exports[`date-time-picker :base 1`] = ` 2018年 @@ -226,6 +245,7 @@ exports[`date-time-picker :base 1`] = ` 2019年 @@ -234,6 +254,7 @@ exports[`date-time-picker :base 1`] = ` 2020年 @@ -242,6 +263,7 @@ exports[`date-time-picker :base 1`] = ` 2021年 @@ -250,6 +272,7 @@ exports[`date-time-picker :base 1`] = ` 2022年 @@ -258,6 +281,7 @@ exports[`date-time-picker :base 1`] = ` 2023年 @@ -266,6 +290,7 @@ exports[`date-time-picker :base 1`] = ` 2024年 @@ -274,6 +299,7 @@ exports[`date-time-picker :base 1`] = ` 2025年 @@ -282,6 +308,7 @@ exports[`date-time-picker :base 1`] = ` 2026年 @@ -290,6 +317,7 @@ exports[`date-time-picker :base 1`] = ` 2027年 @@ -298,6 +326,7 @@ exports[`date-time-picker :base 1`] = ` 2028年 @@ -306,6 +335,7 @@ exports[`date-time-picker :base 1`] = ` 2029年 @@ -314,6 +344,7 @@ exports[`date-time-picker :base 1`] = ` 2030年 @@ -341,6 +372,7 @@ exports[`date-time-picker :base 1`] = ` 1月 @@ -349,6 +381,7 @@ exports[`date-time-picker :base 1`] = ` 2月 @@ -357,6 +390,7 @@ exports[`date-time-picker :base 1`] = ` 3月 @@ -365,6 +399,7 @@ exports[`date-time-picker :base 1`] = ` 4月 @@ -373,6 +408,7 @@ exports[`date-time-picker :base 1`] = ` 5月 @@ -381,6 +417,7 @@ exports[`date-time-picker :base 1`] = ` 6月 @@ -389,6 +426,7 @@ exports[`date-time-picker :base 1`] = ` 7月 @@ -397,6 +435,7 @@ exports[`date-time-picker :base 1`] = ` 8月 @@ -405,6 +444,7 @@ exports[`date-time-picker :base 1`] = ` 9月 @@ -413,6 +453,7 @@ exports[`date-time-picker :base 1`] = ` 10月 @@ -421,6 +462,7 @@ exports[`date-time-picker :base 1`] = ` 11月 @@ -429,6 +471,7 @@ exports[`date-time-picker :base 1`] = ` 12月 @@ -462,7 +505,7 @@ exports[`date-time-picker :base 1`] = ` ariaLabel="关闭" ariaRole="button" class="t-overlay t-fade-enter t-fade-enter-active class" - style="--td-overlay-transition-duration:300ms; z-index:11000;" + style="--td-overlay-transition-duration:300ms; z-index:11000; top:0px;" bind:tap="handleClick" catch:touchmove="noop" bind:transitionend="onTransitionEnd" diff --git a/src/dialog/__test__/__snapshots__/demo.test.js.snap b/src/dialog/__test__/__snapshots__/demo.test.js.snap index e9de0793f..b86ffb3bc 100644 --- a/src/dialog/__test__/__snapshots__/demo.test.js.snap +++ b/src/dialog/__test__/__snapshots__/demo.test.js.snap @@ -79,6 +79,7 @@ exports[`Dialog Dialog base demo works fine 1`] = ` class="long-content" scrollY="{{true}}" slot="content" + type="list" > `; diff --git a/src/drawer/__test__/__snapshots__/demo.test.js.snap b/src/drawer/__test__/__snapshots__/demo.test.js.snap index b37b24324..4864d5e6b 100644 --- a/src/drawer/__test__/__snapshots__/demo.test.js.snap +++ b/src/drawer/__test__/__snapshots__/demo.test.js.snap @@ -14,6 +14,7 @@ exports[`Drawer Drawer base demo works fine 1`] = ` diff --git a/src/loading/__test__/__snapshots__/demo.test.js.snap b/src/loading/__test__/__snapshots__/demo.test.js.snap index 1354ec6e0..dffe7bffe 100644 --- a/src/loading/__test__/__snapshots__/demo.test.js.snap +++ b/src/loading/__test__/__snapshots__/demo.test.js.snap @@ -26,7 +26,7 @@ exports[`Loading Loading base demo works fine 1`] = ` > diff --git a/src/navbar/__test__/__snapshots__/demo.test.js.snap b/src/navbar/__test__/__snapshots__/demo.test.js.snap index 9fcf04d37..d7ac7393b 100644 --- a/src/navbar/__test__/__snapshots__/demo.test.js.snap +++ b/src/navbar/__test__/__snapshots__/demo.test.js.snap @@ -3,6 +3,8 @@ exports[`Navbar Navbar back-home demo works fine 1`] = ` @@ -46,6 +50,8 @@ exports[`Navbar Navbar base demo works fine 1`] = ` @@ -58,6 +64,8 @@ exports[`Navbar Navbar custom-color demo works fine 1`] = ` @@ -65,7 +73,10 @@ exports[`Navbar Navbar custom-color demo works fine 1`] = ` exports[`Navbar Navbar img demo works fine 1`] = ` - + @@ -86,11 +97,15 @@ exports[`Navbar Navbar left-title demo works fine 1`] = ` > 2021年 @@ -76,6 +77,7 @@ exports[`picker :base 1`] = ` 2020年 @@ -84,6 +86,7 @@ exports[`picker :base 1`] = ` 2019年 @@ -108,6 +111,7 @@ exports[`picker :base 1`] = ` 春 @@ -116,6 +120,7 @@ exports[`picker :base 1`] = ` 夏 @@ -124,6 +129,7 @@ exports[`picker :base 1`] = ` 秋 @@ -132,6 +138,7 @@ exports[`picker :base 1`] = ` 冬 @@ -165,7 +172,7 @@ exports[`picker :base 1`] = ` ariaLabel="关闭" ariaRole="button" class="t-overlay t-fade-enter t-fade-enter-active class" - style="--td-overlay-transition-duration:300ms; z-index:11000;" + style="--td-overlay-transition-duration:300ms; z-index:11000; top:0px;" bind:tap="handleClick" catch:touchmove="noop" bind:transitionend="onTransitionEnd" diff --git a/src/popup/__test__/__snapshots__/demo.test.js.snap b/src/popup/__test__/__snapshots__/demo.test.js.snap index 78b71e956..8ff40d931 100644 --- a/src/popup/__test__/__snapshots__/demo.test.js.snap +++ b/src/popup/__test__/__snapshots__/demo.test.js.snap @@ -27,7 +27,9 @@ exports[`Popup Popup base demo works fine 1`] = ` variant="outline" bind:tap="handlePopup" > - 顶部弹出 + + 顶部弹出 + - 左侧弹出 + + 左侧弹出 + - 中间弹出 + + 中间弹出 + - 底部弹出 + + 底部弹出 + - 右侧弹出 + + 右侧弹出 + `; @@ -122,7 +132,9 @@ exports[`Popup Popup custom-close demo works fine 1`] = ` variant="outline" bind:tap="handlePopup" > - 居中弹出层-带自定义关闭按钮 + + 居中弹出层-带自定义关闭按钮 + `; diff --git a/src/slider/__test__/__snapshots__/demo.test.js.snap b/src/slider/__test__/__snapshots__/demo.test.js.snap index 65f0eff75..9cc546ef9 100644 --- a/src/slider/__test__/__snapshots__/demo.test.js.snap +++ b/src/slider/__test__/__snapshots__/demo.test.js.snap @@ -255,10 +255,10 @@ exports[`Slider Slider vertical demo works fine 1`] = ` class="wrapper" > @@ -140,6 +143,7 @@ exports[`TabBar TabBar icon-only demo works fine 1`] = ` - - - - + /> - - - - + /> - - - - + /> - - - - + /> `; @@ -222,6 +211,7 @@ exports[`TabBar TabBar sub demo works fine 1`] = ` @@ -40,6 +41,8 @@ exports[`Textarea Textarea card demo works fine 1`] = ` placeholder="请输入文字" style="border-radius: 18rpx;" tClass="external-class" + tClassIndicator="" + tClassLabel="" /> @@ -63,6 +66,7 @@ exports[`Textarea Textarea custom demo works fine 1`] = ` placeholder="请输入文字" style="height: 248rpx" tClass="external-class" + tClassIndicator="" /> @@ -76,6 +80,7 @@ exports[`Textarea Textarea disabled demo works fine 1`] = ` label="标签文字" placeholder="请输入文字" tClass="external-class" + tClassLabel="" value="不可编辑文字" /> @@ -88,6 +93,7 @@ exports[`Textarea Textarea label demo works fine 1`] = ` label="标签文字" placeholder="请输入文字" tClass="external-class" + tClassLabel="" /> `; @@ -101,6 +107,8 @@ exports[`Textarea Textarea maxcharacter demo works fine 1`] = ` maxcharacter="200" placeholder="设置最大字符个数,一个汉字表示两个字符" tClass="external-class" + tClassIndicator="" + tClassLabel="" /> `; @@ -114,6 +122,8 @@ exports[`Textarea Textarea maxlength demo works fine 1`] = ` maxlength="200" placeholder="设置最大字符个数" tClass="external-class" + tClassIndicator="" + tClassLabel="" /> `; diff --git a/src/toast/__test__/__snapshots__/demo.test.js.snap b/src/toast/__test__/__snapshots__/demo.test.js.snap index fd6a188bd..79f72c6ac 100644 --- a/src/toast/__test__/__snapshots__/demo.test.js.snap +++ b/src/toast/__test__/__snapshots__/demo.test.js.snap @@ -2,83 +2,90 @@ exports[`Toast Toast base demo works fine 1`] = ` - - - 纯文本 - - - 多行文字 - - - 带横向图标 - - - 带竖向图标 - - - 加载状态 - - -`; - -exports[`Toast Toast close demo works fine 1`] = ` - + 纯文本 + + + 多行文字 + + - 显示提示 + 带横向图标 - 关闭提示 + 带竖向图标 + + + 加载状态 + +`; + +exports[`Toast Toast close demo works fine 1`] = ` + + + + + + 显示提示 + + + 关闭提示 + + + `; @@ -87,15 +94,19 @@ exports[`Toast Toast cover demo works fine 1`] = ` - - 禁止滑动和点击 - + + 禁止滑动和点击 + + `; @@ -142,32 +153,36 @@ exports[`Toast Toast theme demo works fine 1`] = ` - - 成功提示 - - - 警告提示 - - - 错误提示 - + + 成功提示 + + + 警告提示 + + + 错误提示 + + `;