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

View File

@ -9,7 +9,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-badge__wrapper van-icon van-icon-chat-o van-action-bar-icon__icon">
</div>
客服
Icon1
</div>
<div role="button"
class="van-action-bar-icon"
@ -17,7 +17,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-badge__wrapper van-icon van-icon-cart-o van-action-bar-icon__icon">
</div>
购物车
Icon2
</div>
<div role="button"
class="van-action-bar-icon"
@ -25,14 +25,14 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-badge__wrapper van-icon van-icon-shop-o van-action-bar-icon__icon">
</div>
店铺
Icon3
</div>
<button type="button"
class="van-button van-button--danger van-button--large van-action-bar-button van-action-bar-button--danger van-action-bar-button--last van-action-bar-button--first"
>
<div class="van-button__content">
<span class="van-button__text">
立即购买
Button
</span>
</div>
</button>
@ -48,7 +48,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-badge van-badge--dot van-badge--fixed">
</div>
</div>
客服
Icon1
</div>
<div role="button"
class="van-action-bar-icon"
@ -59,7 +59,7 @@ exports[`should render demo and match snapshot 1`] = `
5
</div>
</div>
购物车
Icon2
</div>
<div role="button"
class="van-action-bar-icon"
@ -70,14 +70,14 @@ exports[`should render demo and match snapshot 1`] = `
12
</div>
</div>
店铺
Icon3
</div>
<button type="button"
class="van-button van-button--warning van-button--large van-action-bar-button van-action-bar-button--warning van-action-bar-button--first"
>
<div class="van-button__content">
<span class="van-button__text">
加入购物车
Button
</span>
</div>
</button>
@ -86,7 +86,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
立即购买
Button
</span>
</div>
</button>
@ -102,7 +102,7 @@ exports[`should render demo and match snapshot 1`] = `
style="color: rgb(7, 193, 96);"
>
</div>
客服
Icon1
</div>
<div role="button"
class="van-action-bar-icon"
@ -110,7 +110,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-badge__wrapper van-icon van-icon-cart-o van-action-bar-icon__icon">
</div>
购物车
Icon2
</div>
<div role="button"
class="van-action-bar-icon"
@ -120,14 +120,14 @@ exports[`should render demo and match snapshot 1`] = `
style="color: rgb(255, 80, 0);"
>
</div>
已收藏
Collected
</div>
<button type="button"
class="van-button van-button--warning van-button--large van-action-bar-button van-action-bar-button--warning van-action-bar-button--first"
>
<div class="van-button__content">
<span class="van-button__text">
加入购物车
Button
</span>
</div>
</button>
@ -136,7 +136,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
立即购买
Button
</span>
</div>
</button>
@ -150,7 +150,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-badge__wrapper van-icon van-icon-chat-o van-action-bar-icon__icon">
</div>
客服
Icon1
</div>
<div role="button"
class="van-action-bar-icon"
@ -158,7 +158,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-badge__wrapper van-icon van-icon-cart-o van-action-bar-icon__icon">
</div>
购物车
Icon2
</div>
<button type="button"
class="van-button van-button--warning van-button--large van-action-bar-button van-action-bar-button--warning van-action-bar-button--first"
@ -166,7 +166,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
加入购物车
Button
</span>
</div>
</button>
@ -176,7 +176,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
立即购买
Button
</span>
</div>
</button>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
基础用法
Basic Usage
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -20,7 +20,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
展示取消按钮
Show Cancel Button
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -32,7 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
展示描述信息
Show Description
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -46,7 +46,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
选项状态
Option Status
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -60,7 +60,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义面板
Custom Panel
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">

View File

@ -7,14 +7,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
姓名
Name
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="收货人姓名"
placeholder="Name"
>
</div>
</div>
@ -22,14 +22,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
电话
Phone
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="tel"
class="van-field__control"
placeholder="收货人手机号"
placeholder="Phone"
>
</div>
</div>
@ -40,7 +40,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title van-field__label">
<span>
地区
Area
</span>
</div>
<div class="van-cell__value van-field__value">
@ -48,7 +48,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text"
class="van-field__control"
readonly
placeholder="选择省 / 市 / 区"
placeholder="Area"
>
<div class="van-field__right-icon">
<i class="van-badge__wrapper van-icon van-icon-arrow">
@ -60,14 +60,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field van-address-edit-detail">
<div class="van-cell__title van-field__label">
<span>
详细地址
Address
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<textarea rows="1"
class="van-field__control"
placeholder="街道门牌、楼层房间号等信息"
placeholder="Address"
style="height: auto;"
>
</textarea>
@ -77,14 +77,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
邮政编码
Postal
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="tel"
class="van-field__control"
placeholder="邮政编码"
placeholder="Postal"
>
</div>
</div>
@ -93,7 +93,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center van-address-edit__default">
<div class="van-cell__title">
<span>
设为默认收货地址
Set as the default address
</span>
</div>
<div role="switch"
@ -111,7 +111,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
保存
Save
</span>
</div>
</button>
@ -120,7 +120,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
删除
Delete
</span>
</div>
</button>

View File

@ -22,15 +22,15 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<span class="van-radio__label">
<div class="van-address-item__name">
张三 13000000000
John Snow 13000000000
<transition-stub class="van-address-item__tag">
<span class="van-tag van-tag--round van-tag--danger">
默认
Default
</span>
</transition-stub>
</div>
<div class="van-address-item__address">
浙江省杭州市西湖区文三路 138 号东方通信大厦 7 楼 501 室
Somewhere
</div>
</span>
</div>
@ -55,10 +55,10 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<span class="van-radio__label">
<div class="van-address-item__name">
李四 1310000000
Ned Stark 1310000000
</div>
<div class="van-address-item__address">
浙江省杭州市拱墅区莫干山路 50 号
Somewhere
</div>
</span>
</div>
@ -69,16 +69,16 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
<div class="van-address-list__disabled-text">
以下地址超出配送范围
The following address is out of range
</div>
<div class="van-address-item van-address-item--disabled">
<div class="van-cell van-cell--borderless">
<div class="van-cell__value van-cell__value--alone van-address-item__value">
<div class="van-address-item__name">
王五 1320000000
Tywin 1320000000
</div>
<div class="van-address-item__address">
浙江省杭州市滨江区江南大道 15 号
Somewhere
</div>
</div>
<i class="van-badge__wrapper van-icon van-icon-edit van-address-item__edit">
@ -91,7 +91,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
新增地址
Add new address
</span>
</div>
</button>

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
主要按钮
Primary
</span>
</div>
</button>
@ -17,7 +17,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
成功按钮
Success
</span>
</div>
</button>
@ -26,7 +26,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
默认按钮
Default
</span>
</div>
</button>
@ -36,7 +36,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
危险按钮
Danger
</span>
</div>
</button>
@ -45,7 +45,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
警告按钮
Warning
</span>
</div>
</button>
@ -56,7 +56,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
朴素按钮
Plain
</span>
</div>
</button>
@ -65,7 +65,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
朴素按钮
Plain
</span>
</div>
</button>
@ -76,7 +76,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
细边框按钮
Hairline
</span>
</div>
</button>
@ -85,7 +85,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
细边框按钮
Hairline
</span>
</div>
</button>
@ -97,7 +97,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
禁用状态
Disabled
</span>
</div>
</button>
@ -107,7 +107,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
禁用状态
Disabled
</span>
</div>
</button>
@ -192,7 +192,7 @@ exports[`should render demo and match snapshot 1`] = `
</span>
</div>
<span class="van-button__text">
加载中...
Loading...
</span>
</div>
</button>
@ -203,7 +203,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
方形按钮
Square
</span>
</div>
</button>
@ -212,7 +212,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
圆形按钮
Round
</span>
</div>
</button>
@ -233,7 +233,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-plus van-button__icon">
</i>
<span class="van-button__text">
按钮
Button
</span>
</div>
</button>
@ -247,7 +247,7 @@ exports[`should render demo and match snapshot 1`] = `
>
</i>
<span class="van-button__text">
按钮
Button
</span>
</div>
</button>
@ -258,7 +258,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
大号按钮
Large
</span>
</div>
</button>
@ -267,7 +267,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
普通按钮
Normal
</span>
</div>
</button>
@ -276,7 +276,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
小型按钮
Small
</span>
</div>
</button>
@ -285,7 +285,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
迷你按钮
Mini
</span>
</div>
</button>
@ -296,7 +296,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
块级元素
Block Element
</span>
</div>
</button>
@ -307,7 +307,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
URL 跳转
URL
</span>
</div>
</button>
@ -316,7 +316,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
路由跳转
Vue Router
</span>
</div>
</button>
@ -328,7 +328,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
单色按钮
Pure
</span>
</div>
</button>
@ -338,7 +338,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
单色按钮
Pure
</span>
</div>
</button>
@ -348,7 +348,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
渐变色按钮
Gradient
</span>
</div>
</button>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
选择单个日期
Select Single Date
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -20,7 +20,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
选择多个日期
Select Multiple Date
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -32,7 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
选择日期区间
Select Date Range
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -46,7 +46,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
选择单个日期
Select Single Date
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -58,7 +58,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
选择日期区间
Select Date Range
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -72,7 +72,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义颜色
Custom Color
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -84,7 +84,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义日期范围
Custom Date Range
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -96,7 +96,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义按钮文字
Custom Confirm Text
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -108,7 +108,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义日期文案
Custom Day Text
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -120,7 +120,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义弹出位置
Custom Position
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -132,7 +132,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
日期区间最大范围
Max Range
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -144,7 +144,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义周起始日
Custom First Day Of Week
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -157,31 +157,31 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-calendar__header">
<div class="van-calendar__header-title">
日历
Calendar
</div>
<div class="van-calendar__header-subtitle">
</div>
<div class="van-calendar__weekdays">
<span class="van-calendar__weekday">
Sun
</span>
<span class="van-calendar__weekday">
Mon
</span>
<span class="van-calendar__weekday">
Tue
</span>
<span class="van-calendar__weekday">
Wed
</span>
<span class="van-calendar__weekday">
Thu
</span>
<span class="van-calendar__weekday">
Fri
</span>
<span class="van-calendar__weekday">
Sat
</span>
</div>
</div>
@ -224,7 +224,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-calendar__month">
<div class="van-calendar__month-title">
2012年2月
2012/2
</div>
<div role="grid"
class="van-calendar__days"
@ -263,7 +263,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-calendar__month">
<div class="van-calendar__month-title">
2012年3月
2012/3
</div>
<div role="grid"
class="van-calendar__days"

