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

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
基础用法 Basic Usage
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
展示取消按钮 Show Cancel Button
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
展示描述信息 Show Description
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
选项状态 Option Status
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
自定义面板 Custom Panel
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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 van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
姓名 Name
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="收货人姓名" placeholder="Name"
> >
</div> </div>
</div> </div>
@ -22,14 +22,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
电话 Phone
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="tel" <input type="tel"
class="van-field__control" class="van-field__control"
placeholder="收货人手机号" placeholder="Phone"
> >
</div> </div>
</div> </div>
@ -40,7 +40,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
地区 Area
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -48,7 +48,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
readonly readonly
placeholder="选择省 / 市 / 区" placeholder="Area"
> >
<div class="van-field__right-icon"> <div class="van-field__right-icon">
<i class="van-badge__wrapper van-icon van-icon-arrow"> <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 van-field van-address-edit-detail">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
详细地址 Address
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<textarea rows="1" <textarea rows="1"
class="van-field__control" class="van-field__control"
placeholder="街道门牌、楼层房间号等信息" placeholder="Address"
style="height: auto;" style="height: auto;"
> >
</textarea> </textarea>
@ -77,14 +77,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
邮政编码 Postal
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="tel" <input type="tel"
class="van-field__control" class="van-field__control"
placeholder="邮政编码" placeholder="Postal"
> >
</div> </div>
</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 van-cell--center van-address-edit__default">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
设为默认收货地址 Set as the default address
</span> </span>
</div> </div>
<div role="switch" <div role="switch"
@ -111,7 +111,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
保存 Save
</span> </span>
</div> </div>
</button> </button>
@ -120,7 +120,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
删除 Delete
</span> </span>
</div> </div>
</button> </button>

View File

