test: demo snapshot uses enUS

This commit is contained in:
chenjiahan
2020-11-25 22:39:06 +08:00
parent 9708ab53f6
commit ea44d636ba
57 changed files with 991 additions and 2361 deletions
+33 -33
View File
@@ -6,7 +6,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
用户名
Username
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -14,7 +14,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text"
name="username"
class="van-field__control"
placeholder="用户名"
placeholder="Username"
>
</div>
</div>
@@ -22,7 +22,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
密码
Password
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -30,7 +30,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="password"
name="password"
class="van-field__control"
placeholder="密码"
placeholder="Password"
>
</div>
</div>
@@ -41,7 +41,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
提交
Submit
</span>
</div>
</button>
@@ -53,7 +53,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
文本
Label
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -61,7 +61,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text"
name="pattern"
class="van-field__control"
placeholder="正则校验"
placeholder="Use pattern"
>
</div>
</div>
@@ -69,7 +69,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
文本
Label
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -77,7 +77,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text"
name="validator"
class="van-field__control"
placeholder="函数校验"
placeholder="Use validator"
>
</div>
</div>
@@ -85,7 +85,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
文本
Label
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -93,7 +93,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text"
name="asyncValidator"
class="van-field__control"
placeholder="异步函数校验"
placeholder="Use async validator"
>
</div>
</div>
@@ -104,7 +104,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
提交
Submit
</span>
</div>
</button>
@@ -116,7 +116,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
开关
Switch
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -137,7 +137,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
复选框
Checkbox
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -160,7 +160,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
复选框组
Checkbox Group
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -177,7 +177,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 1
Checkbox 1
</span>
</div>
<div role="checkbox"
@@ -190,7 +190,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 2
Checkbox 2
</span>
</div>
</div>
@@ -201,7 +201,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
单选框
Radio
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -220,7 +220,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 1
Radio 1
</span>
</div>
<div role="radio"
@@ -233,7 +233,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 2
Radio 2
</span>
</div>
</div>
@@ -244,7 +244,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
步进器
Stepper
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -275,7 +275,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
评分
Rate
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -353,7 +353,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
滑块
Slider
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -383,7 +383,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
文件上传
Uploader
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -427,7 +427,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title van-field__label">
<span>
选择器
Picker
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -436,7 +436,7 @@ exports[`should render demo and match snapshot 1`] = `
name="picker"
class="van-field__control"
readonly
placeholder="点击选择城市"
placeholder="Select city"
>
</div>
</div>
@@ -447,7 +447,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title van-field__label">
<span>
时间选择
Datetime Picker
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -456,7 +456,7 @@ exports[`should render demo and match snapshot 1`] = `
name="datetimePicker"
class="van-field__control"
readonly
placeholder="点击选择时间"
placeholder="Select time"
>
</div>
</div>
@@ -467,7 +467,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title van-field__label">
<span>
地区选择
Area Picker
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -476,7 +476,7 @@ exports[`should render demo and match snapshot 1`] = `
name="area"
class="van-field__control"
readonly
placeholder="点击选择省市区"
placeholder="Select area"
>
</div>
</div>
@@ -487,7 +487,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title van-field__label">
<span>
日历
Calendar
</span>
</div>
<div class="van-cell__value van-field__value">
@@ -496,7 +496,7 @@ exports[`should render demo and match snapshot 1`] = `
name="calendar"
class="van-field__control"
readonly
placeholder="点击选择日期"
placeholder="Select date"
>
</div>
</div>
@@ -507,7 +507,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
提交
Submit
</span>
</div>
</button>