View File

@ -21,10 +21,10 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-card__content">
<div>
<div class="van-card__title van-multi-ellipsis--l2">
商品名称
Title
</div>
<div class="van-card__desc van-ellipsis">
描述信息
Description
</div>
</div>
<div class="van-card__bottom">
@ -69,7 +69,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-card__tag">
<transition-stub>
<span class="van-tag van-tag--mark van-tag--danger">
标签
Tag
</span>
</transition-stub>
</div>
@ -77,10 +77,10 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-card__content">
<div>
<div class="van-card__title van-multi-ellipsis--l2">
商品名称
Title
</div>
<div class="van-card__desc van-ellipsis">
描述信息
Description
</div>
</div>
<div class="van-card__bottom">
@ -129,10 +129,10 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-card__content">
<div>
<div class="van-card__title van-multi-ellipsis--l2">
商品名称
Title
</div>
<div class="van-card__desc van-ellipsis">
描述信息
Description
</div>
<div>
<transition-stub style="margin-right: 5px;">
@ -175,7 +175,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
按钮
Button
</span>
</div>
</button>
@ -184,7 +184,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
按钮
Button
</span>
</div>
</button>

View File

@ -6,27 +6,27 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
<div class="van-cell__label">
描述信息
Description
</div>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>
@ -36,27 +36,27 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--large">
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>
<div class="van-cell van-cell--large">
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
<div class="van-cell__label">
描述信息
Description
</div>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>
@ -67,12 +67,12 @@ exports[`should render demo and match snapshot 1`] = `
</i>
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>
@ -81,7 +81,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__value van-cell__value--alone">
<span>
内容
Content
</span>
</div>
</div>
@ -93,7 +93,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -105,12 +105,12 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -122,12 +122,12 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow-down van-cell__right-icon">
@ -141,7 +141,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
URL 跳转
URL
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -153,7 +153,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
路由跳转
Vue Router
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -162,35 +162,35 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div>
<div class="van-cell-group__title">
分组 1
Group 1
</div>
<div class="van-cell-group van-hairline--top-bottom">
<div class="van-cell">
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>
</div>
<div class="van-cell-group__title">
分组 2
Group 2
</div>
<div class="van-cell-group van-hairline--top-bottom">
<div class="van-cell">
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>
@ -203,17 +203,17 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span class="custom-title">
单元格
Cell title
</span>
<transition-stub>
<span class="van-tag van-tag--danger">
标签
Tag
</span>
</transition-stub>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -224,7 +224,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-search search-icon">
@ -235,15 +235,15 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
单元格
Cell title
</span>
<div class="van-cell__label">
描述信息
Description
</div>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>

View File

@ -12,7 +12,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框
Checkbox
</span>
</div>
</div>
@ -27,7 +27,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label van-checkbox__label--disabled">
复选框
Checkbox
</span>
</div>
<div role="checkbox"
@ -40,7 +40,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label van-checkbox__label--disabled">
复选框
Checkbox
</span>
</div>
</div>
@ -55,7 +55,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
自定义形状
Custom Shape
</span>
</div>
</div>
@ -72,7 +72,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
自定义颜色
Custom Color
</span>
</div>
</div>
@ -89,7 +89,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
自定义大小
Custom Icon Size
</span>
</div>
</div>
@ -103,7 +103,7 @@ exports[`should render demo and match snapshot 1`] = `
<img src="https://img.yzcdn.cn/vant/user-active.png">
</div>
<span class="van-checkbox__label">
自定义图标
Custom Icon
</span>
</div>
</div>
@ -118,7 +118,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框
Checkbox
</span>
</div>
</div>
@ -134,7 +134,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 a
Checkbox a
</span>
</div>
<div role="checkbox"
@ -147,7 +147,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 b
Checkbox b
</span>
</div>
</div>
@ -164,7 +164,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 a
Checkbox a
</span>
</div>
<div role="checkbox"
@ -177,7 +177,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 b
Checkbox b
</span>
</div>
</div>
@ -194,7 +194,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 a
Checkbox a
</span>
</div>
<div role="checkbox"
@ -207,7 +207,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 b
Checkbox b
</span>
</div>
<div role="checkbox"
@ -220,7 +220,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 c
Checkbox c
</span>
</div>
</div>
@ -237,7 +237,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 a
Checkbox a
</span>
</div>
<div role="checkbox"
@ -250,7 +250,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 b
Checkbox b
</span>
</div>
<div role="checkbox"
@ -263,7 +263,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
复选框 c
Checkbox c
</span>
</div>
</div>
@ -273,7 +273,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
全选
Check All
</span>
</div>
</button>
@ -282,7 +282,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
反选
Inverse
</span>
</div>
</button>
@ -297,7 +297,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
复选框 a
Checkbox a
</span>
</div>
<div role="checkbox"
@ -317,7 +317,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
复选框 b
Checkbox b
</span>
</div>
<div role="checkbox"

View File

@ -41,7 +41,7 @@ exports[`should render demo and match snapshot 1`] = `
</path>
</svg>
<div class="van-circle__text">
宽度定制
Custom Width
</div>
</div>
<div class="van-circle"
@ -61,7 +61,7 @@ exports[`should render demo and match snapshot 1`] = `
</path>
</svg>
<div class="van-circle__text">
颜色定制
Custom Color
</div>
</div>
<div class="van-circle"
@ -98,7 +98,7 @@ exports[`should render demo and match snapshot 1`] = `
</path>
</svg>
<div class="van-circle__text">
渐变色
Gradient
</div>
</div>
<div class="van-circle"
@ -118,7 +118,7 @@ exports[`should render demo and match snapshot 1`] = `
</path>
</svg>
<div class="van-circle__text">
逆时针
Counter Clockwise
</div>
</div>
<div class="van-circle"
@ -138,7 +138,7 @@ exports[`should render demo and match snapshot 1`] = `
</path>
</svg>
<div class="van-circle__text">
大小定制
Custom Size
</div>
</div>
</div>
@ -148,7 +148,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
增加
Add
</span>
</div>
</button>
@ -157,7 +157,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
减少
Decrease
</span>
</div>
</button>

View File

@ -12,7 +12,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
标题1
Title1
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -20,7 +20,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-collapse-item__wrapper">
<div class="van-collapse-item__content">
代码是写出来给人看的,附带能在机器上运行
Content
</div>
</div>
</div>
@ -33,7 +33,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
标题2
Title2
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -49,7 +49,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
标题3
Title3
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -69,7 +69,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
标题1
Title1
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -77,7 +77,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-collapse-item__wrapper">
<div class="van-collapse-item__content">
代码是写出来给人看的,附带能在机器上运行
Content
</div>
</div>
</div>
@ -90,7 +90,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
标题2
Title2
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -106,7 +106,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
标题3
Title3
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -126,7 +126,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
标题1
Title1
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -142,7 +142,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
标题2
Title2
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -158,7 +158,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
标题3
Title3
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -177,7 +177,7 @@ exports[`should render demo and match snapshot 1`] = `
disabled="false"
>
<div class="van-cell__title">
标题1
Title1
<i class="van-badge__wrapper van-icon van-icon-question-o">
</i>
</div>
@ -196,12 +196,12 @@ exports[`should render demo and match snapshot 1`] = `
</i>
<div class="van-cell__title">
<span>
标题2
Title2
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">

View File

@ -9,7 +9,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-add-square van-cell__left-icon">
</i>
<div class="van-cell__value van-cell__value--alone van-contact-card__value">
添加联系人
Add contact info
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i>
@ -24,10 +24,10 @@ exports[`should render demo and match snapshot 1`] = `
</i>
<div class="van-cell__value van-cell__value--alone van-contact-card__value">
<div>
张三:张三
John SnowJohn Snow
</div>
<div>
电话13000000000
Phone13000000000
</div>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -40,10 +40,10 @@ exports[`should render demo and match snapshot 1`] = `
</i>
<div class="van-cell__value van-cell__value--alone van-contact-card__value">
<div>
张三:张三
John SnowJohn Snow
</div>
<div>
电话13000000000
Phone13000000000
</div>
</div>
</div>

View File

@ -8,14 +8,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
姓名
Name
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="请填写姓名"
placeholder="Please fill in the name"
>
</div>
</div>
@ -23,14 +23,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
电话
Phone
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="tel"
class="van-field__control"
placeholder="请填写电话"
placeholder="Please fill in the tel"
>
</div>
</div>
@ -39,7 +39,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--borderless van-contact-edit__switch-cell">
<div class="van-cell__title">
<span>
设为默认联系人
Set as the default contact
</span>
</div>
<div role="switch"
@ -57,7 +57,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
保存
Save
</span>
</div>
</button>
@ -66,7 +66,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
删除
Delete
</span>
</div>
</button>

View File

@ -14,10 +14,10 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-edit van-contact-list__edit">
</i>
<div class="van-cell__value van-cell__value--alone van-contact-list__item-value">
张三13000000000
John Snow13000000000
<transition-stub class="van-contact-list__item-tag">
<span class="van-tag van-tag--round van-tag--danger">
默认
default
</span>
</transition-stub>
</div>
@ -43,7 +43,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-edit van-contact-list__edit">
</i>
<div class="van-cell__value van-cell__value--alone van-contact-list__item-value">
李四1310000000
Ned Stark1310000000
</div>
<div role="radio"
class="van-radio"
@ -65,7 +65,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
新建联系人
Add new contact
</span>
</div>
</button>

View File

@ -8,12 +8,12 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
优惠券
Coupon
</span>
</div>
<div class="van-cell__value van-coupon-cell__value">
<span>
2张可用
You have 2 coupons
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
提示弹窗
Alert
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -20,7 +20,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
提示弹窗(无标题)
Alert without title
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -32,7 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
确认弹窗
Confirm dialog
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -46,7 +46,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
提示弹窗
Alert
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -58,7 +58,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
提示弹窗(无标题)
Alert without title
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -72,7 +72,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
异步关闭
Before Close
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -86,7 +86,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
组件调用
Component Call
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -97,11 +97,11 @@ exports[`should render demo and match snapshot 1`] = `
<transition-stub>
<div class="van-popup van-popup--center van-dialog"
role="dialog"
aria-labelledby="标题"
aria-labelledby="Title"
style="display: none;"
>
<div class="van-dialog__header">
标题
Title
</div>
<div class="van-dialog__content">
<img src="https://img.yzcdn.cn/vant/apple-3.jpg">
@ -112,7 +112,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
取消
Cancel
</span>
</div>
</button>
@ -121,7 +121,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
确认弹窗
Confirm dialog
</span>
</div>
</button>

