|
|
@@ -36,7 +36,7 @@
|
|
|
<div class="swiper-slide">
|
|
|
<th:block th:if="${ContentsData.imgPath1!=null && ContentsData.imgPath1!=''}">
|
|
|
<div class="txtWrap">
|
|
|
- <dl class="w">
|
|
|
+ <dl class="w" id="textArea">
|
|
|
<dd class="bMainTitle">
|
|
|
<input type="hidden" name="mainTitle" th:value="${ContentsData.strTitle1}"/>
|
|
|
</dd>
|
|
|
@@ -507,7 +507,22 @@ var fnGoodsPopup = function(obj1,obj2,obj3,obj4,obj5,obj6,obj7){
|
|
|
}
|
|
|
|
|
|
$(document).ready( function() {
|
|
|
-
|
|
|
+ // 브랜드메인 첫번째 컨텐츠가 메인배너가 아닐때 처리
|
|
|
+ $.each(brandMainLayoutList, function (idx, item){
|
|
|
+ let firstLoc = '';
|
|
|
+ if(item.contentsLoc!='SBM001'&&item.contentsLoc!='SBM002'&&item.contentsLoc!='SBM003'){
|
|
|
+ firstLoc = item.contentsLoc;
|
|
|
+ if(firstLoc=='SBM004'){
|
|
|
+ return false;
|
|
|
+ }else{
|
|
|
+ $("#container").css('backgroundColor','#fff');
|
|
|
+ $(".brand_visual .swiper-slide").each(function (idx,item){
|
|
|
+ $(this).find('[id=textArea]').removeClass();
|
|
|
+ });
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
// 컨텐츠 호출
|
|
|
//$("#br_header").load("br_head.html");
|
|
|
//$("#footer").load("foot.html");
|