Task 10121 | fix: поправили прайсы цен для карт, которые некорректно выводятся при заполнении из админки

This commit is contained in:
Боевой сайт - fakel
2025-11-21 21:11:51 +03:00
parent 21562852ca
commit 2ac2340779
57 changed files with 7935 additions and 14019 deletions

View File

@@ -22,17 +22,22 @@ function initGalleryBlock(blockId) {
thumbnailSwipers[tabId] = new Swiper(`#${blockId} #thumbnail-swiper-${tabId}`, {
slidesPerView: 'auto',
spaceBetween: 24,
spaceBetween: 5,
freeMode: true,
grabCursor: true,
watchSlidesProgress: true,
breakpoints: {
768: {
spaceBetween: 24
}
}
});
swipers[tabId] = new Swiper(`#${blockId} #swiper-${tabId}`, {
slidesPerView: 'auto',
spaceBetween: 24,
centeredSlides: true,
initialSlide: 1,
spaceBetween: 12,
centeredSlides: false,
initialSlide: 0,
scrollbar: {
el: `#swiper-scrollbar-${tabId}`,
draggable: true,
@@ -48,6 +53,11 @@ function initGalleryBlock(blockId) {
updateThumbnails(tabId, this.realIndex);
centerThumbnail(tabId, this.realIndex);
}
},
breakpoints: {
768: {
spaceBetween: 24
}
}
});