View File

@ -11,26 +11,26 @@ exports[`should render demo and match snapshot 1`] = `
<div role="separator"
class="van-divider van-divider--hairline van-divider--content-center"
>
文本
Text
</div>
</div>
<div>
<div role="separator"
class="van-divider van-divider--hairline van-divider--content-left"
>
文本
Text
</div>
<div role="separator"
class="van-divider van-divider--hairline van-divider--content-right"
>
文本
Text
</div>
</div>
<div>
<div role="separator"
class="van-divider van-divider--dashed van-divider--content-center"
>
文本
Text
</div>
</div>
<div>
@ -38,7 +38,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-divider van-divider--hairline van-divider--content-center"
style="border-color: #1989fa; color: rgb(25, 137, 250); padding: 0px 16px;"
>
文本
Text
</div>
</div>
`;

View File

@ -10,7 +10,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title">
<div class="van-ellipsis">
全部商品
Option1
</div>
</span>
</div>
@ -20,7 +20,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title">
<div class="van-ellipsis">
默认排序
Option A
</div>
</span>
</div>
@ -52,7 +52,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title">
<div class="van-ellipsis">
全部商品
Option1
</div>
</span>
</div>
@ -62,7 +62,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title">
<div class="van-ellipsis">
筛选
Title
</div>
</span>
</div>
@ -94,7 +94,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title">
<div class="van-ellipsis">
全部商品
Option1
</div>
</span>
</div>
@ -104,7 +104,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title">
<div class="van-ellipsis">
默认排序
Option A
</div>
</span>
</div>
@ -136,7 +136,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title van-dropdown-menu__title--down">
<div class="van-ellipsis">
全部商品
Option1
</div>
</span>
</div>
@ -146,7 +146,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title van-dropdown-menu__title--down">
<div class="van-ellipsis">
默认排序
Option A
</div>
</span>
</div>
@ -178,7 +178,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title">
<div class="van-ellipsis">
全部商品
Option1
</div>
</span>
</div>
@ -188,7 +188,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<span class="van-dropdown-menu__title">
<div class="van-ellipsis">
默认排序
Option A
</div>
</span>
</div>

View File

@ -7,7 +7,7 @@ exports[`should render demo and match snapshot 1`] = `
<img src="https://img.yzcdn.cn/vant/empty-image-default.png">
</div>
<p class="van-empty__description">
描述文字
Description
</p>
</div>
</div>
@ -24,7 +24,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
通用错误
Error
</span>
</div>
<div role="tab"
@ -32,7 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
网络错误
Network
</span>
</div>
<div role="tab"
@ -40,7 +40,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
搜索提示
Search
</span>
</div>
<div class="van-tabs__line"
@ -59,7 +59,7 @@ exports[`should render demo and match snapshot 1`] = `
<img src="https://img.yzcdn.cn/vant/empty-image-error.png">
</div>
<p class="van-empty__description">
描述文字
Description
</p>
</div>
</div>
@ -82,7 +82,7 @@ exports[`should render demo and match snapshot 1`] = `
<img src="https://img.yzcdn.cn/vant/custom-empty-image.png">
</div>
<p class="van-empty__description">
描述文字
Description
</p>
</div>
</div>
@ -92,7 +92,7 @@ exports[`should render demo and match snapshot 1`] = `
<img src="https://img.yzcdn.cn/vant/empty-image-default.png">
</div>
<p class="van-empty__description">
描述文字
Description
</p>
<div class="van-empty__bottom">
<button type="button"
@ -100,7 +100,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
按钮
Button
</span>
</div>
</button>

View File

@ -6,14 +6,14 @@ 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">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="请输入文本"
placeholder="Text"
>
</div>
</div>
@ -24,14 +24,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
文本
Text
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="请输入文本"
placeholder="Text"
>
</div>
</div>
@ -39,14 +39,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
手机号
Phone
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="tel"
class="van-field__control"
placeholder="请输入手机号"
placeholder="Phone"
>
</div>
</div>
@ -54,7 +54,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
整数
Digit
</span>
</div>
<div class="van-cell__value van-field__value">
@ -62,7 +62,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="tel"
inputmode="numeric"
class="van-field__control"
placeholder="请输入整数"
placeholder="Digit"
>
</div>
</div>
@ -70,7 +70,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
数字
Number
</span>
</div>
<div class="van-cell__value van-field__value">
@ -78,7 +78,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text"
inputmode="decimal"
class="van-field__control"
placeholder="请输入数字(支持小数)"
placeholder="Number"
>
</div>
</div>
@ -86,14 +86,14 @@ 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">
<div class="van-field__body">
<input type="password"
class="van-field__control"
placeholder="请输入密码"
placeholder="Password"
>
</div>
</div>
@ -103,7 +103,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
文本
Text
</span>
</div>
<div class="van-cell__value van-field__value">
@ -118,7 +118,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field van-field--disabled">
<div class="van-cell__title van-field__label">
<span>
文本
Text
</span>
</div>
<div class="van-cell__value van-field__value">
@ -139,14 +139,14 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-cell__title van-field__label">
<span>
文本
Text
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="显示图标"
placeholder="Show Icon"
>
<div class="van-field__right-icon">
<i class="van-badge__wrapper van-icon van-icon-warning-o">
@ -162,14 +162,14 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-cell__title van-field__label">
<span>
文本
Text
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="显示清除图标"
placeholder="Show Clear Icon"
>
</div>
</div>
@ -179,14 +179,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--required van-field van-field--error">
<div class="van-cell__title van-field__label">
<span>
用户名
Username
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="请输入用户名"
placeholder="Username"
>
</div>
</div>
@ -194,18 +194,18 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--required van-field">
<div class="van-cell__title van-field__label">
<span>
手机号
Phone
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="请输入手机号"
placeholder="Phone"
>
</div>
<div class="van-field__error-message">
手机号格式错误
Invalid phone
</div>
</div>
</div>
@ -214,14 +214,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center van-field">
<div class="van-cell__title van-field__label">
<span>
短信验证码
SMS
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="请输入短信验证码"
placeholder="SMS"
>
<div class="van-field__button">
<button type="button"
@ -229,7 +229,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
发送验证码
Send SMS
</span>
</div>
</button>
@ -242,14 +242,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
文本
Text
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="在输入时执行格式化"
placeholder="Format On Change"
>
</div>
</div>
@ -257,14 +257,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
文本
Text
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control"
placeholder="在失焦时执行格式化"
placeholder="Format On Blur"
>
</div>
</div>
@ -272,16 +272,11 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div>
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
留言
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-cell__value van-cell__value--alone van-field__value">
<div class="van-field__body">
<textarea rows="1"
class="van-field__control"
placeholder="请输入留言"
placeholder="Message"
style="height: auto;"
>
</textarea>
@ -293,14 +288,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
留言
Message
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<textarea rows="2"
class="van-field__control"
placeholder="请输入留言"
placeholder="Message"
style="height: auto;"
>
</textarea>
@ -318,14 +313,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field">
<div class="van-cell__title van-field__label">
<span>
文本
Text
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body">
<input type="text"
class="van-field__control van-field__control--right"
placeholder="输入框内容右对齐"
placeholder="Input Align Right"
>
</div>
</div>

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>

