Commit 1ccd9273 authored by Sergey's avatar Sergey

Add product info

parent 0ce63eb8
...@@ -8,4 +8,6 @@ ...@@ -8,4 +8,6 @@
//= template/product-main/index.html //= template/product-main/index.html
//= template/product-info/index.html
//= template/common/footer.html //= template/common/footer.html
\ No newline at end of file
...@@ -14,6 +14,12 @@ ...@@ -14,6 +14,12 @@
direction: 'horizontal', direction: 'horizontal',
slidesPerView: 3, slidesPerView: 3,
loop: false, loop: false,
simulateTouch: false,
spaceBetween: 4,
pagination: {
el: '.swiper-pagination-gallery',
clickable: true
}
}); });
}); });
})(); })();
\ No newline at end of file
...@@ -43,3 +43,15 @@ ...@@ -43,3 +43,15 @@
.product__gallery-item.active{ .product__gallery-item.active{
border: 1px solid black; border: 1px solid black;
} }
.swiper-pagination-gallery{
text-align: center;
}
.swiper-pagination-bullet{
width: 30px;
border-radius: 20px;
outline: none;
}
.swiper-pagination-bullet-active{
background: $red-color;
}
<p>dadas</p>
\ No newline at end of file
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<img src="img/galley-item.png"> <img src="img/galley-item.png">
</li> </li>
</ul> </ul>
<div class="swiper-pagination-gallery"></div>
</div> </div>
</div> </div>
<div class="product__main-bl product__main-image"> <div class="product__main-bl product__main-image">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment