|
|
@@ -46,7 +46,7 @@
|
|
|
</div>
|
|
|
|
|
|
<th:block th:if="${cartSize>0}">
|
|
|
- <div class="content od_recommend">
|
|
|
+ <div class="content od_recommend" style="display:none;">
|
|
|
<div class="cont_head">
|
|
|
<h4 class="subH1 t_c mb40">추천상품</h4>
|
|
|
</div>
|
|
|
@@ -88,7 +88,7 @@
|
|
|
</th:block>
|
|
|
|
|
|
<th:block th:if="${cartSize == null or cartSize == 0}">
|
|
|
- <div class="content od_recommend od_realtime">
|
|
|
+ <div class="content od_recommend od_realtime" style="display:none;">
|
|
|
<div class="cont_head">
|
|
|
<h4 class="subH1 t_c mb40">지금 많이 보고 있어요</h4>
|
|
|
</div>
|
|
|
@@ -300,37 +300,6 @@
|
|
|
$(this).parent().parent().parent().find(".color").text(optColor);
|
|
|
return false;
|
|
|
});
|
|
|
-
|
|
|
- $(function(){
|
|
|
- //추천상품 슬라이드
|
|
|
- var rcmdItemSwiper = new Swiper('.od_recommend .swiper-container', {
|
|
|
- slidesPerView: 5,
|
|
|
- slidesPerGroup: 5, //210708_ 추가 : 슬라이드 전환시 5개씩 이동.
|
|
|
- spaceBetween: 20,
|
|
|
- navigation: {
|
|
|
- nextEl: '.od_recommend .swiper-button-next',
|
|
|
- prevEl: '.od_recommend .swiper-button-prev',
|
|
|
- },
|
|
|
- pagination: {
|
|
|
- el: '.od_recommend .swiper-pagination',
|
|
|
- clickable: true,
|
|
|
- },
|
|
|
- });
|
|
|
- //지금 많이 보고 있어요 슬라이드
|
|
|
- var realtimeItemSwiper = new Swiper('.od_realtime .swiper-container', {
|
|
|
- slidesPerView: 5,
|
|
|
- slidesPerGroup: 5, //210708_ 추가 : 슬라이드 전환시 5개씩 이동.
|
|
|
- spaceBetween: 20,
|
|
|
- navigation: {
|
|
|
- nextEl: '.od_realtime .swiper-button-next',
|
|
|
- prevEl: '.od_realtime .swiper-button-prev',
|
|
|
- },
|
|
|
- pagination: {
|
|
|
- el: '.od_realtime .swiper-pagination',
|
|
|
- clickable: true,
|
|
|
- },
|
|
|
- });
|
|
|
- });
|
|
|
</script>
|
|
|
<!--네이버페이 전환스크립트를 이용하여 전환값 설정-->
|
|
|
<script th:inline="javascript">
|