View File

@ -10,7 +10,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -21,7 +21,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -32,7 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -43,7 +43,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -58,7 +58,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -69,7 +69,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -80,7 +80,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -91,7 +91,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -102,7 +102,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -113,7 +113,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -180,7 +180,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -191,7 +191,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -202,7 +202,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -213,7 +213,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -224,7 +224,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -235,7 +235,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -246,7 +246,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -257,7 +257,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -274,7 +274,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -285,7 +285,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -296,7 +296,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -307,7 +307,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -318,7 +318,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -329,7 +329,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -340,7 +340,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -351,7 +351,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -366,7 +366,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -377,7 +377,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -388,7 +388,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -406,7 +406,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-home-o van-grid-item__icon">
</i>
<span class="van-grid-item__text">
路由跳转
Vue Router
</span>
</div>
</div>
@ -420,7 +420,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-search van-grid-item__icon">
</i>
<span class="van-grid-item__text">
URL 跳转
URL
</span>
</div>
</div>
@ -437,7 +437,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>
@ -451,7 +451,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</i>
<span class="van-grid-item__text">
文字
Text
</span>
</div>
</div>

View File

@ -228,7 +228,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
<div class="text">
默认提示
Default Tip
</div>
</div>
<div style="padding-left: 10px;"
@ -271,7 +271,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
<div class="text">
自定义提示
Custom Tip
</div>
</div>
</div>
@ -293,7 +293,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
<div class="text">
默认提示
Default Tip
</div>
</div>
<div style="padding-left: 10px;"
@ -311,7 +311,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
<div class="text">
自定义提示
Custom Tip
</div>
</div>
</div>

View File

@ -13,7 +13,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
基础用法
Basic Usage
</span>
</div>
<div role="tab"
@ -21,7 +21,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
自定义索引列表
Custom Index List
</span>
</div>
<div class="van-tabs__line"
@ -177,21 +177,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -205,21 +205,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -233,21 +233,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -261,21 +261,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -289,21 +289,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -317,21 +317,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -345,21 +345,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -373,21 +373,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -401,21 +401,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -429,21 +429,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -457,21 +457,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -485,21 +485,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -513,21 +513,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -541,21 +541,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -569,21 +569,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -597,21 +597,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -625,21 +625,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -653,21 +653,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -681,21 +681,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -709,21 +709,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -737,21 +737,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -765,21 +765,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -793,21 +793,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -821,21 +821,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -849,21 +849,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
@ -877,21 +877,21 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>
<div class="van-cell">
<div class="van-cell__title">
<span>
文本
Text
</span>
</div>
</div>

View File

@ -11,7 +11,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
基础用法
Basic Usage
</span>
</div>
<div role="tab"
@ -19,7 +19,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
错误提示
Error Info
</span>
</div>
<div role="tab"
@ -27,7 +27,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
下拉刷新
PullRefresh
</span>
</div>
<div class="van-tabs__line"
@ -62,7 +62,7 @@ exports[`should render demo and match snapshot 1`] = `
</svg>
</span>
<span class="van-loading__text">
加载中...
Loading...
</span>
</div>
</div>

View File

@ -158,7 +158,7 @@ exports[`should render demo and match snapshot 1`] = `
</svg>
</span>
<span class="van-loading__text">
加载中...
Loading...
</span>
</div>
</div>
@ -179,7 +179,7 @@ exports[`should render demo and match snapshot 1`] = `
</svg>
</span>
<span class="van-loading__text">
加载中...
Loading...
</span>
</div>
</div>

View File

@ -8,15 +8,15 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-arrow-left van-nav-bar__arrow">
</i>
<span class="van-nav-bar__text">
返回
Back
</span>
</div>
<div class="van-nav-bar__title van-ellipsis">
标题
Title
</div>
<div class="van-nav-bar__right">
<span class="van-nav-bar__text">
按钮
Button
</span>
</div>
</div>
@ -29,11 +29,11 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-arrow-left van-nav-bar__arrow">
</i>
<span class="van-nav-bar__text">
返回
Back
</span>
</div>
<div class="van-nav-bar__title van-ellipsis">
标题
Title
</div>
<div class="van-nav-bar__right">
<i class="van-badge__wrapper van-icon van-icon-search"

View File

@ -13,7 +13,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;"
class="van-notice-bar__content"
>
在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。
Technology is the common soul of the people who developed it.
</div>
</div>
</div>
@ -28,7 +28,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;"
class="van-notice-bar__content"
>
技术是开发它的人的共同灵魂。
Some short text.
</div>
</div>
</div>
@ -41,7 +41,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;"
class="van-notice-bar__content van-ellipsis"
>
在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。
Technology is the common soul of the people who developed it.
</div>
</div>
</div>
@ -56,7 +56,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;"
class="van-notice-bar__content"
>
在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。
Technology is the common soul of the people who developed it.
</div>
</div>
</div>
@ -71,7 +71,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;"
class="van-notice-bar__content"
>
技术是开发它的人的共同灵魂。
Some short text.
</div>
</div>
<i class="van-badge__wrapper van-icon van-icon-cross van-notice-bar__right-icon">
@ -86,7 +86,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;"
class="van-notice-bar__content"
>
技术是开发它的人的共同灵魂。
Some short text.
</div>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-notice-bar__right-icon">
@ -106,7 +106,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;"
class="van-notice-bar__content"
>
技术是开发它的人的共同灵魂。
Some short text.
</div>
</div>
</div>
@ -130,17 +130,17 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-swipe-item"
style="height: 0px;"
>
内容 1
Content 1
</div>
<div class="van-swipe-item"
style="height: 0px;"
>
内容 2
Content 2
</div>
<div class="van-swipe-item"
style="height: 0px;"
>
内容 3
Content 3
</div>
</div>
</div>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
基础用法
Basic Usage
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -22,7 +22,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
主要通知
Primary
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -34,7 +34,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
成功通知
Success
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -46,7 +46,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
危险通知
Danger
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -58,7 +58,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
警告通知
Warning
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -72,7 +72,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义颜色
Custom Color
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -84,7 +84,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义时长
Custom Duration
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -98,7 +98,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
组件调用
Component Call
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">

View File

@ -6,7 +6,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0"
>
<div class="van-cell__value van-cell__value--alone">
弹出默认键盘
Show Default Keyboard
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i>
@ -16,7 +16,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0"
>
<div class="van-cell__value van-cell__value--alone">
弹出带右侧栏的键盘
Show Keyboard With Sidebar
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i>
@ -26,7 +26,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0"
>
<div class="van-cell__value van-cell__value--alone">
弹出身份证号键盘
Show IdNumber Keyboard
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i>
@ -36,7 +36,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0"
>
<div class="van-cell__value van-cell__value--alone">
弹出带标题的键盘
Show Keyboard With Title
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i>
@ -46,7 +46,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0"
>
<div class="van-cell__value van-cell__value--alone">
弹出配置多个按键的键盘
Show Keyboard With Multiple ExtraKey
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i>
@ -57,7 +57,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title van-field__label">
<span>
双向绑定
Bind Value
</span>
</div>
<div class="van-cell__value van-field__value">
@ -65,7 +65,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text"
class="van-field__control"
readonly
placeholder="点此输入"
placeholder="Click To Input"
>
</div>
</div>
@ -304,7 +304,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0"
class="van-key van-key--blue van-key--large"
>
完成
Close
</div>
</div>
</div>
@ -319,7 +319,7 @@ exports[`should render demo and match snapshot 1`] = `
<button type="button"
class="van-number-keyboard__close"
>
完成
Close
</button>
</div>
<div class="van-number-keyboard__body">
@ -437,12 +437,12 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-number-keyboard__header">
<h2 class="van-number-keyboard__title">
键盘标题
Keyboard Title
</h2>
<button type="button"
class="van-number-keyboard__close"
>
完成
Close
</button>
</div>
<div class="van-number-keyboard__body">
@ -678,7 +678,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0"
class="van-key van-key--blue van-key--large"
>
完成
Close
</div>
</div>
</div>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
显示遮罩层
Show Overlay
</span>
</div>
</button>
@ -22,7 +22,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
嵌入内容
Embedded Content
</span>
</div>
</button>

View File

@ -4,7 +4,7 @@ exports[`should render demo and match snapshot 1`] = `
<div>
<ul class="van-pagination">
<li class="van-pagination__item van-pagination__item--disabled van-pagination__prev van-hairline">
上一页
Prev
</li>
<li class="van-pagination__item van-pagination__item--active van-pagination__page van-hairline">
1
@ -22,7 +22,7 @@ exports[`should render demo and match snapshot 1`] = `
5
</li>
<li class="van-pagination__item van-pagination__next van-hairline">
下一页
Next
</li>
</ul>
</div>
@ -31,20 +31,20 @@ exports[`should render demo and match snapshot 1`] = `
size="small"
>
<li class="van-pagination__item van-pagination__item--disabled van-pagination__prev van-hairline">
上一页
Prev
</li>
<li class="van-pagination__page-desc">
1/12
</li>
<li class="van-pagination__item van-pagination__next van-hairline">
下一页
Next
</li>
</ul>
</div>
<div>
<ul class="van-pagination">
<li class="van-pagination__item van-pagination__item--disabled van-pagination__prev van-hairline">
上一页
Prev
</li>
<li class="van-pagination__item van-pagination__item--active van-pagination__page van-hairline">
1
@ -59,7 +59,7 @@ exports[`should render demo and match snapshot 1`] = `
...
</li>
<li class="van-pagination__item van-pagination__next van-hairline">
下一页
Next
</li>
</ul>
</div>

