<기능개선>

통합테스트목록 - {513}
FO/Views/Course/SmartSearch.cshtml
스마트검색 화면 문구삭제
스마트검색 화면 강좌소개클릭시 하단 설명란 추가
This commit is contained in:
kdh0120 2021-11-09 23:53:42 +00:00
parent 11852bce8e
commit ed8de3ed36
1 changed files with 36 additions and 5 deletions

View File

@ -70,7 +70,6 @@
@if(Model.stringval2 == "2") @if(Model.stringval2 == "2")
{ {
<p class='subDsc' style='color:red;'>※ 온라인 교육은 입금완료시 교육이 바로 시작되며 동영상 시청이 가능합니다</p> <p class='subDsc' style='color:red;'>※ 온라인 교육은 입금완료시 교육이 바로 시작되며 동영상 시청이 가능합니다</p>
@:※ 각 기수별 <span style='color:red;'>교육종료일을 꼭 확인하시고</span> 교육신청 부탁드립니다.
} }
<input type="hidden" id="hidCmno" /> <input type="hidden" id="hidCmno" />
<ul class="smtList" style="margin-bottom:150px"> <ul class="smtList" style="margin-bottom:150px">
@ -134,14 +133,26 @@
</div> </div>
</li> </li>
</ul> </ul>
<dl class="fairIntro"> <dl class="fairIntro spnCmUsername" style="display:none;">
<dt>강사정보</dt> <dt>강사정보</dt>
<dd><span id="spnCmUsername"></span></dd> <dd><span id="spnCmUsername"></span></dd>
</dl> </dl>
<dl class="fairIntro"> <dl class="fairIntro spnCmIntroHtml" style="display:none;">
<dt>강좌소개</dt> <dt>강좌소개</dt>
<div id="spnCmIntroHtml"></div> <div id="spnCmIntroHtml"></div>
</dl> </dl>
<dl class="fairIntro spnCmTargetHtml" style="display:none;">
<dt>학습대상</dt>
<div id="spnCmTargetHtml"></div>
</dl>
<dl class="fairIntro spnCmGoalHtml" style="display:none;">
<dt>학습목표</dt>
<div id="spnCmGoalHtml"></div>
</dl>
<dl class="fairIntro spnCmContentHtml" style="display:none;">
<dt>학습내용</dt>
<div id="spnCmContentHtml"></div>
</dl>
</div><!-- clsPopCont --> </div><!-- clsPopCont -->
</div><!-- clsPopWrap --> </div><!-- clsPopWrap -->
</div> </div>
@ -219,6 +230,11 @@
}); });
function openIntro(cmno) { function openIntro(cmno) {
$(".spnCmUsername").hide();
$(".spnCmIntroHtml").hide();
$(".spnCmTargetHtml").hide();
$(".spnCmGoalHtml").hide();
$(".spnCmContentHtml").hide();
$("#divIntro").show(); $("#divIntro").show();
capp("/focommon/getcmuser", { cmno: cmno }, "renderCmNo"); capp("/focommon/getcmuser", { cmno: cmno }, "renderCmNo");
} }
@ -240,10 +256,25 @@
$("#spnCmAttend").text(d.attendcut); $("#spnCmAttend").text(d.attendcut);
$("#spnCmFinal").text(d.finalcut); $("#spnCmFinal").text(d.finalcut);
$("#spnCmSubject").text(d.subjectcut); $("#spnCmSubject").text(d.subjectcut);
if (d.username != null && d.username != "" && d.username != undefined) {
$("#spnCmUsername").text(d.username); $("#spnCmUsername").text(d.username);
$(".spnCmUsername").show();
}
if (d.introhtml != null && d.introhtml != "" && d.introhtml != undefined) { if (d.introhtml != null && d.introhtml != "" && d.introhtml != undefined) {
$("#spnCmIntroHtml").html(d.introhtml); $("#spnCmIntroHtml").html(d.introhtml);
//$("#spnCmIntroHtml").text($('<div/>').html(d.introhtml).text()); $(".spnCmIntroHtml").show();
}
if (d.targethtml != null && d.targethtml != "" && d.targethtml != undefined) {
$("#spnCmTargetHtml").html(d.targethtml);
$(".spnCmTargetHtml").show();
}
if (d.goalhtml != null && d.goalhtml != "" && d.goalhtml != undefined) {
$("#spnCmGoalHtml").html(d.introhtml);
$(".spnCmGoalHtml").show();
}
if (d.contenthtml != null && d.contenthtml != "" && d.contenthtml != undefined) {
$("#spnCmContentHtml").html(d.introhtml);
$(".spnCmContentHtml").show();
} }
}); });
} }