@ -22,15 +22,15 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
<span class="van-radio__label"> <span class="van-radio__label">
<div class="van-address-item__name"> <div class="van-address-item__name">
张三 13000000000 John Snow 13000000000
<transition-stub class="van-address-item__tag"> <transition-stub class="van-address-item__tag">
<span class="van-tag van-tag--round van-tag--danger"> <span class="van-tag van-tag--round van-tag--danger">
默认 Default
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
<div class="van-address-item__address"> <div class="van-address-item__address">
浙江省杭州市西湖区文三路 138 号东方通信大厦 7 楼 501 室 Somewhere
</div> </div>
</span> </span>
</div> </div>
@ -55,10 +55,10 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
<span class="van-radio__label"> <span class="van-radio__label">
<div class="van-address-item__name"> <div class="van-address-item__name">
李四 1310000000 Ned Stark 1310000000
</div> </div>
<div class="van-address-item__address"> <div class="van-address-item__address">
浙江省杭州市拱墅区莫干山路 50 号 Somewhere
</div> </div>
</span> </span>
</div> </div>
@ -69,16 +69,16 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
</div> </div>
<div class="van-address-list__disabled-text"> <div class="van-address-list__disabled-text">
以下地址超出配送范围 The following address is out of range
</div> </div>
<div class="van-address-item van-address-item--disabled"> <div class="van-address-item van-address-item--disabled">
<div class="van-cell van-cell--borderless"> <div class="van-cell van-cell--borderless">
<div class="van-cell__value van-cell__value--alone van-address-item__value"> <div class="van-cell__value van-cell__value--alone van-address-item__value">
<div class="van-address-item__name"> <div class="van-address-item__name">
王五 1320000000 Tywin 1320000000
</div> </div>
<div class="van-address-item__address"> <div class="van-address-item__address">
浙江省杭州市滨江区江南大道 15 号 Somewhere
</div> </div>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-edit van-address-item__edit"> <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"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
新增地址 Add new address
</span> </span>
</div> </div>
</button> </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"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
主要按钮 Primary
</span> </span>
</div> </div>
</button> </button>
@ -17,7 +17,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
成功按钮 Success
</span> </span>
</div> </div>
</button> </button>
@ -26,7 +26,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
默认按钮 Default
</span> </span>
</div> </div>
</button> </button>
@ -36,7 +36,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
危险按钮 Danger
</span> </span>
</div> </div>
</button> </button>
@ -45,7 +45,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
警告按钮 Warning
</span> </span>
</div> </div>
</button> </button>
@ -56,7 +56,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
朴素按钮 Plain
</span> </span>
</div> </div>
</button> </button>
@ -65,7 +65,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
朴素按钮 Plain
</span> </span>
</div> </div>
</button> </button>
@ -76,7 +76,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
细边框按钮 Hairline
</span> </span>
</div> </div>
</button> </button>
@ -85,7 +85,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
细边框按钮 Hairline
</span> </span>
</div> </div>
</button> </button>
@ -97,7 +97,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
禁用状态 Disabled
</span> </span>
</div> </div>
</button> </button>
@ -107,7 +107,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
禁用状态 Disabled
</span> </span>
</div> </div>
</button> </button>
@ -192,7 +192,7 @@ exports[`should render demo and match snapshot 1`] = `
</span> </span>
</div> </div>
<span class="van-button__text"> <span class="van-button__text">
加载中... Loading...
</span> </span>
</div> </div>
</button> </button>
@ -203,7 +203,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
方形按钮 Square
</span> </span>
</div> </div>
</button> </button>
@ -212,7 +212,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
圆形按钮 Round
</span> </span>
</div> </div>
</button> </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 class="van-badge__wrapper van-icon van-icon-plus van-button__icon">
</i> </i>
<span class="van-button__text"> <span class="van-button__text">
按钮 Button
</span> </span>
</div> </div>
</button> </button>
@ -247,7 +247,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
</i> </i>
<span class="van-button__text"> <span class="van-button__text">
按钮 Button
</span> </span>
</div> </div>
</button> </button>
@ -258,7 +258,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
大号按钮 Large
</span> </span>
</div> </div>
</button> </button>
@ -267,7 +267,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
普通按钮 Normal
</span> </span>
</div> </div>
</button> </button>
@ -276,7 +276,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
小型按钮 Small
</span> </span>
</div> </div>
</button> </button>
@ -285,7 +285,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
迷你按钮 Mini
</span> </span>
</div> </div>
</button> </button>
@ -296,7 +296,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
块级元素 Block Element
</span> </span>
</div> </div>
</button> </button>
@ -307,7 +307,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
URL 跳转 URL
</span> </span>
</div> </div>
</button> </button>
@ -316,7 +316,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
路由跳转 Vue Router
</span> </span>
</div> </div>
</button> </button>
@ -328,7 +328,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
单色按钮 Pure
</span> </span>
</div> </div>
</button> </button>
@ -338,7 +338,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
单色按钮 Pure
</span> </span>
</div> </div>
</button> </button>
@ -348,7 +348,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
渐变色按钮 Gradient
</span> </span>
</div> </div>
</button> </button>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -12,7 +12,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
标题1 Title1
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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>
<div class="van-collapse-item__wrapper"> <div class="van-collapse-item__wrapper">
<div class="van-collapse-item__content"> <div class="van-collapse-item__content">
代码是写出来给人看的,附带能在机器上运行 Content
</div> </div>
</div> </div>
</div> </div>
@ -33,7 +33,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
标题2 Title2
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
标题3 Title3
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
标题1 Title1
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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>
<div class="van-collapse-item__wrapper"> <div class="van-collapse-item__wrapper">
<div class="van-collapse-item__content"> <div class="van-collapse-item__content">
代码是写出来给人看的,附带能在机器上运行 Content
</div> </div>
</div> </div>
</div> </div>
@ -90,7 +90,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
标题2 Title2
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
标题3 Title3
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
标题1 Title1
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
标题2 Title2
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
标题3 Title3
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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" disabled="false"
> >
<div class="van-cell__title"> <div class="van-cell__title">
标题1 Title1
<i class="van-badge__wrapper van-icon van-icon-question-o"> <i class="van-badge__wrapper van-icon van-icon-question-o">
</i> </i>
</div> </div>
@ -196,12 +196,12 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
标题2 Title2
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<span> <span>
内容 Content
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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 class="van-badge__wrapper van-icon van-icon-add-square van-cell__left-icon">
</i> </i>
<div class="van-cell__value van-cell__value--alone van-contact-card__value"> <div class="van-cell__value van-cell__value--alone van-contact-card__value">
添加联系人 Add contact info
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i> </i>
@ -24,10 +24,10 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
<div class="van-cell__value van-cell__value--alone van-contact-card__value"> <div class="van-cell__value van-cell__value--alone van-contact-card__value">
<div> <div>
张三:张三 John SnowJohn Snow
</div> </div>
<div> <div>
电话13000000000 Phone13000000000
</div> </div>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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> </i>
<div class="van-cell__value van-cell__value--alone van-contact-card__value"> <div class="van-cell__value van-cell__value--alone van-contact-card__value">
<div> <div>
张三:张三 John SnowJohn Snow
</div> </div>
<div> <div>
电话13000000000 Phone13000000000
</div> </div>
</div> </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 van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
姓名 Name
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="请填写姓名" placeholder="Please fill in the name"
> >
</div> </div>
</div> </div>
@ -23,14 +23,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
电话 Phone
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="tel" <input type="tel"
class="van-field__control" class="van-field__control"
placeholder="请填写电话" placeholder="Please fill in the tel"
> >
</div> </div>
</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 van-cell--borderless van-contact-edit__switch-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
设为默认联系人 Set as the default contact
</span> </span>
</div> </div>
<div role="switch" <div role="switch"
@ -57,7 +57,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
保存 Save
</span> </span>
</div> </div>
</button> </button>
@ -66,7 +66,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
删除 Delete
</span> </span>
</div> </div>
</button> </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 class="van-badge__wrapper van-icon van-icon-edit van-contact-list__edit">
</i> </i>
<div class="van-cell__value van-cell__value--alone van-contact-list__item-value"> <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"> <transition-stub class="van-contact-list__item-tag">
<span class="van-tag van-tag--round van-tag--danger"> <span class="van-tag van-tag--round van-tag--danger">
默认 default
</span> </span>
</transition-stub> </transition-stub>
</div> </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 class="van-badge__wrapper van-icon van-icon-edit van-contact-list__edit">
</i> </i>
<div class="van-cell__value van-cell__value--alone van-contact-list__item-value"> <div class="van-cell__value van-cell__value--alone van-contact-list__item-value">
李四1310000000 Ned Stark1310000000
</div> </div>
<div role="radio" <div role="radio"
class="van-radio" class="van-radio"
@ -65,7 +65,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
新建联系人 Add new contact
</span> </span>
</div> </div>
</button> </button>

View File

@ -8,12 +8,12 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
优惠券 Coupon
</span> </span>
</div> </div>
<div class="van-cell__value van-coupon-cell__value"> <div class="van-cell__value van-coupon-cell__value">
<span> <span>
2张可用 You have 2 coupons
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
提示弹窗 Alert
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
提示弹窗(无标题) Alert without title
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
确认弹窗 Confirm dialog
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
提示弹窗 Alert
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
提示弹窗(无标题) Alert without title
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
异步关闭 Before Close
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
组件调用 Component Call
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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> <transition-stub>
<div class="van-popup van-popup--center van-dialog" <div class="van-popup van-popup--center van-dialog"
role="dialog" role="dialog"
aria-labelledby="标题" aria-labelledby="Title"
style="display: none;" style="display: none;"
> >
<div class="van-dialog__header"> <div class="van-dialog__header">
标题 Title
</div> </div>
<div class="van-dialog__content"> <div class="van-dialog__content">
<img src="https://img.yzcdn.cn/vant/apple-3.jpg"> <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"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
取消 Cancel
</span> </span>
</div> </div>
</button> </button>
@ -121,7 +121,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
确认弹窗 Confirm dialog
</span> </span>
</div> </div>
</button> </button>

View File

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

View File

@ -10,7 +10,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title"> <span class="van-dropdown-menu__title">
<div class="van-ellipsis"> <div class="van-ellipsis">
全部商品 Option1
</div> </div>
</span> </span>
</div> </div>
@ -20,7 +20,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title"> <span class="van-dropdown-menu__title">
<div class="van-ellipsis"> <div class="van-ellipsis">
默认排序 Option A
</div> </div>
</span> </span>
</div> </div>
@ -52,7 +52,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title"> <span class="van-dropdown-menu__title">
<div class="van-ellipsis"> <div class="van-ellipsis">
全部商品 Option1
</div> </div>
</span> </span>
</div> </div>
@ -62,7 +62,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title"> <span class="van-dropdown-menu__title">
<div class="van-ellipsis"> <div class="van-ellipsis">
筛选 Title
</div> </div>
</span> </span>
</div> </div>
@ -94,7 +94,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title"> <span class="van-dropdown-menu__title">
<div class="van-ellipsis"> <div class="van-ellipsis">
全部商品 Option1
</div> </div>
</span> </span>
</div> </div>
@ -104,7 +104,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title"> <span class="van-dropdown-menu__title">
<div class="van-ellipsis"> <div class="van-ellipsis">
默认排序 Option A
</div> </div>
</span> </span>
</div> </div>
@ -136,7 +136,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title van-dropdown-menu__title--down"> <span class="van-dropdown-menu__title van-dropdown-menu__title--down">
<div class="van-ellipsis"> <div class="van-ellipsis">
全部商品 Option1
</div> </div>
</span> </span>
</div> </div>
@ -146,7 +146,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title van-dropdown-menu__title--down"> <span class="van-dropdown-menu__title van-dropdown-menu__title--down">
<div class="van-ellipsis"> <div class="van-ellipsis">
默认排序 Option A
</div> </div>
</span> </span>
</div> </div>
@ -178,7 +178,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title"> <span class="van-dropdown-menu__title">
<div class="van-ellipsis"> <div class="van-ellipsis">
全部商品 Option1
</div> </div>
</span> </span>
</div> </div>
@ -188,7 +188,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<span class="van-dropdown-menu__title"> <span class="van-dropdown-menu__title">
<div class="van-ellipsis"> <div class="van-ellipsis">
默认排序 Option A
</div> </div>
</span> </span>
</div> </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"> <img src="https://img.yzcdn.cn/vant/empty-image-default.png">
</div> </div>
<p class="van-empty__description"> <p class="van-empty__description">
描述文字 Description
</p> </p>
</div> </div>
</div> </div>
@ -24,7 +24,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="true" aria-selected="true"
> >
<span class="van-tab__text van-tab__text--ellipsis"> <span class="van-tab__text van-tab__text--ellipsis">
通用错误 Error
</span> </span>
</div> </div>
<div role="tab" <div role="tab"
@ -32,7 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false" aria-selected="false"
> >
<span class="van-tab__text van-tab__text--ellipsis"> <span class="van-tab__text van-tab__text--ellipsis">
网络错误 Network
</span> </span>
</div> </div>
<div role="tab" <div role="tab"
@ -40,7 +40,7 @@ exports[`should render demo and match snapshot 1`] = `
aria-selected="false" aria-selected="false"
> >
<span class="van-tab__text van-tab__text--ellipsis"> <span class="van-tab__text van-tab__text--ellipsis">
搜索提示 Search
</span> </span>
</div> </div>
<div class="van-tabs__line" <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"> <img src="https://img.yzcdn.cn/vant/empty-image-error.png">
</div> </div>
<p class="van-empty__description"> <p class="van-empty__description">
描述文字 Description
</p> </p>
</div> </div>
</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"> <img src="https://img.yzcdn.cn/vant/custom-empty-image.png">
</div> </div>
<p class="van-empty__description"> <p class="van-empty__description">
描述文字 Description
</p> </p>
</div> </div>
</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"> <img src="https://img.yzcdn.cn/vant/empty-image-default.png">
</div> </div>
<p class="van-empty__description"> <p class="van-empty__description">
描述文字 Description
</p> </p>
<div class="van-empty__bottom"> <div class="van-empty__bottom">
<button type="button" <button type="button"
@ -100,7 +100,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
按钮 Button
</span> </span>
</div> </div>
</button> </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 van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Label
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="请输入文本" placeholder="Text"
> >
</div> </div>
</div> </div>
@ -24,14 +24,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Text
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="请输入文本" placeholder="Text"
> >
</div> </div>
</div> </div>
@ -39,14 +39,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
手机号 Phone
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="tel" <input type="tel"
class="van-field__control" class="van-field__control"
placeholder="请输入手机号" placeholder="Phone"
> >
</div> </div>
</div> </div>
@ -54,7 +54,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
整数 Digit
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -62,7 +62,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="tel" <input type="tel"
inputmode="numeric" inputmode="numeric"
class="van-field__control" class="van-field__control"
placeholder="请输入整数" placeholder="Digit"
> >
</div> </div>
</div> </div>
@ -70,7 +70,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
数字 Number
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -78,7 +78,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text" <input type="text"
inputmode="decimal" inputmode="decimal"
class="van-field__control" class="van-field__control"
placeholder="请输入数字(支持小数)" placeholder="Number"
> >
</div> </div>
</div> </div>
@ -86,14 +86,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
密码 Password
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="password" <input type="password"
class="van-field__control" class="van-field__control"
placeholder="请输入密码" placeholder="Password"
> >
</div> </div>
</div> </div>
@ -103,7 +103,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Text
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <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 van-field van-field--disabled">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Text
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -139,14 +139,14 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Text
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="显示图标" placeholder="Show Icon"
> >
<div class="van-field__right-icon"> <div class="van-field__right-icon">
<i class="van-badge__wrapper van-icon van-icon-warning-o"> <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>
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Text
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="显示清除图标" placeholder="Show Clear Icon"
> >
</div> </div>
</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 van-cell--required van-field van-field--error">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
用户名 Username
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="请输入用户名" placeholder="Username"
> >
</div> </div>
</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 van-cell--required van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
手机号 Phone
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="请输入手机号" placeholder="Phone"
> >
</div> </div>
<div class="van-field__error-message"> <div class="van-field__error-message">
手机号格式错误 Invalid phone
</div> </div>
</div> </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 van-cell--center van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
短信验证码 SMS
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="请输入短信验证码" placeholder="SMS"
> >
<div class="van-field__button"> <div class="van-field__button">
<button type="button" <button type="button"
@ -229,7 +229,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
发送验证码 Send SMS
</span> </span>
</div> </div>
</button> </button>
@ -242,14 +242,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Text
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="在输入时执行格式化" placeholder="Format On Change"
> >
</div> </div>
</div> </div>
@ -257,14 +257,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Text
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
placeholder="在失焦时执行格式化" placeholder="Format On Blur"
> >
</div> </div>
</div> </div>
@ -272,16 +272,11 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
<div> <div>
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__value van-cell__value--alone van-field__value">
<span>
留言
</span>
</div>
<div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<textarea rows="1" <textarea rows="1"
class="van-field__control" class="van-field__control"
placeholder="请输入留言" placeholder="Message"
style="height: auto;" style="height: auto;"
> >
</textarea> </textarea>
@ -293,14 +288,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
留言 Message
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<textarea rows="2" <textarea rows="2"
class="van-field__control" class="van-field__control"
placeholder="请输入留言" placeholder="Message"
style="height: auto;" style="height: auto;"
> >
</textarea> </textarea>
@ -318,14 +313,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Text
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
<div class="van-field__body"> <div class="van-field__body">
<input type="text" <input type="text"
class="van-field__control van-field__control--right" class="van-field__control van-field__control--right"
placeholder="输入框内容右对齐" placeholder="Input Align Right"
> >
</div> </div>
</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 van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
用户名 Username
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -14,7 +14,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text" <input type="text"
name="username" name="username"
class="van-field__control" class="van-field__control"
placeholder="用户名" placeholder="Username"
> >
</div> </div>
</div> </div>
@ -22,7 +22,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
密码 Password
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -30,7 +30,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="password" <input type="password"
name="password" name="password"
class="van-field__control" class="van-field__control"
placeholder="密码" placeholder="Password"
> >
</div> </div>
</div> </div>
@ -41,7 +41,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
提交 Submit
</span> </span>
</div> </div>
</button> </button>
@ -53,7 +53,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Label
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -61,7 +61,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text" <input type="text"
name="pattern" name="pattern"
class="van-field__control" class="van-field__control"
placeholder="正则校验" placeholder="Use pattern"
> >
</div> </div>
</div> </div>
@ -69,7 +69,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Label
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -77,7 +77,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text" <input type="text"
name="validator" name="validator"
class="van-field__control" class="van-field__control"
placeholder="函数校验" placeholder="Use validator"
> >
</div> </div>
</div> </div>
@ -85,7 +85,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文本 Label
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -93,7 +93,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text" <input type="text"
name="asyncValidator" name="asyncValidator"
class="van-field__control" class="van-field__control"
placeholder="异步函数校验" placeholder="Use async validator"
> >
</div> </div>
</div> </div>
@ -104,7 +104,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
提交 Submit
</span> </span>
</div> </div>
</button> </button>
@ -116,7 +116,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
开关 Switch
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <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 van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
复选框 Checkbox
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <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 van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
复选框组 Checkbox Group
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -177,7 +177,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<span class="van-checkbox__label"> <span class="van-checkbox__label">
复选框 1 Checkbox 1
</span> </span>
</div> </div>
<div role="checkbox" <div role="checkbox"
@ -190,7 +190,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<span class="van-checkbox__label"> <span class="van-checkbox__label">
复选框 2 Checkbox 2
</span> </span>
</div> </div>
</div> </div>
@ -201,7 +201,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
单选框 Radio
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -220,7 +220,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<span class="van-radio__label"> <span class="van-radio__label">
单选框 1 Radio 1
</span> </span>
</div> </div>
<div role="radio" <div role="radio"
@ -233,7 +233,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<span class="van-radio__label"> <span class="van-radio__label">
单选框 2 Radio 2
</span> </span>
</div> </div>
</div> </div>
@ -244,7 +244,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell van-field"> <div class="van-cell van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
步进器 Stepper
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <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 van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
评分 Rate
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <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 van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
滑块 Slider
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <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 van-field">
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
文件上传 Uploader
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <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"> <div class="van-cell__title van-field__label">
<span> <span>
选择器 Picker
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -436,7 +436,7 @@ exports[`should render demo and match snapshot 1`] = `
name="picker" name="picker"
class="van-field__control" class="van-field__control"
readonly readonly
placeholder="点击选择城市" placeholder="Select city"
> >
</div> </div>
</div> </div>
@ -447,7 +447,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
时间选择 Datetime Picker
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -456,7 +456,7 @@ exports[`should render demo and match snapshot 1`] = `
name="datetimePicker" name="datetimePicker"
class="van-field__control" class="van-field__control"
readonly readonly
placeholder="点击选择时间" placeholder="Select time"
> >
</div> </div>
</div> </div>
@ -467,7 +467,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
地区选择 Area Picker
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -476,7 +476,7 @@ exports[`should render demo and match snapshot 1`] = `
name="area" name="area"
class="van-field__control" class="van-field__control"
readonly readonly
placeholder="点击选择省市区" placeholder="Select area"
> >
</div> </div>
</div> </div>
@ -487,7 +487,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
日历 Calendar
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -496,7 +496,7 @@ exports[`should render demo and match snapshot 1`] = `
name="calendar" name="calendar"
class="van-field__control" class="van-field__control"
readonly readonly
placeholder="点击选择日期" placeholder="Select date"
> >
</div> </div>
</div> </div>
@ -507,7 +507,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
提交 Submit
</span> </span>
</div> </div>
</button> </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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-photo-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-home-o van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
路由跳转 Vue Router
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-search van-grid-item__icon">
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
URL 跳转 URL
</span> </span>
</div> </div>
</div> </div>
@ -437,7 +437,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</div> </div>
@ -451,7 +451,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
</i> </i>
<span class="van-grid-item__text"> <span class="van-grid-item__text">
文字 Text
</span> </span>
</div> </div>
</div> </div>