View File

@ -145,7 +145,7 @@ exports[`should render demo and match snapshot 1`] = `
</li>
</ul>
<div class="van-password-input__info">
密码为 6 位数字
Some tips
</div>
</div>
</div>

View File

@ -7,15 +7,15 @@ exports[`should render demo and match snapshot 1`] = `
<button type="button"
class="van-picker__cancel"
>
取消
Cancel
</button>
<div class="van-picker__title van-ellipsis">
标题
Title
</div>
<button type="button"
class="van-picker__confirm"
>
确认
Confirm
</button>
</div>
<div class="van-picker__columns"
@ -31,7 +31,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
杭州
Delaware
</div>
</li>
<li role="button"
@ -40,7 +40,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
宁波
Florida
</div>
</li>
<li role="button"
@ -49,7 +49,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
温州
Georqia
</div>
</li>
<li role="button"
@ -58,7 +58,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
绍兴
Indiana
</div>
</li>
<li role="button"
@ -67,34 +67,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
湖州
</div>
</li>
<li role="button"
style="height: 44px;"
tabindex="0"
class="van-picker-column__item"
>
<div class="van-ellipsis">
嘉兴
</div>
</li>
<li role="button"
style="height: 44px;"
tabindex="0"
class="van-picker-column__item"
>
<div class="van-ellipsis">
金华
</div>
</li>
<li role="button"
style="height: 44px;"
tabindex="0"
class="van-picker-column__item"
>
<div class="van-ellipsis">
衢州
Maine
</div>
</li>
</ul>
@ -116,15 +89,15 @@ exports[`should render demo and match snapshot 1`] = `
<button type="button"
class="van-picker__cancel"
>
取消
Cancel
</button>
<div class="van-picker__title van-ellipsis">
标题
Title
</div>
<button type="button"
class="van-picker__confirm"
>
确认
Confirm
</button>
</div>
<div class="van-picker__columns"
@ -140,7 +113,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
杭州
Delaware
</div>
</li>
<li role="button"
@ -149,7 +122,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
宁波
Florida
</div>
</li>
<li role="button"
@ -158,7 +131,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
温州
Georqia
</div>
</li>
<li role="button"
@ -167,7 +140,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
绍兴
Indiana
</div>
</li>
<li role="button"
@ -176,34 +149,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
湖州
</div>
</li>
<li role="button"
style="height: 44px;"
tabindex="0"
class="van-picker-column__item"
>
<div class="van-ellipsis">
嘉兴
</div>
</li>
<li role="button"
style="height: 44px;"
tabindex="0"
class="van-picker-column__item"
>
<div class="van-ellipsis">
金华
</div>
</li>
<li role="button"
style="height: 44px;"
tabindex="0"
class="van-picker-column__item"
>
<div class="van-ellipsis">
衢州
Maine
</div>
</li>
</ul>
@ -225,15 +171,15 @@ exports[`should render demo and match snapshot 1`] = `
<button type="button"
class="van-picker__cancel"
>
取消
Cancel
</button>
<div class="van-picker__title van-ellipsis">
标题
Title
</div>
<button type="button"
class="van-picker__confirm"
>
确认
Confirm
</button>
</div>
<div class="van-picker__columns"
@ -249,7 +195,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
周一
Monday
</div>
</li>
<li role="button"
@ -258,7 +204,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
周二
Tuesday
</div>
</li>
<li role="button"
@ -267,7 +213,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
周三
Wednesday
</div>
</li>
<li role="button"
@ -276,7 +222,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
周四
Thusday
</div>
</li>
<li role="button"
@ -285,7 +231,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
周五
Friday
</div>
</li>
</ul>
@ -300,7 +246,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
上午
Morging
</div>
</li>
<li role="button"
@ -309,7 +255,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
下午
Afternoon
</div>
</li>
<li role="button"
@ -318,7 +264,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
晚上
Evening
</div>
</li>
</ul>
@ -340,15 +286,15 @@ exports[`should render demo and match snapshot 1`] = `
<button type="button"
class="van-picker__cancel"
>
取消
Cancel
</button>
<div class="van-picker__title van-ellipsis">
标题
Title
</div>
<button type="button"
class="van-picker__confirm"
>
确认
Confirm
</button>
</div>
<div class="van-picker__columns"
@ -364,7 +310,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
浙江
Zhejiang
</div>
</li>
<li role="button"
@ -373,7 +319,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
福建
Fujian
</div>
</li>
</ul>
@ -388,7 +334,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
杭州
Hangzhou
</div>
</li>
<li role="button"
@ -397,7 +343,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
温州
Wenzhou
</div>
</li>
</ul>
@ -412,7 +358,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
西湖区
Xihu
</div>
</li>
<li role="button"
@ -421,7 +367,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
余杭区
Yuhang
</div>
</li>
</ul>
@ -443,15 +389,15 @@ exports[`should render demo and match snapshot 1`] = `
<button type="button"
class="van-picker__cancel"
>
取消
Cancel
</button>
<div class="van-picker__title van-ellipsis">
标题
Title
</div>
<button type="button"
class="van-picker__confirm"
>
确认
Confirm
</button>
</div>
<div class="van-picker__columns"
@ -467,7 +413,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--disabled"
>
<div class="van-ellipsis">
杭州
Delaware
</div>
</li>
<li role="button"
@ -476,7 +422,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
宁波
Florida
</div>
</li>
<li role="button"
@ -485,7 +431,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
温州
Georqia
</div>
</li>
</ul>
@ -507,15 +453,15 @@ exports[`should render demo and match snapshot 1`] = `
<button type="button"
class="van-picker__cancel"
>
取消
Cancel
</button>
<div class="van-picker__title van-ellipsis">
标题
Title
</div>
<button type="button"
class="van-picker__confirm"
>
确认
Confirm
</button>
</div>
<div class="van-picker__columns"
@ -531,7 +477,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
浙江
Group1
</div>
</li>
<li role="button"
@ -540,7 +486,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
福建
Group2
</div>
</li>
</ul>
@ -555,7 +501,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
杭州
Delaware
</div>
</li>
<li role="button"
@ -564,7 +510,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
宁波
Florida
</div>
</li>
<li role="button"
@ -573,7 +519,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
温州
Georqia
</div>
</li>
<li role="button"
@ -582,7 +528,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
嘉兴
Indiana
</div>
</li>
<li role="button"
@ -591,7 +537,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
湖州
Maine
</div>
</li>
</ul>
@ -613,15 +559,15 @@ exports[`should render demo and match snapshot 1`] = `
<button type="button"
class="van-picker__cancel"
>
取消
Cancel
</button>
<div class="van-picker__title van-ellipsis">
标题
Title
</div>
<button type="button"
class="van-picker__confirm"
>
确认
Confirm
</button>
</div>
<div class="van-loading van-loading--circular van-picker__loading">
@ -651,7 +597,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
浙江
Group1
</div>
</li>
<li role="button"
@ -660,7 +606,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
福建
Group2
</div>
</li>
</ul>
@ -675,7 +621,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
杭州
Delaware
</div>
</li>
<li role="button"
@ -684,7 +630,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
宁波
Florida
</div>
</li>
<li role="button"
@ -693,7 +639,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item van-picker-column__item--selected"
>
<div class="van-ellipsis">
温州
Georqia
</div>
</li>
<li role="button"
@ -702,7 +648,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
嘉兴
Indiana
</div>
</li>
<li role="button"
@ -711,7 +657,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-picker-column__item"
>
<div class="van-ellipsis">
湖州
Maine
</div>
</li>
</ul>
@ -734,7 +680,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title van-field__label">
<span>
城市
City
</span>
</div>
<div class="van-cell__value van-field__value">
@ -742,7 +688,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text"
class="van-field__control"
readonly
placeholder="选择城市"
placeholder="Choose City"
>
</div>
</div>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
浅色风格
Light Theme
</span>
</div>
</button>
@ -19,7 +19,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
深色风格
Dark Theme
</span>
</div>
</button>
@ -32,7 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title van-field__label">
<span>
选择弹出位置
Placement
</span>
</div>
<div class="van-cell__value van-field__value">
@ -59,7 +59,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
展示图标
Show Icon
</span>
</div>
</button>
@ -70,7 +70,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
禁用选项
Disable Action
</span>
</div>
</button>
@ -83,7 +83,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
自定义内容
Custom Content
</span>
</div>
</button>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
展示弹出层
Show Popup
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -26,7 +26,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
顶部弹出
From Top
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -38,7 +38,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
底部弹出
From Bottom
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -50,7 +50,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
左侧弹出
From Left
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -62,7 +62,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
右侧弹出
From Right
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -92,7 +92,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
关闭图标
Close Icon
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -104,7 +104,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义图标
Custom Icon
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -116,7 +116,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
图标位置
Icon Position
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -142,7 +142,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
圆角弹窗
Round Corner
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -160,7 +160,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
指定挂载节点
Get Container
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">

