|
|
@@ -301,7 +301,7 @@ if(goods1 != null || goods1 != ''){
|
|
|
html += '<div class="cont_head">';
|
|
|
html += ' <div>';
|
|
|
html += ' <h4>';
|
|
|
- if (template[i].linkUrl != null || template[i].linkUrl != '') { /* 링크 변경 예정 */
|
|
|
+ if (template[i].linkUrl != null && template[i].linkUrl != '') { /* 링크 변경 예정 */
|
|
|
html += ' <a href="http://'+template[i].linkUrl+'" target="_blank">'+template[i].title+'</a>';
|
|
|
}else{
|
|
|
html += ' <a href="javascript:void(0)">'+template[i].title+'</a>';
|
|
|
@@ -366,7 +366,7 @@ if(goods2 != null || goods2 != ''){
|
|
|
html += '<div class="cont_head">';
|
|
|
html += ' <div>';
|
|
|
html += ' <h4>';
|
|
|
- if (template[i].linkUrl != null || template[i].linkUrl != ' ' ||typeof template[i].linkUrl != 'undefined') { /* 링크 변경 예정 */
|
|
|
+ if (template[i].linkUrl != null && template[i].linkUrl != '') { /* 링크 변경 예정 */
|
|
|
html+=' <a href="http://'+template[i].linkUrl+'" target="_blank">'+template[i].title+'</a>';
|
|
|
}else{
|
|
|
html+=' <a href="javascript:void(0)">'+template[i].title+'</a>';
|
|
|
@@ -434,7 +434,7 @@ if(goods4 != null || goods4 != ''){
|
|
|
html += '<div class="cont_head">';
|
|
|
html += '<div>';
|
|
|
html += ' <h4>';
|
|
|
- if (template[i].linkUrl != null || template[i].linkUrl != ' ' ||typeof template[i].linkUrl != 'undefined') { /* 링크 변경 예정 */
|
|
|
+ if (template[i].linkUrl != null && template[i].linkUrl != '') { /* 링크 변경 예정 */
|
|
|
html+=' <a href="http://'+template[i].linkUrl+'" target="_blank">'+template[i].title+'</a>';
|
|
|
}else{
|
|
|
html+=' <a href="javascript:void(0)">'+template[i].title+'</a>';
|
|
|
@@ -550,11 +550,12 @@ if(coupon != null || coupon != ''){
|
|
|
html += ' <p>유의사항</p>';
|
|
|
html += ' </div>';
|
|
|
html += ' <div class="announce_list">';
|
|
|
- html += ' <ul>';
|
|
|
+ html += coupon[0].note;
|
|
|
+/* html += ' <ul>';
|
|
|
html += ' <li>쿠폰 발급 기간 :'+ plan.dispStdt +'~'+ plan.dispEddt +'</li>';
|
|
|
html += ' <li>본 쿠폰은 해당 기획전 상품에만 적용 가능합니다.</li>';
|
|
|
html += ' <li>본 쿠폰은 해당 기획전 다운로드 버튼을 통해 발급받으실 수 있습니다.</li>';
|
|
|
- html += ' </ul>';
|
|
|
+ html += ' </ul>'; */
|
|
|
html += ' </div>';
|
|
|
html += ' </div>';
|
|
|
html += '</div>';
|