Index: arms/detail.html =================================================================== diff -u -rccbd1f9285183fe9b2819ddb25c64e00eb263dbb -r6ecdbd717164fb76f3f5ce7416570d20e2c41758 --- arms/detail.html (.../detail.html) (revision ccbd1f9285183fe9b2819ddb25c64e00eb263dbb) +++ arms/detail.html (.../detail.html) (revision 6ecdbd717164fb76f3f5ce7416570d20e2c41758) @@ -188,13 +188,12 @@ @@ -852,14 +851,14 @@
-
+

제품관련 파일목록

해당 탭은 제품관련 이미지, 기획서, 기타 파일들을 확인할 수 있는 탭입니다.

-
+
  • All
  • @@ -883,7 +882,12 @@

    Q & A

    제품 서비스에 대한 질문 및 답변을 확인할 수 있는 탭입니다.

-
+
+
+

+ 글 목록 +

+
@@ -894,9 +898,9 @@
-
+
-

Q & A +

질문하기

Index: arms/html/armsDetailExceptTemplate/assets/css/detail.css =================================================================== diff -u -rccbd1f9285183fe9b2819ddb25c64e00eb263dbb -r6ecdbd717164fb76f3f5ce7416570d20e2c41758 --- arms/html/armsDetailExceptTemplate/assets/css/detail.css (.../detail.css) (revision ccbd1f9285183fe9b2819ddb25c64e00eb263dbb) +++ arms/html/armsDetailExceptTemplate/assets/css/detail.css (.../detail.css) (revision 6ecdbd717164fb76f3f5ce7416570d20e2c41758) @@ -7,6 +7,10 @@ padding-bottom: 0px; } +.shadow-box { + border-top: 3px solid #d2d6de; + box-shadow: 0 0.525rem 2.55rem rgba(0,0,0,.075) !important; +} /* 파일 관련 CSS */ .portfolio .portfolio-wrap .portfolio-info { overflow-wrap: anywhere; @@ -140,8 +144,6 @@ /*height: 600px;*/ /*width: 100%;*/ margin: 2%; - border-top: 3px solid #d2d6de; - box-shadow: 0 0.525rem 2.55rem rgba(0,0,0,.075) !important; } .widget .body { @@ -524,11 +526,9 @@ position: relative; border-radius: 3px; background: #ffffff; - border-top: 3px solid #d2d6de; margin: 2%; /*width: 100%;*/ /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);*/ - box-shadow: 0 0.525rem 2.55rem rgba(0,0,0,.075) !important; padding: 10px 12px; } Index: arms/js/detail.js =================================================================== diff -u -rccbd1f9285183fe9b2819ddb25c64e00eb263dbb -r6ecdbd717164fb76f3f5ce7416570d20e2c41758 --- arms/js/detail.js (.../detail.js) (revision ccbd1f9285183fe9b2819ddb25c64e00eb263dbb) +++ arms/js/detail.js (.../detail.js) (revision 6ecdbd717164fb76f3f5ce7416570d20e2c41758) @@ -755,6 +755,18 @@ dataType: "json" }).done(function (result) { console.log(result.files); + + if (result.files.length === 0) { + let $container = $('#files-container'); + + var $noDataHtml = $(`

+
+ 등록된 파일이 없습니다. +

`); + $container.append($noDataHtml); + return; + } + let $portfolioContainer = $('.portfolio-container'); if ($portfolioContainer.length) { let portfolioIsotope = new Isotope($portfolioContainer[0], { @@ -941,17 +953,15 @@ var $chatMessages = $('#chat_messages'); $chatMessages.empty(); - console.log(data.response) + console.log(data.response); if (data.response.length === 0) { - var reqCommentList = $('#chat_messages').html(); - - if($.trim(reqCommentList) === '') { - /* 게시글이 없을 경우 처리 필요 */ - console.log('No content'); - } else { - console.log('Content exists'); - } + /* 게시글이 없을 경우 처리 필요 */ + var $noDataHtml = $(`

+ 등록된 글이 없습니다. +

`); + $chatMessages.append($noDataHtml); + return; } for (var k in data.response) {