zz-shopify-components 0.16.3-beta.3 → 0.16.3-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -80,6 +80,8 @@
|
|
|
80
80
|
@media screen and (max-width: 1023px) {
|
|
81
81
|
#shopify-block-{{block.id}} .zz-video-swiper-preview {
|
|
82
82
|
padding-bottom: 68px;
|
|
83
|
+
padding-left: 20px;
|
|
84
|
+
padding-right: 20px;
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
#shopify-block-{{block.id}} .zz-video-swiper-preview .swiper-slide .banner-item::after {
|
|
@@ -217,12 +219,9 @@
|
|
|
217
219
|
let progressTimer = null;
|
|
218
220
|
|
|
219
221
|
const prevSwiper = new Swiper(swiperClassName, {
|
|
220
|
-
{% if block.settings.if_loop == true %}
|
|
221
|
-
loop: true,
|
|
222
|
-
{% endif %}
|
|
223
222
|
slidesPerView: 'auto',
|
|
224
223
|
initialSlide: isDesktop ? 1 : 0,
|
|
225
|
-
centeredSlides: true,
|
|
224
|
+
centeredSlides: isDesktop ? true : false,
|
|
226
225
|
spaceBetween: isDesktop ? 24 : 12,
|
|
227
226
|
navigation: {
|
|
228
227
|
nextEl: '.swiper-button-next',
|
|
@@ -442,12 +441,6 @@
|
|
|
442
441
|
"default": "#000000",
|
|
443
442
|
"label": "移动端轮播导航圆圈颜色"
|
|
444
443
|
},
|
|
445
|
-
{
|
|
446
|
-
"type": "checkbox",
|
|
447
|
-
"id": "if_loop",
|
|
448
|
-
"label": "是否循环播放",
|
|
449
|
-
"default": false
|
|
450
|
-
},
|
|
451
444
|
{
|
|
452
445
|
"type": "checkbox",
|
|
453
446
|
"id": "if_autoplay",
|