|
|
@@ -215,7 +215,7 @@
|
|
|
<th:block th:each="ContentsData, ContentsStat : ${mainLayoutData.ContentsList}">
|
|
|
<th:block th:if="${ContentsData.contentsType!=null && ContentsData.contentsType!=''}">
|
|
|
<div class="bnnbox_crop" th:if="${ContentsData.contentsType=='1'}">
|
|
|
- <div class="" style="width: 100%;height: 230px;float: none;overflow: hidden;">
|
|
|
+ <div class=""> <!--style="width: 100%;height: 230px;float: none;overflow: hidden;"-->
|
|
|
<a th:href="${ContentsData.strVar1}" target="_blank">
|
|
|
<img th:src="${@environment.getProperty('domain.image')+ContentsData.imgPath1}" alt="">
|
|
|
</a>
|
|
|
@@ -1036,6 +1036,13 @@ if ( (navigator.appName == 'Netscape' && agent.indexOf('trident') != -1) || (age
|
|
|
delay: 3000,
|
|
|
disableOnInteraction: false,
|
|
|
},
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.post-visual .swiper-button-next',
|
|
|
prevEl: '.post-visual .swiper-button-prev',
|
|
|
@@ -1064,6 +1071,13 @@ if ( (navigator.appName == 'Netscape' && agent.indexOf('trident') != -1) || (age
|
|
|
delay: 3000,
|
|
|
disableOnInteraction: false,
|
|
|
},
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.post-visual .swiper-button-next',
|
|
|
prevEl: '.post-visual .swiper-button-prev',
|
|
|
@@ -1102,6 +1116,13 @@ var main_trendy_slide = new Swiper('.main_trendy .post-trendy', {
|
|
|
delay: 3000,
|
|
|
disableOnInteraction:false,
|
|
|
},
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.main_trendy .swiper-button-next',
|
|
|
prevEl: '.main_trendy .swiper-button-prev',
|
|
|
@@ -1208,6 +1229,13 @@ if (pickLength < 7) { //210614_ 수정 : 슬라이드 갯수 7개 미만일시
|
|
|
watchSlidesVisibility: true,
|
|
|
watchSlidesProgress: true,
|
|
|
freeMode: false,
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.main_pick .swiper-button-next',
|
|
|
prevEl: '.main_pick .swiper-button-prev',
|
|
|
@@ -1226,6 +1254,13 @@ if (pickLength < 7) { //210614_ 수정 : 슬라이드 갯수 7개 미만일시
|
|
|
watchSlidesVisibility: true,
|
|
|
watchSlidesProgress: true,
|
|
|
freeMode: false,
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.main_pick .swiper-button-next',
|
|
|
prevEl: '.main_pick .swiper-button-prev',
|
|
|
@@ -1248,6 +1283,13 @@ if (pickForLength < 7) {
|
|
|
spaceBetween: 10,
|
|
|
loopAdditionalSlides: 1,
|
|
|
allowTouchMove: false,
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
thumbs: {
|
|
|
swiper: main_pick_nav
|
|
|
},
|
|
|
@@ -1260,25 +1302,66 @@ if (pickForLength < 7) {
|
|
|
loopeSlides: 6,
|
|
|
loopAdditionalSlides: 1,
|
|
|
allowTouchMove: false,
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
thumbs: {
|
|
|
swiper: main_pick_nav
|
|
|
},
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-var main_pick_lookbook = new Swiper ('.main_pick .post-lookbook', {
|
|
|
- slidesPerView: 1,
|
|
|
- speed : 1000,
|
|
|
- loop: false,
|
|
|
- watchOverflow: true, //loop와 함께 사용 불가.
|
|
|
- autoplay: {
|
|
|
- delay: 3000,
|
|
|
- disableOnInteraction: false,
|
|
|
- },
|
|
|
- pagination: {
|
|
|
- el: '.main_pick .post-lookbook .swiper-pagination',
|
|
|
- clickable: true,
|
|
|
- },
|
|
|
+$(".main_pick .post-lookbook").each(function(index){
|
|
|
+ var lookbookBnnCont = $(this).find('.swiper-slide');
|
|
|
+ var lookbookBnnLength = lookbookBnnCont.length;
|
|
|
+ if (lookbookBnnLength < 2) {
|
|
|
+ var main_pick_lookbook = new Swiper ($(this), {
|
|
|
+ slidesPerView: 1,
|
|
|
+ speed : 1000,
|
|
|
+ loop: false,
|
|
|
+ watchOverflow: true, //loop와 함께 사용 불가.
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
+ autoplay: {
|
|
|
+ delay: 3000,
|
|
|
+ disableOnInteraction: false,
|
|
|
+ },
|
|
|
+ pagination: {
|
|
|
+ el: '.main_pick .post-lookbook .swiper-pagination',
|
|
|
+ clickable: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ var main_pick_lookbook = new Swiper ($(this), {
|
|
|
+ slidesPerView: 1,
|
|
|
+ speed : 1000,
|
|
|
+ loop: true,
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
+ autoplay: {
|
|
|
+ delay: 3000,
|
|
|
+ disableOnInteraction: false,
|
|
|
+ },
|
|
|
+ pagination: {
|
|
|
+ el: '.main_pick .post-lookbook .swiper-pagination',
|
|
|
+ clickable: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
//210705_수정 : 기획전 배너 2개이상 등록시 슬라이드 각각 실행.
|
|
|
@@ -1293,6 +1376,13 @@ $(".main_1stage .post-bnnWide").each(function(index){
|
|
|
initialSlide: 0,
|
|
|
loop: false,
|
|
|
watchOverflow: true, //loop와 함께 사용 불가.
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.main_1stage .swiper-button-next',
|
|
|
prevEl: '.main_1stage .swiper-button-prev',
|
|
|
@@ -1311,6 +1401,13 @@ $(".main_1stage .post-bnnWide").each(function(index){
|
|
|
delay: 4000,
|
|
|
disableOnInteraction: false,
|
|
|
},
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.main_1stage .swiper-button-next',
|
|
|
prevEl: '.main_1stage .swiper-button-prev',
|
|
|
@@ -1340,6 +1437,13 @@ function init(){
|
|
|
speed : 1000,
|
|
|
spaceBetween: 20,
|
|
|
loop : true,
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
pagination: {
|
|
|
el: '.main_recomm .swiper-pagination',
|
|
|
clickable: true,
|
|
|
@@ -1366,6 +1470,13 @@ var main_foryou_slide = new Swiper ('.main_foryou .post-sug .swiper-container',
|
|
|
delay: 25000,
|
|
|
disableOnInteraction: false,
|
|
|
},
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
pagination: {
|
|
|
el: '.post-sug .swiper-pagination',
|
|
|
clickable: true,
|
|
|
@@ -1447,6 +1558,13 @@ if (mainTvLength < 2) {
|
|
|
centeredSlides: true,
|
|
|
speed : 1000,
|
|
|
autoplay: false,
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.main_tv .swiper-button-next',
|
|
|
prevEl: '.main_tv .swiper-button-prev',
|
|
|
@@ -1464,6 +1582,13 @@ if (mainTvLength < 2) {
|
|
|
centeredSlides: true,
|
|
|
speed : 1000,
|
|
|
autoplay: false,
|
|
|
+ a11y: {
|
|
|
+ enabled: true,
|
|
|
+ notificationClass: 'swiper-notification',
|
|
|
+ prevSlideMessage: '이전 슬라이드',
|
|
|
+ nextSlideMessage: '다음 슬라이드',
|
|
|
+ paginationBulletMessage: '슬라이드 {{index}}로 이동',
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.main_tv .swiper-button-next',
|
|
|
prevEl: '.main_tv .swiper-button-prev',
|