View File

@ -50,7 +50,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="left: 0px; background: rgb(242, 130, 106);"
class="van-progress__pivot"
>
橙色
Orange
</span>
</span>
</div>
@ -61,7 +61,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="left: 0px; background: rgb(238, 10, 36);"
class="van-progress__pivot"
>
红色
Red
</span>
</span>
</div>
@ -72,7 +72,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="left: 0px; background: rgb(114, 50, 221);"
class="van-progress__pivot"
>
紫色
Purple
</span>
</span>
</div>

View File

@ -11,7 +11,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
基础用法
Basic Usage
</span>
</div>
<div role="tab"
@ -19,7 +19,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
成功提示
Success Tip
</span>
</div>
<div role="tab"
@ -27,7 +27,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
自定义提示
Custom Tips
</span>
</div>
<div class="van-tabs__line"
@ -48,7 +48,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-pull-refresh__head">
</div>
<p>
下拉试试
Try it down
</p>
</div>
</div>

View File

@ -15,7 +15,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 1
Radio 1
</span>
</div>
<div role="radio"
@ -28,7 +28,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 2
Radio 2
</span>
</div>
</div>
@ -47,7 +47,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 1
Radio 1
</span>
</div>
<div role="radio"
@ -60,7 +60,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 2
Radio 2
</span>
</div>
</div>
@ -79,7 +79,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label van-radio__label--disabled">
单选框 1
Radio 1
</span>
</div>
<div role="radio"
@ -92,7 +92,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label van-radio__label--disabled">
单选框 2
Radio 2
</span>
</div>
</div>
@ -111,7 +111,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 1
Radio 1
</span>
</div>
<div role="radio"
@ -124,7 +124,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 2
Radio 2
</span>
</div>
</div>
@ -145,7 +145,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 1
Radio 1
</span>
</div>
<div role="radio"
@ -158,7 +158,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 2
Radio 2
</span>
</div>
</div>
@ -181,7 +181,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 1
Radio 1
</span>
</div>
<div role="radio"
@ -196,7 +196,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 2
Radio 2
</span>
</div>
</div>
@ -214,7 +214,7 @@ exports[`should render demo and match snapshot 1`] = `
<img src="https://img.yzcdn.cn/vant/user-active.png">
</div>
<span class="van-radio__label">
单选框 1
Radio 1
</span>
</div>
<div role="radio"
@ -226,7 +226,7 @@ exports[`should render demo and match snapshot 1`] = `
<img src="https://img.yzcdn.cn/vant/user-inactive.png">
</div>
<span class="van-radio__label">
单选框 2
Radio 2
</span>
</div>
</div>
@ -245,7 +245,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 1
Radio 1
</span>
</div>
<div role="radio"
@ -258,7 +258,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-radio__label">
单选框 2
Radio 2
</span>
</div>
</div>
@ -274,7 +274,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
单选框1
Radio1
</span>
</div>
<div role="radio"
@ -294,7 +294,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
单选框2
Radio2
</span>
</div>
<div role="radio"

View File

@ -13,7 +13,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-field__body">
<input type="search"
class="van-field__control"
placeholder="请输入搜索关键词"
placeholder="Placeholder"
>
</div>
</div>
@ -34,7 +34,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-field__body">
<input type="search"
class="van-field__control"
placeholder="请输入搜索关键词"
placeholder="Placeholder"
>
</div>
</div>
@ -44,7 +44,7 @@ exports[`should render demo and match snapshot 1`] = `
role="button"
tabindex="0"
>
取消
Cancel
</div>
</div>
</form>
@ -61,7 +61,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-field__body">
<input type="search"
class="van-field__control van-field__control--center"
placeholder="请输入搜索关键词"
placeholder="Placeholder"
>
</div>
</div>
@ -82,7 +82,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="search"
class="van-field__control"
disabled
placeholder="请输入搜索关键词"
placeholder="Placeholder"
>
</div>
</div>
@ -104,7 +104,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-field__body">
<input type="search"
class="van-field__control"
placeholder="请输入搜索关键词"
placeholder="Placeholder"
>
</div>
</div>
@ -116,7 +116,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-search van-search--show-action">
<div class="van-search__content van-search__content--square">
<div class="van-search__label">
地址
Address
</div>
<div class="van-cell van-cell--borderless van-field">
<div class="van-field__left-icon">
@ -127,7 +127,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-field__body">
<input type="search"
class="van-field__control"
placeholder="请输入搜索关键词"
placeholder="Placeholder"
>
</div>
</div>
@ -138,7 +138,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0"
>
<div>
搜索
Search
</div>
</div>
</div>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
显示分享面板
Show ShareSheet
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -26,7 +26,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
显示分享面板
Show ShareSheet
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -44,7 +44,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
显示分享面板
Show ShareSheet
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -62,7 +62,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
显示分享面板
Show ShareSheet
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">

View File

@ -7,22 +7,22 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-grid-item__content van-grid-item__content--center">
<h3 class="demo-sidebar-title">
基础用法
Basic Usage
</h3>
<div class="van-sidebar">
<a class="van-sidebar-item van-sidebar-item--select">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名
Title
</div>
</a>
<a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名
Title
</div>
</a>
<a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名
Title
</div>
</a>
</div>
@ -33,19 +33,19 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-grid-item__content van-grid-item__content--center">
<h3 class="demo-sidebar-title">
徽标提示
Show Badge
</h3>
<div class="van-sidebar">
<a class="van-sidebar-item van-sidebar-item--select">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名
Title
<div class="van-badge van-badge--dot van-badge--fixed">
</div>
</div>
</a>
<a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名
Title
<div class="van-badge van-badge--fixed">
5
</div>
@ -53,7 +53,7 @@ exports[`should render demo and match snapshot 1`] = `
</a>
<a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名
Title
<div class="van-badge van-badge--fixed">
99+
</div>
@ -67,22 +67,22 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-grid-item__content van-grid-item__content--center">
<h3 class="demo-sidebar-title">
禁用选项
Disabled
</h3>
<div class="van-sidebar">
<a class="van-sidebar-item van-sidebar-item--select">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名
Title
</div>
</a>
<a class="van-sidebar-item van-sidebar-item--disabled">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名
Title
</div>
</a>
<a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名
Title
</div>
</a>
</div>
@ -93,22 +93,22 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-grid-item__content van-grid-item__content--center">
<h3 class="demo-sidebar-title">
监听切换事件
Change Event
</h3>
<div class="van-sidebar">
<a class="van-sidebar-item van-sidebar-item--select">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名1
Title1
</div>
</a>
<a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名2
Title2
</div>
</a>
<a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text">
标签名3
Title3
</div>
</a>
</div>

View File

@ -4,7 +4,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
基础用法
Basic Usage
</span>
</div>
<div class="van-cell__value">
@ -31,7 +31,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
步长设置
Step
</span>
</div>
<div class="van-cell__value">
@ -58,7 +58,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
限制输入范围
Range
</span>
</div>
<div class="van-cell__value">
@ -85,7 +85,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
限制输入整数
Integer
</span>
</div>
<div class="van-cell__value">
@ -112,7 +112,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
禁用状态
Disabled
</span>
</div>
<div class="van-cell__value">
@ -140,7 +140,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
禁用输入框
Disable Input
</span>
</div>
<div class="van-cell__value">
@ -168,7 +168,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
固定小数位数
Decimal Length
</span>
</div>
<div class="van-cell__value">
@ -195,7 +195,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
自定义大小
Custom Size
</span>
</div>
<div class="van-cell__value">
@ -225,7 +225,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
异步变更
Async Change
</span>
</div>
<div class="van-cell__value">
@ -252,7 +252,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
圆角风格
Round Theme
</span>
</div>
<div class="van-cell__value">

View File

@ -6,7 +6,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-steps__items">
<div class="van-hairline van-step van-step--horizontal van-step--finish">
<div class="van-step__title">
买家下单
Step1
</div>
<div class="van-step__circle-container">
<i class="van-step__circle">
@ -17,7 +17,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-hairline van-step van-step--horizontal van-step--process">
<div class="van-step__title van-step__title--active">
商家接单
Step2
</div>
<div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-checked van-step__icon van-step__icon--active">
@ -28,7 +28,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-step__title">
买家提货
Step3
</div>
<div class="van-step__circle-container">
<i class="van-step__circle">
@ -39,7 +39,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-step__title">
交易完成
Step4
</div>
<div class="van-step__circle-container">
<i class="van-step__circle">
@ -55,7 +55,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
下一步
Next Step
</span>
</div>
</button>
@ -65,7 +65,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-steps__items">
<div class="van-hairline van-step van-step--horizontal van-step--finish">
<div class="van-step__title">
买家下单
Step1
</div>
<div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-arrow van-step__icon">
@ -80,7 +80,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-step__title van-step__title--active"
style="color: rgb(51, 136, 255);"
>
商家接单
Step2
</div>
<div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-success van-step__icon van-step__icon--active"
@ -93,7 +93,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-step__title">
买家提货
Step3
</div>
<div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-arrow van-step__icon">
@ -104,7 +104,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-step__title">
交易完成
Step4
</div>
<div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-arrow van-step__icon">
@ -122,7 +122,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-hairline van-step van-step--vertical van-step--process">
<div class="van-step__title van-step__title--active">
<h3>
城市】物流状态1
City】Status1
</h3>
<p>
2016-07-12 12:40
@ -138,7 +138,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-hairline van-step van-step--vertical">
<div class="van-step__title">
<h3>
城市】物流状态
City】Status2
</h3>
<p>
2016-07-11 10:00
@ -154,7 +154,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-hairline van-step van-step--vertical">
<div class="van-step__title">
<h3>
快件已发货
【City】Status3
</h3>
<p>
2016-07-10 09:30

