|
@@ -58,7 +58,7 @@
|
|
|
|
|
|
|
|
<th:block th:if="${contentsLoc=='002'}">
|
|
<th:block th:if="${contentsLoc=='002'}">
|
|
|
<!-- 2. 스타일리포트 -->
|
|
<!-- 2. 스타일리포트 -->
|
|
|
- <div class="inner bg_gray">
|
|
|
|
|
|
|
+ <div class="inner bg_gray" th:if="${mainData.ContentsList != null and !mainData.ContentsList.empty}">
|
|
|
<div class="main_stylereport">
|
|
<div class="main_stylereport">
|
|
|
<th:block th:if="${mainData.contentsTitle != null and !mainData.contentsTitle.empty}">
|
|
<th:block th:if="${mainData.contentsTitle != null and !mainData.contentsTitle.empty}">
|
|
|
<div class="titWrap">
|
|
<div class="titWrap">
|
|
@@ -795,6 +795,8 @@
|
|
|
}
|
|
}
|
|
|
// 컨텐츠 호출
|
|
// 컨텐츠 호출
|
|
|
$(document).ready(function() {
|
|
$(document).ready(function() {
|
|
|
|
|
+ post_visual.slideTo(2, 0, false); // 접속 시, 슬라이드페이지 이동
|
|
|
|
|
+
|
|
|
// 몰메인 띠배너 표출
|
|
// 몰메인 띠배너 표출
|
|
|
$("#divTopbanner").show();
|
|
$("#divTopbanner").show();
|
|
|
|
|
|
|
@@ -862,10 +864,12 @@
|
|
|
$("#pickBtn"+(idx+1)).click();
|
|
$("#pickBtn"+(idx+1)).click();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
/*]]>*/
|
|
/*]]>*/
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
|
|
|
+ //210624_ 추가 : 슬라이드 속성 추가.
|
|
|
// post-visual
|
|
// post-visual
|
|
|
// 비주얼 슬라이드 카운팅
|
|
// 비주얼 슬라이드 카운팅
|
|
|
var pickvisualCont = $('.post-visual .swiper-slide');
|
|
var pickvisualCont = $('.post-visual .swiper-slide');
|
|
@@ -875,6 +879,7 @@
|
|
|
var post_visual = new Swiper('.swiper-container.post-visual', {
|
|
var post_visual = new Swiper('.swiper-container.post-visual', {
|
|
|
autoplay: false,
|
|
autoplay: false,
|
|
|
loop:false,
|
|
loop:false,
|
|
|
|
|
+ speed:1000,
|
|
|
// pagination: false,
|
|
// pagination: false,
|
|
|
pagination: {
|
|
pagination: {
|
|
|
el: '.swiper-pagination',
|
|
el: '.swiper-pagination',
|
|
@@ -884,8 +889,10 @@
|
|
|
} else {
|
|
} else {
|
|
|
var post_visual = new Swiper('.swiper-container.post-visual', {
|
|
var post_visual = new Swiper('.swiper-container.post-visual', {
|
|
|
slideTo: 2,
|
|
slideTo: 2,
|
|
|
|
|
+ speed:1000,
|
|
|
autoplay: {
|
|
autoplay: {
|
|
|
delay: 3000,
|
|
delay: 3000,
|
|
|
|
|
+ disableOnInteraction: false,
|
|
|
},
|
|
},
|
|
|
loop:true,
|
|
loop:true,
|
|
|
pagination: {
|
|
pagination: {
|
|
@@ -898,6 +905,7 @@
|
|
|
|
|
|
|
|
// post-trendy
|
|
// post-trendy
|
|
|
var post_trendy = new Swiper('.swiper-container.post-trendy', {
|
|
var post_trendy = new Swiper('.swiper-container.post-trendy', {
|
|
|
|
|
+ speed:1000,
|
|
|
pagination: {
|
|
pagination: {
|
|
|
el: '.swiper-pagination',
|
|
el: '.swiper-pagination',
|
|
|
},
|
|
},
|
|
@@ -905,7 +913,7 @@
|
|
|
|
|
|
|
|
// post-it
|
|
// post-it
|
|
|
var post_it = new Swiper('.swiper-container.post-it', {
|
|
var post_it = new Swiper('.swiper-container.post-it', {
|
|
|
- slidesPerView: 2,
|
|
|
|
|
|
|
+ slidesPerView: 2.22,
|
|
|
spaceBetween: 8,
|
|
spaceBetween: 8,
|
|
|
observer: true,
|
|
observer: true,
|
|
|
observeParents: true,
|
|
observeParents: true,
|
|
@@ -924,6 +932,7 @@
|
|
|
// post-stylereport
|
|
// post-stylereport
|
|
|
var post_stylereport = new Swiper('.swiper-container.post-stylereport', {
|
|
var post_stylereport = new Swiper('.swiper-container.post-stylereport', {
|
|
|
slidesPerView: 1,
|
|
slidesPerView: 1,
|
|
|
|
|
+ speed:1000,
|
|
|
pagination: {
|
|
pagination: {
|
|
|
el: '.swiper-pagination',
|
|
el: '.swiper-pagination',
|
|
|
},
|
|
},
|
|
@@ -945,7 +954,7 @@
|
|
|
//post-pick-head
|
|
//post-pick-head
|
|
|
var Head_pick = new Swiper(".pick-head", {
|
|
var Head_pick = new Swiper(".pick-head", {
|
|
|
slidesPerView: "auto",
|
|
slidesPerView: "auto",
|
|
|
- spaceBetween: 20,
|
|
|
|
|
|
|
+ spaceBetween: 0,
|
|
|
autoHeight: true,
|
|
autoHeight: true,
|
|
|
preventClicks: true,
|
|
preventClicks: true,
|
|
|
preventClicksPropagation: false,
|
|
preventClicksPropagation: false,
|
|
@@ -979,7 +988,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
setTimeout(function(){snbwrap.css({
|
|
setTimeout(function(){snbwrap.css({
|
|
|
- "transform": "translate3d("+ (pos*-2) +"px, 0, 0)",
|
|
|
|
|
|
|
+ "transform": "translate3d("+ (pos*-1) +"px, 0, 0)",
|
|
|
"transition-duration": "500ms"
|
|
"transition-duration": "500ms"
|
|
|
})}, 200);
|
|
})}, 200);
|
|
|
}
|
|
}
|
|
@@ -995,9 +1004,10 @@
|
|
|
var post_pick = new Swiper(".pick-cont .swiper-container", {
|
|
var post_pick = new Swiper(".pick-cont .swiper-container", {
|
|
|
//slidesPerView: 1,
|
|
//slidesPerView: 1,
|
|
|
watchOverflow:true, //210520_ 추가 : 슬라이드 1개일 경우 롤링 제거.
|
|
watchOverflow:true, //210520_ 추가 : 슬라이드 1개일 경우 롤링 제거.
|
|
|
|
|
+ speed: 1000,
|
|
|
//210520_ 추가 : 자동재생 시간 추가.
|
|
//210520_ 추가 : 자동재생 시간 추가.
|
|
|
autoplay: {
|
|
autoplay: {
|
|
|
- delay: 4000,
|
|
|
|
|
|
|
+ delay: 3000,
|
|
|
disableOnInteraction: false,
|
|
disableOnInteraction: false,
|
|
|
},
|
|
},
|
|
|
observer: true,
|
|
observer: true,
|
|
@@ -1044,9 +1054,9 @@
|
|
|
var post_bnnWide = new Swiper ('.swiper-container.post-bnnWide', {
|
|
var post_bnnWide = new Swiper ('.swiper-container.post-bnnWide', {
|
|
|
loop: true,
|
|
loop: true,
|
|
|
slidesPerView: 1,
|
|
slidesPerView: 1,
|
|
|
- speed : 1500,
|
|
|
|
|
|
|
+ speed : 1000,
|
|
|
autoplay: {
|
|
autoplay: {
|
|
|
- delay: 4000,
|
|
|
|
|
|
|
+ delay: 3000,
|
|
|
disableOnInteraction: false,
|
|
disableOnInteraction: false,
|
|
|
},
|
|
},
|
|
|
pagination: {
|
|
pagination: {
|
|
@@ -1062,6 +1072,7 @@
|
|
|
if (pickbnnEvLength < 2) {
|
|
if (pickbnnEvLength < 2) {
|
|
|
var post_bnnEvent = new Swiper ('.swiper-container.post-bnnEvent', {
|
|
var post_bnnEvent = new Swiper ('.swiper-container.post-bnnEvent', {
|
|
|
loop: false,
|
|
loop: false,
|
|
|
|
|
+ speed : 1000,
|
|
|
autoplay: false,
|
|
autoplay: false,
|
|
|
pagination:false,
|
|
pagination:false,
|
|
|
});
|
|
});
|
|
@@ -1069,9 +1080,9 @@
|
|
|
var post_bnnEvent = new Swiper ('.swiper-container.post-bnnEvent', {
|
|
var post_bnnEvent = new Swiper ('.swiper-container.post-bnnEvent', {
|
|
|
loop: true,
|
|
loop: true,
|
|
|
slidesPerView: 1,
|
|
slidesPerView: 1,
|
|
|
- speed : 1500,
|
|
|
|
|
|
|
+ speed : 1000,
|
|
|
autoplay: {
|
|
autoplay: {
|
|
|
- delay: 4000,
|
|
|
|
|
|
|
+ delay: 3000,
|
|
|
disableOnInteraction: false,
|
|
disableOnInteraction: false,
|
|
|
},
|
|
},
|
|
|
pagination: {
|
|
pagination: {
|
|
@@ -1086,7 +1097,6 @@
|
|
|
pagination: {
|
|
pagination: {
|
|
|
el: '.swiper-pagination',
|
|
el: '.swiper-pagination',
|
|
|
},
|
|
},
|
|
|
- //autoHeight: true,
|
|
|
|
|
autoplay: {
|
|
autoplay: {
|
|
|
delay: 24700,
|
|
delay: 24700,
|
|
|
disableOnInteraction: false,
|
|
disableOnInteraction: false,
|
|
@@ -1180,33 +1190,27 @@
|
|
|
}
|
|
}
|
|
|
var stopInter = startTimeInterval();
|
|
var stopInter = startTimeInterval();
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ //setTimeout(function () {
|
|
|
|
|
+ // foryouInterval(foryouIndex);
|
|
|
|
|
+ // if (foryouIndex >= 5) foryouIndex = 0;
|
|
|
|
|
+ // foryouIndex++;
|
|
|
|
|
+ //}, 2000);
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
var post_sug_items = new Swiper ('.swiper-container.post-sug-items', {
|
|
var post_sug_items = new Swiper ('.swiper-container.post-sug-items', {
|
|
|
slidesPerView: 3,
|
|
slidesPerView: 3,
|
|
|
spaceBetween: 10,
|
|
spaceBetween: 10,
|
|
|
- speed : 800,
|
|
|
|
|
- //autoplay: {
|
|
|
|
|
- // delay: 3000,
|
|
|
|
|
- // disableOnInteraction: false,
|
|
|
|
|
- //},
|
|
|
|
|
|
|
+ speed : 1000,
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
// post-tv
|
|
// post-tv
|
|
|
var post_tv = new Swiper ('.post-tv', {
|
|
var post_tv = new Swiper ('.post-tv', {
|
|
|
loop: true,
|
|
loop: true,
|
|
|
- // slidesPerView: 2,
|
|
|
|
|
- // spaceBetween: 20,
|
|
|
|
|
centeredSlides: true,
|
|
centeredSlides: true,
|
|
|
- speed : 800,
|
|
|
|
|
- // effect: 'fade',
|
|
|
|
|
|
|
+ speed : 1000,
|
|
|
autoplay: false,
|
|
autoplay: false,
|
|
|
- //autoplay: {
|
|
|
|
|
- // delay: 10000,
|
|
|
|
|
- // disableOnInteraction: false,
|
|
|
|
|
- //},
|
|
|
|
|
- // navigation: {
|
|
|
|
|
- // nextEl: '.main_tv .swiper-button-next',
|
|
|
|
|
- // prevEl: '.main_tv .swiper-button-prev',
|
|
|
|
|
- // },
|
|
|
|
|
pagination: {
|
|
pagination: {
|
|
|
el: '.main_tv .swiper-pagination',
|
|
el: '.main_tv .swiper-pagination',
|
|
|
clickable: true,
|
|
clickable: true,
|