amis/__tests__/renderers/__snapshots__/Carousel.test.tsx.snap

103 lines
2.1 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Renderer:carousel 1`] = `
<div>
<div
class="a-Carousel a-Carousel--light show"
style="width: 500px; height: 300px;"
>
<div
class="a-Carousel-container"
>
<div
class="a-Carousel-item fade in"
>
<span
class="a-TplField"
>
<div
class="image "
style="background-image: url(https://internal-amis-res.cdn.bcebos.com/images/2019-12/1577157239810/da6376bf988c.png); background-size: contain; background-repeat: no-repeat; background-position: center center;"
/>
<div
class="title block"
>
标题
</div>
<div
class="description block"
>
描述
</div>
</span>
</div>
<div
class="a-Carousel-item fade out"
>
<span
class="a-TplField"
>
<div
class="image "
style="background-image: url(https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3893101144,2877209892&fm=23&gp=0.jpg); background-size: contain; background-repeat: no-repeat; background-position: center center;"
/>
</span>
</div>
<div
class="a-Carousel-dotsControl"
>
<span
class="a-Carousel-dot is-active"
/>
<span
class="a-Carousel-dot"
/>
<span
class="a-Carousel-dot"
/>
</div>
<div
class="a-Carousel-arrowsControl"
>
<div
class="a-Carousel-leftArrow"
>
<icon-mock
classname="icon"
icon="left-arrow"
/>
</div>
<div
class="a-Carousel-rightArrow"
>
<icon-mock
classname="icon"
icon="right-arrow"
/>
</div>
</div>
</div>
</div>
</div>
`;