View File

@ -10,7 +10,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
基础用法
Basic Usage
</span>
</div>
</button>
@ -26,7 +26,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
吸顶距离
Offset Top
</span>
</div>
</button>
@ -43,7 +43,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
指定容器
Set Container
</span>
</div>
</button>

View File

@ -6,7 +6,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-submit-bar__bar">
<div class="van-submit-bar__text">
<span>
合计
Total
</span>
<span class="van-submit-bar__price">
¥
@ -21,7 +21,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
提交订单
Submit
</span>
</div>
</button>
@ -34,13 +34,13 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-info-o van-submit-bar__tip-icon">
</i>
<span class="van-submit-bar__tip-text">
你的收货地址不支持同城送, 我们已为你推荐快递
Some tips
</span>
</div>
<div class="van-submit-bar__bar">
<div class="van-submit-bar__text">
<span>
合计
Total
</span>
<span class="van-submit-bar__price">
¥
@ -56,7 +56,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
提交订单
Submit
</span>
</div>
</button>
@ -68,7 +68,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-submit-bar__bar">
<div class="van-submit-bar__text">
<span>
合计
Total
</span>
<span class="van-submit-bar__price">
¥
@ -106,9 +106,9 @@ exports[`should render demo and match snapshot 1`] = `
<div>
<div class="van-submit-bar">
<div class="van-submit-bar__tip">
你的收货地址不支持同城送,
Some tips,
<span class="edit-address">
修改地址
Link
</span>
</div>
<div class="van-submit-bar__bar">
@ -122,12 +122,12 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<span class="van-checkbox__label">
全选
Label
</span>
</div>
<div class="van-submit-bar__text">
<span>
合计
Total
</span>
<span class="van-submit-bar__price">
¥
@ -142,7 +142,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
提交订单
Submit
</span>
</div>
</button>

View File

@ -12,7 +12,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
选择
Select
</span>
</div>
</button>
@ -20,12 +20,12 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--borderless">
<div class="van-cell__title">
<span>
单元格
Cell
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>
@ -35,7 +35,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
删除
Delete
</span>
</div>
</button>
@ -44,7 +44,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
收藏
Collect
</span>
</div>
</button>
@ -76,10 +76,10 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-card__content">
<div>
<div class="van-card__title van-multi-ellipsis--l2">
商品标题
Title
</div>
<div class="van-card__desc van-ellipsis">
描述信息
Description
</div>
</div>
<div class="van-card__bottom">
@ -110,7 +110,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
删除
Delete
</span>
</div>
</button>
@ -129,7 +129,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
选择
Select
</span>
</div>
</button>
@ -137,12 +137,12 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--borderless">
<div class="van-cell__title">
<span>
单元格
Cell
</span>
</div>
<div class="van-cell__value">
<span>
内容
Content
</span>
</div>
</div>
@ -152,7 +152,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-button__content">
<span class="van-button__text">
删除
Delete
</span>
</div>
</button>

View File

@ -75,7 +75,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-cell--center">
<div class="van-cell__title">
<span>
标题
Title
</span>
</div>
<div role="switch"

View File

@ -12,7 +12,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -20,7 +20,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -28,7 +28,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 3
Tab 3
</span>
</div>
<div role="tab"
@ -36,7 +36,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 4
Tab 4
</span>
</div>
<div class="van-tabs__line"
@ -60,7 +60,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-tab__pane"
style
>
内容 3
content of tab 3
</div>
<div role="tabpanel"
class="van-tab__pane"
@ -81,7 +81,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -89,7 +89,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -97,7 +97,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 3
Tab 3
</span>
</div>
<div class="van-tabs__line"
@ -116,7 +116,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-tab__pane"
style
>
内容 2
content of tab 2
</div>
<div role="tabpanel"
class="van-tab__pane"
@ -137,7 +137,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -145,7 +145,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -153,7 +153,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 3
Tab 3
</span>
</div>
<div role="tab"
@ -161,7 +161,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 4
Tab 4
</span>
</div>
<div role="tab"
@ -169,7 +169,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 5
Tab 5
</span>
</div>
<div role="tab"
@ -177,7 +177,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 6
Tab 6
</span>
</div>
<div role="tab"
@ -185,7 +185,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 7
Tab 7
</span>
</div>
<div role="tab"
@ -193,7 +193,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 8
Tab 8
</span>
</div>
<div class="van-tabs__line"
@ -207,7 +207,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-tab__pane"
style
>
内容 1
content of tab 1
</div>
<div role="tabpanel"
class="van-tab__pane"
@ -258,7 +258,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -266,7 +266,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -274,7 +274,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 3
Tab 3
</span>
</div>
<div class="van-tabs__line"
@ -288,7 +288,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-tab__pane"
style
>
内容 1
content of tab 1
</div>
<div role="tabpanel"
class="van-tab__pane"
@ -314,7 +314,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -322,7 +322,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -330,7 +330,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 3
Tab 3
</span>
</div>
</div>
@ -340,7 +340,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-tab__pane"
style
>
内容 1
content of tab 1
</div>
<div role="tabpanel"
class="van-tab__pane"
@ -366,7 +366,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -374,7 +374,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 2
Tab 2
</span>
</div>
<div class="van-tabs__line"
@ -388,7 +388,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-tab__pane"
style
>
内容 1
content of tab 1
</div>
<div role="tabpanel"
class="van-tab__pane"
@ -411,7 +411,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -419,7 +419,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -427,7 +427,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 3
Tab 3
</span>
</div>
<div role="tab"
@ -435,7 +435,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 4
Tab 4
</span>
</div>
<div class="van-tabs__line"
@ -461,7 +461,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-tab__pane"
style
>
内容 3
content of tab 3
</div>
<div role="tabpanel"
class="van-tab__pane"
@ -484,7 +484,7 @@ exports[`should render demo and match snapshot 1`] = `
<span class="van-tab__text van-tab__text--ellipsis">
<i class="van-badge__wrapper van-icon van-icon-more-o">
</i>
标签
Tab
</span>
</div>
<div role="tab"
@ -494,7 +494,7 @@ exports[`should render demo and match snapshot 1`] = `
<span class="van-tab__text van-tab__text--ellipsis">
<i class="van-badge__wrapper van-icon van-icon-more-o">
</i>
标签
Tab
</span>
</div>
<div class="van-tabs__line"
@ -508,7 +508,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-tab__pane"
style
>
内容 1
content of tab 1
</div>
<div role="tabpanel"
class="van-tab__pane"
@ -529,7 +529,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -537,7 +537,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -545,7 +545,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 3
Tab 3
</span>
</div>
<div role="tab"
@ -553,7 +553,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 4
Tab 4
</span>
</div>
<div class="van-tabs__line"
@ -573,7 +573,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-hidden="false"
>
<div class="van-tab__pane">
内容 1
content of tab 1
</div>
</div>
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
@ -582,7 +582,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-hidden="true"
>
<div class="van-tab__pane">
内容 2
content of tab 2
</div>
</div>
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
@ -613,7 +613,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -621,7 +621,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -629,7 +629,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 3
Tab 3
</span>
</div>
<div role="tab"
@ -637,7 +637,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 4
Tab 4
</span>
</div>
<div class="van-tabs__line"
@ -657,7 +657,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-hidden="true"
>
<div class="van-tab__pane">
内容 1
content of tab 1
</div>
</div>
<div class="van-swipe-item van-tab__pane-wrapper van-tab__pane-wrapper--inactive"
@ -666,7 +666,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-hidden="true"
>
<div class="van-tab__pane">
内容 2
content of tab 2
</div>
</div>
<div class="van-swipe-item van-tab__pane-wrapper"
@ -699,7 +699,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -707,7 +707,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -715,7 +715,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 3
Tab 3
</span>
</div>
<div role="tab"
@ -723,7 +723,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 4
Tab 4
</span>
</div>
<div role="tab"
@ -731,7 +731,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 5
Tab 5
</span>
</div>
<div role="tab"
@ -739,7 +739,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 6
Tab 6
</span>
</div>
<div role="tab"
@ -747,7 +747,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 7
Tab 7
</span>
</div>
<div role="tab"
@ -755,7 +755,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text">
标签 8
Tab 8
</span>
</div>
<div class="van-tabs__line"
@ -770,42 +770,42 @@ exports[`should render demo and match snapshot 1`] = `
<div role="tabpanel"
class="van-tab__pane"
>
内容 1
content of tab 1
</div>
<div role="tabpanel"
class="van-tab__pane"
>
内容 2
content of tab 2
</div>
<div role="tabpanel"
class="van-tab__pane"
>
内容 3
content of tab 3
</div>
<div role="tabpanel"
class="van-tab__pane"
>
内容 4
content of tab 4
</div>
<div role="tabpanel"
class="van-tab__pane"
>
内容 5
content of tab 5
</div>
<div role="tabpanel"
class="van-tab__pane"
>
内容 6
content of tab 6
</div>
<div role="tabpanel"
class="van-tab__pane"
>
内容 7
content of tab 7
</div>
<div role="tabpanel"
class="van-tab__pane"
>
内容 8
content of tab 8
</div>
</div>
</div>
@ -821,7 +821,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 1
Tab 1
</span>
</div>
<div role="tab"
@ -829,7 +829,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 2
Tab 2
</span>
</div>
<div role="tab"
@ -837,7 +837,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 3
Tab 3
</span>
</div>
<div role="tab"
@ -845,7 +845,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false"
>
<span class="van-tab__text van-tab__text--ellipsis">
标签 4
Tab 4
</span>
</div>
<div class="van-tabs__line"
@ -859,7 +859,7 @@ exports[`should render demo and match snapshot 1`] = `
class="van-tab__pane"
style
>
内容 1
content of tab 1
</div>
<div role="tabpanel"
class="van-tab__pane"

View File

@ -9,7 +9,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -18,7 +18,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -27,7 +27,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -36,7 +36,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
</div>
@ -49,7 +49,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -58,7 +58,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -67,7 +67,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -76,7 +76,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
</div>
@ -89,7 +89,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -100,7 +100,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -112,7 +112,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -124,7 +124,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
</div>
@ -140,7 +140,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-tabbar-item__text">
<span>
自定义
Custom
</span>
</div>
</div>
@ -150,7 +150,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item">
@ -159,7 +159,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
</div>
@ -174,7 +174,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item"
@ -185,7 +185,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item"
@ -196,7 +196,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
<div class="van-tabbar-item"
@ -207,7 +207,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签
Tab
</div>
</div>
</div>
@ -220,7 +220,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签1
Tab1
</div>
</div>
<div class="van-tabbar-item">
@ -229,7 +229,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签2
Tab2
</div>
</div>
<div class="van-tabbar-item">
@ -238,7 +238,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签3
Tab3
</div>
</div>
<div class="van-tabbar-item">
@ -247,7 +247,7 @@ exports[`should render demo and match snapshot 1`] = `
</i>
</div>
<div class="van-tabbar-item__text">
标签4
Tab4
</div>
</div>
</div>

