更新轮播图

This commit is contained in:
cebgcontract 2022-10-24 14:13:47 +08:00
parent 258eae608e
commit 48fffac1c9
8 changed files with 12 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 902 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@ -25,16 +25,19 @@
<div class="swiper-container gallery-top">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="img/applyother/p1.jpg" />
<img src="img/applyother/b01.png" />
</div>
<div class="swiper-slide">
<img src="img/applyother/p1.jpg" />
<img src="img/applyother/b02.png" />
</div>
<div class="swiper-slide">
<img src="img/applyother/p1.jpg" />
<img src="img/applyother/b00.png" />
</div>
<div class="swiper-slide">
<img src="img/applyother/p1.jpg" />
<img src="img/applyother/b03.png" />
</div>
<div class="swiper-slide">
<img src="img/applyother/b04.png" />
</div>
</div>
</div>
@ -48,6 +51,9 @@
<div class="swiper-slide">
<img src="img/applyother/s02.png" />
</div>
<div class="swiper-slide">
<img src="img/applyother/s00.png" />
</div>
<div class="swiper-slide">
<img src="img/applyother/s03.png" />
</div>
@ -83,11 +89,12 @@
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
spaceBetween: 10,
initialSlide: 2,
});
var galleryThumbs = new Swiper('.gallery-thumbs', {
spaceBetween: 20,
touchRatio: 0.2,
initialSlide: 1,
initialSlide: 2,
slidesPerView: 'auto',
centeredSlides: true,
slideToClickedSlide: true