View File

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

View File

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

View File

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

View File

@ -158,7 +158,7 @@ exports[`should render demo and match snapshot 1`] = `
</svg> </svg>
</span> </span>
<span class="van-loading__text"> <span class="van-loading__text">
加载中... Loading...
</span> </span>
</div> </div>
</div> </div>
@ -179,7 +179,7 @@ exports[`should render demo and match snapshot 1`] = `
</svg> </svg>
</span> </span>
<span class="van-loading__text"> <span class="van-loading__text">
加载中... Loading...
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-arrow-left van-nav-bar__arrow">
</i> </i>
<span class="van-nav-bar__text"> <span class="van-nav-bar__text">
返回 Back
</span> </span>
</div> </div>
<div class="van-nav-bar__title van-ellipsis"> <div class="van-nav-bar__title van-ellipsis">
标题 Title
</div> </div>
<div class="van-nav-bar__right"> <div class="van-nav-bar__right">
<span class="van-nav-bar__text"> <span class="van-nav-bar__text">
按钮 Button
</span> </span>
</div> </div>
</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 class="van-badge__wrapper van-icon van-icon-arrow-left van-nav-bar__arrow">
</i> </i>
<span class="van-nav-bar__text"> <span class="van-nav-bar__text">
返回 Back
</span> </span>
</div> </div>
<div class="van-nav-bar__title van-ellipsis"> <div class="van-nav-bar__title van-ellipsis">
标题 Title
</div> </div>
<div class="van-nav-bar__right"> <div class="van-nav-bar__right">
<i class="van-badge__wrapper van-icon van-icon-search" <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;" <div style="transition-duration: 0s;"
class="van-notice-bar__content" class="van-notice-bar__content"
> >
在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。 Technology is the common soul of the people who developed it.
</div> </div>
</div> </div>
</div> </div>
@ -28,7 +28,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;" <div style="transition-duration: 0s;"
class="van-notice-bar__content" class="van-notice-bar__content"
> >
技术是开发它的人的共同灵魂。 Some short text.
</div> </div>
</div> </div>
</div> </div>
@ -41,7 +41,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;" <div style="transition-duration: 0s;"
class="van-notice-bar__content van-ellipsis" class="van-notice-bar__content van-ellipsis"
> >
在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。 Technology is the common soul of the people who developed it.
</div> </div>
</div> </div>
</div> </div>
@ -56,7 +56,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;" <div style="transition-duration: 0s;"
class="van-notice-bar__content" class="van-notice-bar__content"
> >
在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。 Technology is the common soul of the people who developed it.
</div> </div>
</div> </div>
</div> </div>
@ -71,7 +71,7 @@ exports[`should render demo and match snapshot 1`] = `
<div style="transition-duration: 0s;" <div style="transition-duration: 0s;"
class="van-notice-bar__content" class="van-notice-bar__content"
> >
技术是开发它的人的共同灵魂。 Some short text.
</div> </div>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-cross van-notice-bar__right-icon"> <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;" <div style="transition-duration: 0s;"
class="van-notice-bar__content" class="van-notice-bar__content"
> >
技术是开发它的人的共同灵魂。 Some short text.
</div> </div>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-notice-bar__right-icon"> <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;" <div style="transition-duration: 0s;"
class="van-notice-bar__content" class="van-notice-bar__content"
> >
技术是开发它的人的共同灵魂。 Some short text.
</div> </div>
</div> </div>
</div> </div>
@ -130,17 +130,17 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-swipe-item" <div class="van-swipe-item"
style="height: 0px;" style="height: 0px;"
> >
内容 1 Content 1
</div> </div>
<div class="van-swipe-item" <div class="van-swipe-item"
style="height: 0px;" style="height: 0px;"
> >
内容 2 Content 2
</div> </div>
<div class="van-swipe-item" <div class="van-swipe-item"
style="height: 0px;" style="height: 0px;"
> >
内容 3 Content 3
</div> </div>
</div> </div>
</div> </div>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
基础用法 Basic Usage
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
主要通知 Primary
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
成功通知 Success
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
危险通知 Danger
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
警告通知 Warning
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
自定义颜色 Custom Color
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
自定义时长 Custom Duration
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
组件调用 Component Call
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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" tabindex="0"
> >
<div class="van-cell__value van-cell__value--alone"> <div class="van-cell__value van-cell__value--alone">
弹出默认键盘 Show Default Keyboard
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i> </i>
@ -16,7 +16,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0" tabindex="0"
> >
<div class="van-cell__value van-cell__value--alone"> <div class="van-cell__value van-cell__value--alone">
弹出带右侧栏的键盘 Show Keyboard With Sidebar
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i> </i>
@ -26,7 +26,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0" tabindex="0"
> >
<div class="van-cell__value van-cell__value--alone"> <div class="van-cell__value van-cell__value--alone">
弹出身份证号键盘 Show IdNumber Keyboard
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i> </i>
@ -36,7 +36,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0" tabindex="0"
> >
<div class="van-cell__value van-cell__value--alone"> <div class="van-cell__value van-cell__value--alone">
弹出带标题的键盘 Show Keyboard With Title
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i> </i>
@ -46,7 +46,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0" tabindex="0"
> >
<div class="van-cell__value van-cell__value--alone"> <div class="van-cell__value van-cell__value--alone">
弹出配置多个按键的键盘 Show Keyboard With Multiple ExtraKey
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i> </i>
@ -57,7 +57,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title van-field__label"> <div class="van-cell__title van-field__label">
<span> <span>
双向绑定 Bind Value
</span> </span>
</div> </div>
<div class="van-cell__value van-field__value"> <div class="van-cell__value van-field__value">
@ -65,7 +65,7 @@ exports[`should render demo and match snapshot 1`] = `
<input type="text" <input type="text"
class="van-field__control" class="van-field__control"
readonly readonly
placeholder="点此输入" placeholder="Click To Input"
> >
</div> </div>
</div> </div>
@ -304,7 +304,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0" tabindex="0"
class="van-key van-key--blue van-key--large" class="van-key van-key--blue van-key--large"
> >
完成 Close
</div> </div>
</div> </div>
</div> </div>
@ -319,7 +319,7 @@ exports[`should render demo and match snapshot 1`] = `
<button type="button" <button type="button"
class="van-number-keyboard__close" class="van-number-keyboard__close"
> >
完成 Close
</button> </button>
</div> </div>
<div class="van-number-keyboard__body"> <div class="van-number-keyboard__body">
@ -437,12 +437,12 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-number-keyboard__header"> <div class="van-number-keyboard__header">
<h2 class="van-number-keyboard__title"> <h2 class="van-number-keyboard__title">
键盘标题 Keyboard Title
</h2> </h2>
<button type="button" <button type="button"
class="van-number-keyboard__close" class="van-number-keyboard__close"
> >
完成 Close
</button> </button>
</div> </div>
<div class="van-number-keyboard__body"> <div class="van-number-keyboard__body">
@ -678,7 +678,7 @@ exports[`should render demo and match snapshot 1`] = `
tabindex="0" tabindex="0"
class="van-key van-key--blue van-key--large" class="van-key van-key--blue van-key--large"
> >
完成 Close
</div> </div>
</div> </div>
</div> </div>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
展示弹出层 Show Popup
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
顶部弹出 From Top
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
底部弹出 From Bottom
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
左侧弹出 From Left
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
右侧弹出 From Right
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
关闭图标 Close Icon
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
自定义图标 Custom Icon
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
图标位置 Icon Position
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
圆角弹窗 Round Corner
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
指定挂载节点 Get Container
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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);" <span style="left: 0px; background: rgb(242, 130, 106);"
class="van-progress__pivot" class="van-progress__pivot"
> >
橙色 Orange
</span> </span>
</span> </span>
</div> </div>
@ -61,7 +61,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="left: 0px; background: rgb(238, 10, 36);" <span style="left: 0px; background: rgb(238, 10, 36);"
class="van-progress__pivot" class="van-progress__pivot"
> >
红色 Red
</span> </span>
</span> </span>
</div> </div>
@ -72,7 +72,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="left: 0px; background: rgb(114, 50, 221);" <span style="left: 0px; background: rgb(114, 50, 221);"
class="van-progress__pivot" class="van-progress__pivot"
> >
紫色 Purple
</span> </span>
</span> </span>
</div> </div>

