优化用户故事页面

This commit is contained in:
TOP糯米 2023-10-05 19:25:30 +08:00
parent 56f2c3d5ba
commit fab51a2e32
3 changed files with 23 additions and 6 deletions

View File

@ -444,9 +444,11 @@
.section.story-cont .image-con { .section.story-cont .image-con {
position: relative; position: relative;
width: 100%; width: 100%;
font-size: 0;
}
.section.story-cont .image-con .swiper-slide {
border-radius: 20px; border-radius: 20px;
overflow: hidden; overflow: hidden;
font-size: 0;
} }
.section.story-cont .image-con img { .section.story-cont .image-con img {
max-width: 100%; max-width: 100%;

View File

@ -571,9 +571,12 @@
.image-con { .image-con {
position: relative; position: relative;
width: 100%; width: 100%;
font-size: 0;
.swiper-slide {
border-radius: 20px; border-radius: 20px;
overflow: hidden; overflow: hidden;
font-size: 0; }
img { img {
max-width: 100%; max-width: 100%;

View File

@ -29,11 +29,23 @@
</div> </div>
<div class="section main-wrap story-cont"> <div class="section main-wrap story-cont">
<h2 class="title">社会责任</h2> <h2 class="title">社会责任</h2>
<div class="image-con"> <div class="image-con swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="images/tu2.png" alt=""> <img src="images/tu2.png" alt="">
<p>持续优化企业融资成本 助力实体经济健康发展</p> <p>持续优化企业融资成本 助力实体经济健康发展</p>
</div> </div>
</div> </div>
</div>
<script>
var swiper = new Swiper('.image-con', {
paginationClickable: true,
centeredSlides: true,
autoplay: 5000,
autoplayDisableOnInteraction: false,
});
</script>
</div>
<div class="section main-wrap story-cont last"> <div class="section main-wrap story-cont last">
<h2 class="title">客户故事</h2> <h2 class="title">客户故事</h2>
<ul class="story-group"> <ul class="story-group">