|
|
@@ -21,9 +21,9 @@
|
|
|
<th:block layout:fragment="content">
|
|
|
|
|
|
<!-- 이벤트를 위한 임시 script 및 style 추가 시작 (21.10.22 by junghwan) -->
|
|
|
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/bxslider/4.2.12/jquery.bxslider.css" th:if="${planInfo.planSq}==38 or ${planInfo.planSq}==43 or ${planInfo.planSq}==49">
|
|
|
+<link rel="stylesheet" th:href="${@environment.getProperty('domain.uximage')} + '/ux/jquery.bxslider.css'" th:if="${planInfo.planSq}==38 or ${planInfo.planSq}==43 or ${planInfo.planSq}==49 or ${planInfo.planSq}==56">
|
|
|
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js" th:if="${planInfo.planSq}==38 or ${planInfo.planSq}==43"></script> -->
|
|
|
-<script src="https://cdn.jsdelivr.net/bxslider/4.2.12/jquery.bxslider.min.js" th:if="${planInfo.planSq}==38 or ${planInfo.planSq}==43 or ${planInfo.planSq}==49"></script>
|
|
|
+<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/jquery.bxslider.min.js'" th:if="${planInfo.planSq}==38 or ${planInfo.planSq}==43 or ${planInfo.planSq}==49 or ${planInfo.planSq}==56"></script>
|
|
|
<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/mo/js/all.min.js'" th:if="${planInfo.planSq}==49"></script>
|
|
|
|
|
|
<!-- 스타일데이 -->
|
|
|
@@ -196,6 +196,81 @@
|
|
|
.linkBox_right2 img{max-width:300px; width:100%;}
|
|
|
.gift-modal-info{position:absolute; top:60px;}
|
|
|
</style>
|
|
|
+<!-- 다이어리 사은품 -->
|
|
|
+<script th:if="${planInfo.planSq}==56">
|
|
|
+$(function () {
|
|
|
+ $('.gift_slider2').bxSlider(
|
|
|
+ {wrapperClass: 'sliderwrap4', auto: true, speed: 300, controls: false}
|
|
|
+ );
|
|
|
+});
|
|
|
+$(document).ready(function () {
|
|
|
+ $("#modal-gift2").click(function () {
|
|
|
+ $("#giftPop2").css('display', 'block');
|
|
|
+ $("body").addClass('ohidden');
|
|
|
+ });
|
|
|
+ $("#modal-gift3").click(function () {
|
|
|
+ $("#giftPop3").css('display', 'block');
|
|
|
+ $("body").addClass('ohidden');
|
|
|
+ });
|
|
|
+ $("#close-modal").click(function () {
|
|
|
+ $("#giftPop2").css('display', 'none');
|
|
|
+ $("body").removeClass('ohidden');
|
|
|
+ location.reload();
|
|
|
+ });
|
|
|
+ $("#close-modal2").click(function () {
|
|
|
+ $("#giftPop3").css('display', 'none');
|
|
|
+ $("body").removeClass('ohidden');
|
|
|
+ location.reload();
|
|
|
+ });
|
|
|
+});
|
|
|
+
|
|
|
+</script>
|
|
|
+<style type="text/css" th:if="${planInfo.planSq}==56">
|
|
|
+/* 처음 - (11월) 이번에 새로 추가된 css */
|
|
|
+ .pm_gift_red{padding:5rem 0 1rem; background:#ff3849; background-size: cover; text-align:center;}
|
|
|
+ .pm_gift_orange{padding:5rem 0 1rem; background:#fd9357; background-size: cover; text-align:center;}
|
|
|
+ .sliderwrap4{position:relative; max-width:860px; width:100%; margin-bottom:60px; text-align: center;}
|
|
|
+ .sliderwrap4 .bx-pager{position:absolute; width:100%; left:50%; bottom:-30px; transform:translateX(-50%);}
|
|
|
+ .sliderwrap4 .bx-pager div{display:inline-block;padding:0 3px;}
|
|
|
+ .sliderwrap4 .bx-pager div a{display:block; width:6px; height:6px; background:#fff; border-radius:100%; color:transparent; font-size:0px;}
|
|
|
+ .sliderwrap4 .bx-pager div .active{background:#000;}
|
|
|
+ .gift_box2 .gift_section #modal-gift3{position:absolute; bottom:2rem; left:50%; transform: translateX(-50%); max-width:18rem;;}
|
|
|
+ .gift_box2 .gift_section #modal-gift3 img{width:100%;}
|
|
|
+ #giftPop3 {position: fixed; top: 0; right: 0;bottom: 0;left: 0;width: 100%;height: 100%;overflow: auto;z-index: 999;padding: 0;box-sizing: border-box;
|
|
|
+ background-color: #fff;text-align: center;}
|
|
|
+ .gift_box3{margin:3rem auto 2rem; max-width:1080px;}
|
|
|
+ .gift_box3 .gift_section{width:100%; width:auto; padding:0 2.2rem;}
|
|
|
+ .gift_box3 p{font-size:18px;}
|
|
|
+ .gift_box3 .gift_section{position:relative;}
|
|
|
+ .gift_box3 .gift_section #modal-gift2, .gift_box3 .gift_section #modal-gift3{position:absolute; bottom:2rem; left:50%; transform: translateX(-50%); max-width:18rem;;}
|
|
|
+ .gift_box3 .gift_section #modal-gift2 img, .gift_box3 .gift_section #modal-gift3 img{width:100%;}
|
|
|
+ /* 끝 - (11월) 이번에 새로 추가된 css */
|
|
|
+
|
|
|
+ .gift_box2{margin:5rem auto; max-width:1080px;}
|
|
|
+ .gift_box2 .gift_section{width:100%; width:auto; padding:0 2.2rem;}
|
|
|
+ .gift_box2 p{font-size:18px;}
|
|
|
+ .gift_box2 .gift_section{position:relative;}
|
|
|
+ .gift_box2 .gift_section #modal-gift2{position:absolute; bottom:2rem; left:50%; transform: translateX(-50%); max-width:18rem;;}
|
|
|
+ .gift_box2 .gift_section #modal-gift2 img{width:100%;}
|
|
|
+ .sliderwrap3{position:relative; width:100%; margin-bottom:80px; text-align: center;}
|
|
|
+ .sliderwrap3 .bx-pager{position:absolute; left:50%; bottom:-2rem; transform:translateX(-50%);}
|
|
|
+ .sliderwrap3 .bx-pager div{display:inline-block;padding:0 3px;}
|
|
|
+ .sliderwrap3 .bx-pager div a{display:block; width:6px; height:6px; background:#fff; border-radius:100%; color:transparent; font-size:0px;}
|
|
|
+ .sliderwrap3 .bx-pager div .active{background:#fd4802;}
|
|
|
+ .gift_slider2 li{text-align:right;}
|
|
|
+
|
|
|
+ #giftPop2 {position: fixed; top: 0; right: 0;bottom: 0;left: 0;width: 100%;height: 100%;overflow: auto;z-index: 999;padding: 0;box-sizing: border-box;
|
|
|
+background-color: #fff;text-align: center;}
|
|
|
+ .ohidden{overflow:hidden;}
|
|
|
+ .green_section{background-color:#638b57; text-align:center; padding:6rem 2rem;}
|
|
|
+
|
|
|
+ .brandSection_Link2{max-width:960px; overflow:hidden; margin:0 auto; border-bottom:1px solid #000;}
|
|
|
+ .linkBox_left2{float:left; width:50%; text-align:center; border-top:1px solid #000; border-left:1px solid #000; border-right:1px solid #000; box-sizing: border-box;}
|
|
|
+ .linkBox_left2 img{max-width:300px; width:100%;}
|
|
|
+ .linkBox_right2{float:right; width:50%; text-align:center;border-top:1px solid #000; border-right:1px solid #000; box-sizing: border-box;}
|
|
|
+ .linkBox_right2 img{max-width:300px; width:100%;}
|
|
|
+ .gift-modal-info{position:absolute; top:60px;}
|
|
|
+</style>
|
|
|
<!-- 이벤트를 위한 임시 script 및 style 추가 종료 (21.10.22 by junghwan) -->
|
|
|
|
|
|
<main role="" id="" class="container dp">
|