View File

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

View File

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

View File

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

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
显示分享面板 Show ShareSheet
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
显示分享面板 Show ShareSheet
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
显示分享面板 Show ShareSheet
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
显示分享面板 Show ShareSheet
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-grid-item__content van-grid-item__content--center">
<h3 class="demo-sidebar-title"> <h3 class="demo-sidebar-title">
基础用法 Basic Usage
</h3> </h3>
<div class="van-sidebar"> <div class="van-sidebar">
<a class="van-sidebar-item van-sidebar-item--select"> <a class="van-sidebar-item van-sidebar-item--select">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名 Title
</div> </div>
</a> </a>
<a class="van-sidebar-item"> <a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名 Title
</div> </div>
</a> </a>
<a class="van-sidebar-item"> <a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名 Title
</div> </div>
</a> </a>
</div> </div>
@ -33,19 +33,19 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-grid-item__content van-grid-item__content--center"> <div class="van-grid-item__content van-grid-item__content--center">
<h3 class="demo-sidebar-title"> <h3 class="demo-sidebar-title">
徽标提示 Show Badge
</h3> </h3>
<div class="van-sidebar"> <div class="van-sidebar">
<a class="van-sidebar-item van-sidebar-item--select"> <a class="van-sidebar-item van-sidebar-item--select">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名 Title
<div class="van-badge van-badge--dot van-badge--fixed"> <div class="van-badge van-badge--dot van-badge--fixed">
</div> </div>
</div> </div>
</a> </a>
<a class="van-sidebar-item"> <a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名 Title
<div class="van-badge van-badge--fixed"> <div class="van-badge van-badge--fixed">
5 5
</div> </div>
@ -53,7 +53,7 @@ exports[`should render demo and match snapshot 1`] = `
</a> </a>
<a class="van-sidebar-item"> <a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名 Title
<div class="van-badge van-badge--fixed"> <div class="van-badge van-badge--fixed">
99+ 99+
</div> </div>
@ -67,22 +67,22 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-grid-item__content van-grid-item__content--center"> <div class="van-grid-item__content van-grid-item__content--center">
<h3 class="demo-sidebar-title"> <h3 class="demo-sidebar-title">
禁用选项 Disabled
</h3> </h3>
<div class="van-sidebar"> <div class="van-sidebar">
<a class="van-sidebar-item van-sidebar-item--select"> <a class="van-sidebar-item van-sidebar-item--select">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名 Title
</div> </div>
</a> </a>
<a class="van-sidebar-item van-sidebar-item--disabled"> <a class="van-sidebar-item van-sidebar-item--disabled">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名 Title
</div> </div>
</a> </a>
<a class="van-sidebar-item"> <a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名 Title
</div> </div>
</a> </a>
</div> </div>
@ -93,22 +93,22 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-grid-item__content van-grid-item__content--center"> <div class="van-grid-item__content van-grid-item__content--center">
<h3 class="demo-sidebar-title"> <h3 class="demo-sidebar-title">
监听切换事件 Change Event
</h3> </h3>
<div class="van-sidebar"> <div class="van-sidebar">
<a class="van-sidebar-item van-sidebar-item--select"> <a class="van-sidebar-item van-sidebar-item--select">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名1 Title1
</div> </div>
</a> </a>
<a class="van-sidebar-item"> <a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名2 Title2
</div> </div>
</a> </a>
<a class="van-sidebar-item"> <a class="van-sidebar-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
标签名3 Title3
</div> </div>
</a> </a>
</div> </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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
基础用法 Basic Usage
</span> </span>
</div> </div>
<div class="van-cell__value"> <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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
步长设置 Step
</span> </span>
</div> </div>
<div class="van-cell__value"> <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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
限制输入范围 Range
</span> </span>
</div> </div>
<div class="van-cell__value"> <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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
限制输入整数 Integer
</span> </span>
</div> </div>
<div class="van-cell__value"> <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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
禁用状态 Disabled
</span> </span>
</div> </div>
<div class="van-cell__value"> <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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
禁用输入框 Disable Input
</span> </span>
</div> </div>
<div class="van-cell__value"> <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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
固定小数位数 Decimal Length
</span> </span>
</div> </div>
<div class="van-cell__value"> <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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
自定义大小 Custom Size
</span> </span>
</div> </div>
<div class="van-cell__value"> <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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
异步变更 Async Change
</span> </span>
</div> </div>
<div class="van-cell__value"> <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 van-cell--center">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
圆角风格 Round Theme
</span> </span>
</div> </div>
<div class="van-cell__value"> <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-steps__items">
<div class="van-hairline van-step van-step--horizontal van-step--finish"> <div class="van-hairline van-step van-step--horizontal van-step--finish">
<div class="van-step__title"> <div class="van-step__title">
买家下单 Step1
</div> </div>
<div class="van-step__circle-container"> <div class="van-step__circle-container">
<i class="van-step__circle"> <i class="van-step__circle">
@ -17,7 +17,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
<div class="van-hairline van-step van-step--horizontal van-step--process"> <div class="van-hairline van-step van-step--horizontal van-step--process">
<div class="van-step__title van-step__title--active"> <div class="van-step__title van-step__title--active">
商家接单 Step2
</div> </div>
<div class="van-step__circle-container"> <div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-checked van-step__icon van-step__icon--active"> <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>
<div class="van-hairline van-step van-step--horizontal"> <div class="van-hairline van-step van-step--horizontal">
<div class="van-step__title"> <div class="van-step__title">
买家提货 Step3
</div> </div>
<div class="van-step__circle-container"> <div class="van-step__circle-container">
<i class="van-step__circle"> <i class="van-step__circle">
@ -39,7 +39,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
<div class="van-hairline van-step van-step--horizontal"> <div class="van-hairline van-step van-step--horizontal">
<div class="van-step__title"> <div class="van-step__title">
交易完成 Step4
</div> </div>
<div class="van-step__circle-container"> <div class="van-step__circle-container">
<i class="van-step__circle"> <i class="van-step__circle">
@ -55,7 +55,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
下一步 Next Step
</span> </span>
</div> </div>
</button> </button>
@ -65,7 +65,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-steps__items"> <div class="van-steps__items">
<div class="van-hairline van-step van-step--horizontal van-step--finish"> <div class="van-hairline van-step van-step--horizontal van-step--finish">
<div class="van-step__title"> <div class="van-step__title">
买家下单 Step1
</div> </div>
<div class="van-step__circle-container"> <div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-arrow van-step__icon"> <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" <div class="van-step__title van-step__title--active"
style="color: rgb(51, 136, 255);" style="color: rgb(51, 136, 255);"
> >
商家接单 Step2
</div> </div>
<div class="van-step__circle-container"> <div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-success van-step__icon van-step__icon--active" <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>
<div class="van-hairline van-step van-step--horizontal"> <div class="van-hairline van-step van-step--horizontal">
<div class="van-step__title"> <div class="van-step__title">
买家提货 Step3
</div> </div>
<div class="van-step__circle-container"> <div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-arrow van-step__icon"> <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>
<div class="van-hairline van-step van-step--horizontal"> <div class="van-hairline van-step van-step--horizontal">
<div class="van-step__title"> <div class="van-step__title">
交易完成 Step4
</div> </div>
<div class="van-step__circle-container"> <div class="van-step__circle-container">
<i class="van-badge__wrapper van-icon van-icon-arrow van-step__icon"> <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-hairline van-step van-step--vertical van-step--process">
<div class="van-step__title van-step__title--active"> <div class="van-step__title van-step__title--active">
<h3> <h3>
城市】物流状态1 City】Status1
</h3> </h3>
<p> <p>
2016-07-12 12:40 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-hairline van-step van-step--vertical">
<div class="van-step__title"> <div class="van-step__title">
<h3> <h3>
城市】物流状态 City】Status2
</h3> </h3>
<p> <p>
2016-07-11 10:00 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-hairline van-step van-step--vertical">
<div class="van-step__title"> <div class="van-step__title">
<h3> <h3>
快件已发货 【City】Status3
</h3> </h3>
<p> <p>
2016-07-10 09:30 2016-07-10 09:30

View File

@ -10,7 +10,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
基础用法 Basic Usage
</span> </span>
</div> </div>
</button> </button>
@ -26,7 +26,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
吸顶距离 Offset Top
</span> </span>
</div> </div>
</button> </button>
@ -43,7 +43,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
指定容器 Set Container
</span> </span>
</div> </div>
</button> </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__bar">
<div class="van-submit-bar__text"> <div class="van-submit-bar__text">
<span> <span>
合计 Total
</span> </span>
<span class="van-submit-bar__price"> <span class="van-submit-bar__price">
¥ ¥
@ -21,7 +21,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
提交订单 Submit
</span> </span>
</div> </div>
</button> </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 class="van-badge__wrapper van-icon van-icon-info-o van-submit-bar__tip-icon">
</i> </i>
<span class="van-submit-bar__tip-text"> <span class="van-submit-bar__tip-text">
你的收货地址不支持同城送, 我们已为你推荐快递 Some tips
</span> </span>
</div> </div>
<div class="van-submit-bar__bar"> <div class="van-submit-bar__bar">
<div class="van-submit-bar__text"> <div class="van-submit-bar__text">
<span> <span>
合计 Total
</span> </span>
<span class="van-submit-bar__price"> <span class="van-submit-bar__price">
¥ ¥
@ -56,7 +56,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
提交订单 Submit
</span> </span>
</div> </div>
</button> </button>
@ -68,7 +68,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-submit-bar__bar"> <div class="van-submit-bar__bar">
<div class="van-submit-bar__text"> <div class="van-submit-bar__text">
<span> <span>
合计 Total
</span> </span>
<span class="van-submit-bar__price"> <span class="van-submit-bar__price">
¥ ¥
@ -106,9 +106,9 @@ exports[`should render demo and match snapshot 1`] = `
<div> <div>
<div class="van-submit-bar"> <div class="van-submit-bar">
<div class="van-submit-bar__tip"> <div class="van-submit-bar__tip">
你的收货地址不支持同城送, Some tips,
<span class="edit-address"> <span class="edit-address">
修改地址 Link
</span> </span>
</div> </div>
<div class="van-submit-bar__bar"> <div class="van-submit-bar__bar">
@ -122,12 +122,12 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<span class="van-checkbox__label"> <span class="van-checkbox__label">
全选 Label
</span> </span>
</div> </div>
<div class="van-submit-bar__text"> <div class="van-submit-bar__text">
<span> <span>
合计 Total
</span> </span>
<span class="van-submit-bar__price"> <span class="van-submit-bar__price">
¥ ¥
@ -142,7 +142,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-button__content"> <div class="van-button__content">
<span class="van-button__text"> <span class="van-button__text">
提交订单 Submit
</span> </span>
</div> </div>
</button> </button>

