vant/packages/card/test/__snapshots__/demo.spec.js.snap
2018-11-15 15:30:17 +08:00

66 lines
2.0 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders demo correctly 1`] = `
<div>
<div>
<div class="van-card">
<a href="javascript:;" class="van-card__thumb">
<img src="//img.yzcdn.cn/upload_files/2017/07/02/af5b9f44deaeb68000d7e4a711160c53.jpg" class="van-card__img">
<!---->
</a>
<div class="van-card__content">
<div class="van-card__left">
<div class="van-card__title">
商品标题
</div>
<div class="van-card__desc van-ellipsis">
描述信息
</div>
</div>
<div class="van-card__right">
<div>¥ 2.00</div>
<!---->
<div class="van-card__num">
x 2
</div>
</div>
</div>
<!---->
</div>
</div>
<div>
<div class="van-card">
<a href="javascript:;" class="van-card__thumb">
<img src="//img.yzcdn.cn/upload_files/2017/07/02/af5b9f44deaeb68000d7e4a711160c53.jpg" class="van-card__img"> <span class="van-tag van-tag--mark van-card__tag" style="background-color:#f44;">
标签
</span></a>
<div class="van-card__content">
<div class="van-card__left">
<div class="van-card__title">
商品标题
</div>
<div class="van-card__desc van-ellipsis">
描述信息
</div>
</div>
<div class="van-card__right">
<div>¥ 2.00</div>
<div class="van-card__origin-price">
¥ 10.00
</div>
<div class="van-card__num">
x 2
</div>
</div>
</div>
<div class="van-card__footer">
<div>
<button class="van-button van-button--default van-button--mini"><span class="van-button__text">按钮</span></button>
<button class="van-button van-button--default van-button--mini"><span class="van-button__text">按钮</span></button>
</div>
</div>
</div>
</div>
</div>
`;