View File

@ -5,13 +5,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
primary 类型
primary
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--primary">
标签
Tag
</span>
</transition-stub>
</div>
@ -19,13 +19,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
success 类型
success
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--success">
标签
Tag
</span>
</transition-stub>
</div>
@ -33,13 +33,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
danger 类型
danger
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--danger">
标签
Tag
</span>
</transition-stub>
</div>
@ -47,13 +47,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
warning 类型
warning
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--warning">
标签
Tag
</span>
</transition-stub>
</div>
@ -63,13 +63,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
空心样式
Plain style
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--plain van-tag--primary">
标签
Tag
</span>
</transition-stub>
</div>
@ -77,13 +77,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
圆角样式
Round style
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--round van-tag--primary">
标签
Tag
</span>
</transition-stub>
</div>
@ -91,13 +91,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
标记样式
Mark style
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--mark van-tag--primary">
标签
Tag
</span>
</transition-stub>
</div>
@ -105,13 +105,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
可关闭标签
Closeable
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--medium van-tag--primary">
标签
Tag
<i class="van-badge__wrapper van-icon van-icon-cross van-tag__close">
</i>
</span>
@ -123,13 +123,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
小号标签
Small Size
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--primary">
标签
Tag
</span>
</transition-stub>
</div>
@ -137,13 +137,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
中号标签
Medium Size
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--medium van-tag--primary">
标签
Tag
</span>
</transition-stub>
</div>
@ -151,13 +151,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
大号标签
Large Size
</span>
</div>
<div class="van-cell__value">
<transition-stub>
<span class="van-tag van-tag--large van-tag--primary">
标签
Tag
</span>
</transition-stub>
</div>
@ -167,7 +167,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
背景颜色
Background Color
</span>
</div>
<div class="van-cell__value">
@ -175,7 +175,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="background: rgb(114, 50, 221);"
class="van-tag van-tag--default"
>
标签
Tag
</span>
</transition-stub>
</div>
@ -183,7 +183,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
文字颜色
Text Color
</span>
</div>
<div class="van-cell__value">
@ -191,7 +191,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="color: rgb(173, 0, 0); background: rgb(255, 225, 225);"
class="van-tag van-tag--default"
>
标签
Tag
</span>
</transition-stub>
</div>
@ -199,7 +199,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
空心颜色
Plain Color
</span>
</div>
<div class="van-cell__value">
@ -207,7 +207,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="color: rgb(114, 50, 221);"
class="van-tag van-tag--plain van-tag--default"
>
标签
Tag
</span>
</transition-stub>
</div>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
文字提示
Text
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -20,7 +20,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
加载提示
Loading
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -32,7 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
成功提示
Success
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -44,7 +44,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
失败提示
Fail
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -58,7 +58,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义图标
Custom Icon
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -70,7 +70,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义图片
Custom Image
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -82,7 +82,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
自定义加载图标
Loading Type
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -96,7 +96,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
顶部展示
Top
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -108,7 +108,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
底部展示
Bottom
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
@ -122,7 +122,7 @@ exports[`should render demo and match snapshot 1`] = `
>
<div class="van-cell__title">
<span>
动态更新提示
Update Message
</span>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">

View File

@ -8,34 +8,34 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-sidebar van-tree-select__nav">
<a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
浙江
Group 1
</div>
</a>
<a class="van-sidebar-item van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
江苏
Group 2
</div>
</a>
<a class="van-sidebar-item van-sidebar-item--disabled van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
福建
Group 3
</div>
</a>
</div>
<div class="van-tree-select__content">
<div class="van-ellipsis van-tree-select__item van-tree-select__item--active">
杭州
Delaware
<i class="van-badge__wrapper van-icon van-icon-success van-tree-select__selected">
</i>
</div>
<div class="van-ellipsis van-tree-select__item">
温州
Florida
</div>
<div class="van-ellipsis van-tree-select__item van-tree-select__item--disabled">
宁波
Georqia
</div>
<div class="van-ellipsis van-tree-select__item">
义乌
Indiana
</div>
</div>
</div>
@ -47,36 +47,36 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-sidebar van-tree-select__nav">
<a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
浙江
Group 1
</div>
</a>
<a class="van-sidebar-item van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
江苏
Group 2
</div>
</a>
<a class="van-sidebar-item van-sidebar-item--disabled van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
福建
Group 3
</div>
</a>
</div>
<div class="van-tree-select__content">
<div class="van-ellipsis van-tree-select__item van-tree-select__item--active">
杭州
Delaware
<i class="van-badge__wrapper van-icon van-icon-success van-tree-select__selected">
</i>
</div>
<div class="van-ellipsis van-tree-select__item van-tree-select__item--active">
温州
Florida
<i class="van-badge__wrapper van-icon van-icon-success van-tree-select__selected">
</i>
</div>
<div class="van-ellipsis van-tree-select__item van-tree-select__item--disabled">
宁波
Georqia
</div>
<div class="van-ellipsis van-tree-select__item">
义乌
Indiana
</div>
</div>
</div>
@ -88,12 +88,12 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-sidebar van-tree-select__nav">
<a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
分组 1
Group 1
</div>
</a>
<a class="van-sidebar-item van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
分组 2
Group 2
</div>
</a>
</div>
@ -113,14 +113,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-sidebar van-tree-select__nav">
<a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
浙江
Group 1
<div class="van-badge van-badge--dot van-badge--fixed">
</div>
</div>
</a>
<a class="van-sidebar-item van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text">
江苏
Group 2
<div class="van-badge van-badge--fixed">
5
</div>
@ -129,18 +129,18 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-tree-select__content">
<div class="van-ellipsis van-tree-select__item van-tree-select__item--active">
杭州
Delaware
<i class="van-badge__wrapper van-icon van-icon-success van-tree-select__selected">
</i>
</div>
<div class="van-ellipsis van-tree-select__item">
温州
Florida
</div>
<div class="van-ellipsis van-tree-select__item van-tree-select__item--disabled">
宁波
Georqia
</div>
<div class="van-ellipsis van-tree-select__item">
义乌
Indiana
</div>
</div>
</div>

View File

@ -92,7 +92,7 @@ exports[`should render demo and match snapshot 1`] = `
</span>
</div>
<div class="van-uploader__mask-message">
上传中...
Uploading...
</div>
</div>
</div>
@ -111,7 +111,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-close van-uploader__mask-icon">
</i>
<div class="van-uploader__mask-message">
上传失败
Failed
</div>
</div>
<div class="van-uploader__preview-delete">
@ -203,7 +203,7 @@ exports[`should render demo and match snapshot 1`] = `
<i class="van-badge__wrapper van-icon van-icon-plus van-button__icon">
</i>
<span class="van-button__text">
上传文件
Upload File
</span>
</div>
</button>
@ -230,7 +230,7 @@ exports[`should render demo and match snapshot 1`] = `
</div>
<div class="van-uploader__preview-cover">
<div class="preview-cover van-ellipsis">
图片名称
Image Name
</div>
</div>
</div>

View File

@ -1,8 +1,11 @@
import { h } from 'vue';
import Locale from '../src/locale';
import enUS from '../src/locale/lang/en-US';
import { mount, later } from '.';
import { DemoLocaleMixin } from '../docs/site/demo-locale';
Locale.use('en-US', enUS);
const EmptyComponent = {
render() {
return h('div', [(this as any).$slots.default()]);