View File

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

View File

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

View File

@ -9,7 +9,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -18,7 +18,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -27,7 +27,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -36,7 +36,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
</div> </div>
@ -49,7 +49,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -58,7 +58,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -67,7 +67,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -76,7 +76,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
</div> </div>
@ -89,7 +89,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -100,7 +100,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -112,7 +112,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -124,7 +124,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
</div> </div>
@ -140,7 +140,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
<span> <span>
自定义 Custom
</span> </span>
</div> </div>
</div> </div>
@ -150,7 +150,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -159,7 +159,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
</div> </div>
@ -174,7 +174,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item" <div class="van-tabbar-item"
@ -185,7 +185,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item" <div class="van-tabbar-item"
@ -196,7 +196,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
<div class="van-tabbar-item" <div class="van-tabbar-item"
@ -207,7 +207,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签 Tab
</div> </div>
</div> </div>
</div> </div>
@ -220,7 +220,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签1 Tab1
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -229,7 +229,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签2 Tab2
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -238,7 +238,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签3 Tab3
</div> </div>
</div> </div>
<div class="van-tabbar-item"> <div class="van-tabbar-item">
@ -247,7 +247,7 @@ exports[`should render demo and match snapshot 1`] = `
</i> </i>
</div> </div>
<div class="van-tabbar-item__text"> <div class="van-tabbar-item__text">
标签4 Tab4
</div> </div>
</div> </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">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
primary 类型 primary
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--primary"> <span class="van-tag van-tag--primary">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -19,13 +19,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
success 类型 success
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--success"> <span class="van-tag van-tag--success">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -33,13 +33,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
danger 类型 danger
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--danger"> <span class="van-tag van-tag--danger">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -47,13 +47,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
warning 类型 warning
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--warning"> <span class="van-tag van-tag--warning">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -63,13 +63,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
空心样式 Plain style
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--plain van-tag--primary"> <span class="van-tag van-tag--plain van-tag--primary">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -77,13 +77,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
圆角样式 Round style
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--round van-tag--primary"> <span class="van-tag van-tag--round van-tag--primary">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -91,13 +91,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
标记样式 Mark style
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--mark van-tag--primary"> <span class="van-tag van-tag--mark van-tag--primary">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -105,13 +105,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
可关闭标签 Closeable
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--medium van-tag--primary"> <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 class="van-badge__wrapper van-icon van-icon-cross van-tag__close">
</i> </i>
</span> </span>
@ -123,13 +123,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
小号标签 Small Size
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--primary"> <span class="van-tag van-tag--primary">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -137,13 +137,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
中号标签 Medium Size
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--medium van-tag--primary"> <span class="van-tag van-tag--medium van-tag--primary">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -151,13 +151,13 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
大号标签 Large Size
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
<transition-stub> <transition-stub>
<span class="van-tag van-tag--large van-tag--primary"> <span class="van-tag van-tag--large van-tag--primary">
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -167,7 +167,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
背景颜色 Background Color
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
@ -175,7 +175,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="background: rgb(114, 50, 221);" <span style="background: rgb(114, 50, 221);"
class="van-tag van-tag--default" class="van-tag van-tag--default"
> >
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -183,7 +183,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
文字颜色 Text Color
</span> </span>
</div> </div>
<div class="van-cell__value"> <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);" <span style="color: rgb(173, 0, 0); background: rgb(255, 225, 225);"
class="van-tag van-tag--default" class="van-tag van-tag--default"
> >
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>
@ -199,7 +199,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-cell"> <div class="van-cell">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
空心颜色 Plain Color
</span> </span>
</div> </div>
<div class="van-cell__value"> <div class="van-cell__value">
@ -207,7 +207,7 @@ exports[`should render demo and match snapshot 1`] = `
<span style="color: rgb(114, 50, 221);" <span style="color: rgb(114, 50, 221);"
class="van-tag van-tag--plain van-tag--default" class="van-tag van-tag--plain van-tag--default"
> >
标签 Tag
</span> </span>
</transition-stub> </transition-stub>
</div> </div>

