|
|
@@ -755,13 +755,23 @@
|
|
|
let tag = '';
|
|
|
if(item.contentsType == 'OPEN'){
|
|
|
tag +='<div class="bnrtype_open" style="background-color:#'+item.strVar5+';">';
|
|
|
- tag +=' <a href="'+item.strVar1+'" target="">';
|
|
|
- tag +=' <img src="'+bannerImgUrl+''+item.imgPath1+'" alt="">';
|
|
|
- tag +=' <div class="open_bnr_area">';
|
|
|
- tag +=' <img src="'+bannerImgUrl+''+item.imgPath2+'" alt=""/>';
|
|
|
- tag +=' </div>';
|
|
|
- tag +=' </a>';
|
|
|
- tag +=' <button class="btn_toggle_bnr"><span>열기</span></button>';
|
|
|
+ if(item.strVar7=='IMG'){
|
|
|
+ tag +=' <a href="'+item.strVar1+'" target="">';
|
|
|
+ tag +=' <img src="'+bannerImgUrl+''+item.imgPath1+'" alt="">';
|
|
|
+ tag +=' <div class="open_bnr_area">';
|
|
|
+ tag +=' <img src="'+bannerImgUrl+''+item.imgPath2+'" alt=""/>';
|
|
|
+ tag +=' </div>';
|
|
|
+ tag +=' </a>';
|
|
|
+ tag +=' <button class="btn_toggle_bnr"><span>열기</span></button>';
|
|
|
+ }else{
|
|
|
+ tag +=' <a href="'+item.strVar1+'" target="">';
|
|
|
+ tag +=' <img src="'+bannerImgUrl+''+item.imgPath1+'" alt="">';
|
|
|
+ tag +=' <div class="open_bnr_area">';
|
|
|
+ tag += ' '+item.html+' ';
|
|
|
+ tag +=' </div>';
|
|
|
+ tag +=' </a>';
|
|
|
+ tag +=' <button class="btn_toggle_bnr"><span>열기</span></button>';
|
|
|
+ }
|
|
|
tag +='</div>';
|
|
|
if(item.strVar8=='Y'){
|
|
|
tag+='<div class="close_bnr_area">';
|