View File

@ -8,7 +8,7 @@ exports[`should render demo and match snapshot 1`] = `
> >
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
文字提示 Text
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
加载提示 Loading
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
成功提示 Success
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
失败提示 Fail
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
自定义图标 Custom Icon
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
自定义图片 Custom Image
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
自定义加载图标 Loading Type
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
顶部展示 Top
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
底部展示 Bottom
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-cell__title">
<span> <span>
动态更新提示 Update Message
</span> </span>
</div> </div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon"> <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"> <div class="van-sidebar van-tree-select__nav">
<a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item"> <a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
浙江 Group 1
</div> </div>
</a> </a>
<a class="van-sidebar-item van-tree-select__nav-item"> <a class="van-sidebar-item van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
江苏 Group 2
</div> </div>
</a> </a>
<a class="van-sidebar-item van-sidebar-item--disabled van-tree-select__nav-item"> <a class="van-sidebar-item van-sidebar-item--disabled van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
福建 Group 3
</div> </div>
</a> </a>
</div> </div>
<div class="van-tree-select__content"> <div class="van-tree-select__content">
<div class="van-ellipsis van-tree-select__item van-tree-select__item--active"> <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 class="van-badge__wrapper van-icon van-icon-success van-tree-select__selected">
</i> </i>
</div> </div>
<div class="van-ellipsis van-tree-select__item"> <div class="van-ellipsis van-tree-select__item">
温州 Florida
</div> </div>
<div class="van-ellipsis van-tree-select__item van-tree-select__item--disabled"> <div class="van-ellipsis van-tree-select__item van-tree-select__item--disabled">
宁波 Georqia
</div> </div>
<div class="van-ellipsis van-tree-select__item"> <div class="van-ellipsis van-tree-select__item">
义乌 Indiana
</div> </div>
</div> </div>
</div> </div>
@ -47,36 +47,36 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-sidebar van-tree-select__nav"> <div class="van-sidebar van-tree-select__nav">
<a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item"> <a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
浙江 Group 1
</div> </div>
</a> </a>
<a class="van-sidebar-item van-tree-select__nav-item"> <a class="van-sidebar-item van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
江苏 Group 2
</div> </div>
</a> </a>
<a class="van-sidebar-item van-sidebar-item--disabled van-tree-select__nav-item"> <a class="van-sidebar-item van-sidebar-item--disabled van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
福建 Group 3
</div> </div>
</a> </a>
</div> </div>
<div class="van-tree-select__content"> <div class="van-tree-select__content">
<div class="van-ellipsis van-tree-select__item van-tree-select__item--active"> <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 class="van-badge__wrapper van-icon van-icon-success van-tree-select__selected">
</i> </i>
</div> </div>
<div class="van-ellipsis van-tree-select__item van-tree-select__item--active"> <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 class="van-badge__wrapper van-icon van-icon-success van-tree-select__selected">
</i> </i>
</div> </div>
<div class="van-ellipsis van-tree-select__item van-tree-select__item--disabled"> <div class="van-ellipsis van-tree-select__item van-tree-select__item--disabled">
宁波 Georqia
</div> </div>
<div class="van-ellipsis van-tree-select__item"> <div class="van-ellipsis van-tree-select__item">
义乌 Indiana
</div> </div>
</div> </div>
</div> </div>
@ -88,12 +88,12 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-sidebar van-tree-select__nav"> <div class="van-sidebar van-tree-select__nav">
<a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item"> <a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
分组 1 Group 1
</div> </div>
</a> </a>
<a class="van-sidebar-item van-tree-select__nav-item"> <a class="van-sidebar-item van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
分组 2 Group 2
</div> </div>
</a> </a>
</div> </div>
@ -113,14 +113,14 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-sidebar van-tree-select__nav"> <div class="van-sidebar van-tree-select__nav">
<a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item"> <a class="van-sidebar-item van-sidebar-item--select van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
浙江 Group 1
<div class="van-badge van-badge--dot van-badge--fixed"> <div class="van-badge van-badge--dot van-badge--fixed">
</div> </div>
</div> </div>
</a> </a>
<a class="van-sidebar-item van-tree-select__nav-item"> <a class="van-sidebar-item van-tree-select__nav-item">
<div class="van-badge__wrapper van-sidebar-item__text"> <div class="van-badge__wrapper van-sidebar-item__text">
江苏 Group 2
<div class="van-badge van-badge--fixed"> <div class="van-badge van-badge--fixed">
5 5
</div> </div>
@ -129,18 +129,18 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
<div class="van-tree-select__content"> <div class="van-tree-select__content">
<div class="van-ellipsis van-tree-select__item van-tree-select__item--active"> <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 class="van-badge__wrapper van-icon van-icon-success van-tree-select__selected">
</i> </i>
</div> </div>
<div class="van-ellipsis van-tree-select__item"> <div class="van-ellipsis van-tree-select__item">
温州 Florida
</div> </div>
<div class="van-ellipsis van-tree-select__item van-tree-select__item--disabled"> <div class="van-ellipsis van-tree-select__item van-tree-select__item--disabled">
宁波 Georqia
</div> </div>
<div class="van-ellipsis van-tree-select__item"> <div class="van-ellipsis van-tree-select__item">
义乌 Indiana
</div> </div>
</div> </div>
</div> </div>

View File

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

View File

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